some sample "c" question from the paper:
1) a null statement is a null ponter
a)t b)f
2)any fn written in c will return a value
a)t b)f
3) what is the o/p assuming
a=3 b=4 c=5
a*=b+c;
a) 26 b)17 c) 27 d)60
4)to print a "%" char in printf string using
a) % b) %+ c) %% d) none
5) identify "c" keyword
a) volatile b) default c)auto d)none
6)does *p++ increment p?
a)y b)n
7)can c perform arithmetic on a void * pointer
8)const char *p & char *const p
are same
a)t b)f
9)to read one char at a time without waiting for
RETURN
key use
a)gets() b)fgetc c)getch() d)cannot read
10)char str1[]="hello";
char str2[]="hello";
the conditional string test (str1==str2)
returns FALSE
a)t b)f
11) i had defined char a[6] in one source file and
in
another exten char *a will it work
a)t b)f
12) char strbuf[]="hello ";
char *strptr="world ";
strbuf="world "; // _expression A
strptr="hello"; //_expression B
a) A invalid b) B invalid c)both valid d)both
invalid
13)for(loop='A';loop<='z';loop++)
printf("%c",loop);
above code will print
a) A and Z b)A to Z c)error d)A to z char
14)o/p of program
int a=100;
main()
{
int a=10;
{
int a=1;
}
printf("%d",a);
a)100 b)10 c)1 d)unpredictable
15)int i;
char *str4="123four";
i=atoi(str4);
above statement will return
a)123four
b)123 c)1234 d)0
verbal reasoning :9
non verbal reasoning :5
logical reasoning:1
quantative reasoning :15
1)FORMULA:CONSTITUENT
a) verdict:sentence
b)rocket:pilot
c)carburettor:mixture
d)binomial:monocular
e)equation:term
2)A drove her car 30 km north turned left again and
drove 40km.
she then turned left and drove for 30 km .again she
turned left and
drove for 50 km .
how faris she from initial position?
a)10 b)50 c)30 d) none
verbal ability(similar meaning)
3)FINAL( )ULTIMATE
a)last b)finish c)end d)dead
4)BEAKER( ) CHALICE
a)jug b)mug c)cup d)tube
5)SHAPE( ) FORM
A)appear b) design c) class d) group
No comments:
Post a Comment