CDAC Placement Paper.
Section A
1. What is the output
of
main()
{
int a=3,b=5,c=50;
a=b==c;
printf("a-%d\n",a);
}
Ans: a=0
2. What is the output
of
main()
{
int x=4;
x<<1;
printf("%d",x)
}
Ans: 8
3.Arrays are preffered
over link list while?
Ans: Accessing
elements.
4. The getch() library
function returns:
Ans: ans Displays a
character on the screen when any key is pressed.
Section B
1. Consider the
boolean expression x'yz'+x'y'z+x(y+z) and give its POS.
Ans: NA
2. The logic
Expression Y=Em(0,3,6,7,10,12,15) is equivalent to.
Ans: NA
3. The number of 43 in
2's complement is
Ans: 00101011
4. The process to
process delivery of the entire message is the responsibilty of___________
Ans: Transport Layer
5. The IP is
____________ protocol
Ans: Reliable and
connection oriented
6. The ____________
sub layer is responsible for the operation of CSMA/CD access method in
framing
Ans: MAC
7. Gigabit ethernet
has a data rate of _________ Mbps
Ans: NA
Section C
Analogies:
1. Mansard: Roof::
Ans: Dormer: window
2. Curatot:painting::
Ans:
Archvist:manuscript
Antonyms:
1. Motile
Ans: NA
2. Forge



