Beruflich Dokumente
Kultur Dokumente
/q
p:/
htt
CS/B.TECH(NEW)/SEM-2/CS-201/2013
2013
Full Marks : 70
pap
wb
er.
GROUP A
i)
10
1 = 10
in
a c.
ut .
2266
a)
b)
func ( array ) ;
c)
func ( * array ) ;
d)
[ Turn over
CS/B.TECH(NEW)/SEM-2/CS-201/2013
ii)
/q
p:/
htt
double k = 0;
for ( k = 0.0; k < 3.0; k ++ );
printf ( "% f", k );
4.000000
c)
3.000000
d)
none of these.
8 bytes
b)
4 bytes
c)
2 bytes
d)
6 bytes.
The
Hexadecimal
equivalent
( 101101010010 ) 2 is
a)
A53
b)
A52
c)
B52
d)
C62.
of
the
number
in
a c.
ut .
2266
b)
wb
er.
iv)
2.000000
pap
iii)
a)
CS/B.TECH(NEW)/SEM-2/CS-201/2013
v)
/q
p:/
htt
vi)
a)
b)
c)
d)
10.
b)
Structure
c)
Char
d)
All of these.
wb
er.
pap
vii)
a)
1 byte
b)
8 bytes
c)
2 bytes
d)
4 bytes.
operator ?
2266
a)
&&
b)
if
c)
<=
d)
?.
3
in
a c.
ut .
[ Turn over
CS/B.TECH(NEW)/SEM-2/CS-201/2013
ix)
/q
p:/
htt
x)
a)
1000
b)
1011
c)
1001
d)
1111.
pap
int i = 1;
b)
133
c)
314
d)
111.
wb
er.
a)
GROUP B
b)
3.
5 = 15
in
a c.
ut .
2.
2266
CS/B.TECH(NEW)/SEM-2/CS-201/2013
4.
/q
p:/
htt
recursive way.
5.
6.
a)
b)
a)
pap
b)
2+2
wb
er.
i)
11010 1101
ii)
10010 10011.
GROUP C
7.
a)
2266
15 = 45
b)
in
a c.
ut .
[ Turn over
CS/B.TECH(NEW)/SEM-2/CS-201/2013
8.
a)
/q
p:/
htt
b)
c)
9.
i)
ii)
iii)
pap
d)
example.
wb
er.
in
a c.
ut .
Simplify ( A + B ) . ( A. C ) + ( A. B + A . C ). ( A + B )
6+4+2+3
2266
CS/B.TECH(NEW)/SEM-2/CS-201/2013
11. Write short notes on any three of the following :
/q
p:/
htt
i)
Relational Operators
ii)
Array of Pointers
iii)
Macro
iv)
v)
XOR gate.
wb
er.
pap
7
in
a c.
ut .
2266
[ Turn over