CS 201 1 PDF
CS 201 1 PDF
htt
Roll No. : ……………………………………………..…………..
Invigilator's Signature : ………………………………………..
CS/B.TECH(NEW)/SEM-2/CS-201/2013
p:/
2013
BASIC COMPUTATION AND PRINCIPLES OF
COMPUTER PROGRAMMING
/q
Time Allotted : 3 Hours Full Marks : 70
pap
The figures in the margin indicate full marks.
Candidates are required to give their answers in their own words
as far as practicable.
er.
GROUP – A
( Multiple Choice Type Questions )
10 1 = 10
b) func ( array ) ;
c) func ( * array ) ;
void main ( )
{
p:/
double k = 0;
a) 8 bytes
b) 4 bytes
wb
c) 2 bytes
d) 6 bytes.
( 101101010010 ) 2 is
a) A53
a c.
b) A52
c) B52
d) C62.
in
2266 2
CS/B.TECH(NEW)/SEM-2/CS-201/2013
b) 0
c) 1
p:/
d) 10.
a) String
pap
b) Structure
c) Char
d) All of these.
er.
a) 1 byte
b) 8 bytes
wb
c) 2 bytes
d) 4 bytes.
operator ?
a) &&
a c.
b) if
c) <=
d) ?.
in
b) 1011
c) 1001
p:/
d) 1111.
int i = 1;
pap
a) 331
b) 133
er.
c) 314
d) 111.
wb
GROUP – B
( Short Answer Type Questions )
Answer any three of the following. 3 5 = 15
ut .
1 + 2 2 / 2! + 3 3 / 3! + ....
in
2266 4
CS/B.TECH(NEW)/SEM-2/CS-201/2013
3
/q
6. a) What are the advantages of 2's complement over 1's
complement ? 1
pap
respectively : 2+2
er.
i) 11010 – 1101
GROUP – C
( Long Answer Type Questions )
Answer any three of the following. 3 15 = 45
ut .
2+2+2+5+4
universal gate ?
– – – ——
Simplify ( A + B ) . ( A. C ) + ( A. B + A . C ). ( A + B )
in
6+4+2+3
2266 6
CS/B.TECH(NEW)/SEM-2/CS-201/2013