Placement Papers - CMC

CMC Ltd.
CMC - Paper Pattern
Posted by :
M.suganthi
(18)
CMC Placement Paper
 
1. Unix OS is a
 a) multi-taks
 b) mutual task
 c)multiple processe
 d)a&c

 2 The TV Satilite Transmission is a
 a) Half-Duplex b) Full Duplex c) one-way duplex d)non of the above

 3 Which among is the OOPL
 a) c
 b) java
 c) Cobol
 d) PAscal

 4 what will be the output of
 main()
{
int a=5,c;
int ptr;
ptr=&a;
c=*ptr * a;
printf("%d,%d",c,a);
}
a) 5,5
 b)25,25
 c) 25,5
 d) Error

 5 What can a Friend Keywoard do?
 a) Free the memory
b) provide access to private & public variables
c) provide access to Private ,Protected, public variables.
d) never allowed to acccess any constructor

 6. Abstract Class can be
 a) Accessed as Constructors
b) used for hiding information of class
c) class is Abstract class
d) none of the above

 7. The present LAn-card Supports
 a)32kbphs
 b) 64kbphs
 c)128kbphs
 d) 256kbphs

8. What is CDMA Technology ?
a) Electronic calculator
b) Cellular phones
c) Rocket
d) Car

 9. What is GC in JAVA?
 a) De-allocates the memory
b) De-allocates the objects & its reference
c) Finalising of Memory
d) non-of the above

 10 which among is thread class?
 a) sleep()
b) IsAliva()
c) IsLive()
d) none of the above


 11) main()
{
int x=10,y=5,p,q;
p=x>9;
q=x>3&&y!=3;
printf("p=%d q=%d",p,q);
}ans:1,1.

 12. main()
{
int x=11,y=6,z;
z=x==5 || !=4;
printf("z=%d",z);
}ans:1



  13) main()
{
int c=0,d=5,e=10,a;
a=c>1?d>1||e>1?100:200:300;
printf("a=%d",a);
}ans:300

 14) main()
{
int i=-5,j=-2;
junk(i,&j);
printf("i=%d,j=%d",i,j);
}
junk(i,j)
int i,*j
{
i=i*i;
*j=*j**j;
}
ans:-5,4;

 15. #define NO
#define YES
main()
{
int i=5,j;
if(i>5)
j=YES;
else
j=NO;
printf("%d",j);
}
ans:Error message

 16. main()
{
int a=0xff;
if(a<<4>>12)
printf("leftist)
else
printf("rightist")
}
ans:rightist

 17. main()
{
int i=+1;
while(~i)
printf("vicious circles")
}
ans:continuous loop.