Professional Documents
Culture Documents
Roll No. : ..
Invigilators Signature : ..
CS/B.Tech (NEW)/SEM-2/CS-201/2011
2011
BASIC COMPUTATION AND PRINCIPLES OF
COMPUTER PROGRAMMING
Time Allotted : 3 Hours Full Marks : 70
om
The figures in the margin indicate full marks
Candidates are required to give their answers in their own words
as far as practicable.
t.c
GROUP A
( Multiple Choice Type Questions )
bu
d) none of these.
ii) Pointer is
b) a value
c) a memory location
d) none of these.
d) none of these.
om
iv) Which of the following is not used as secondary
storage ?
t.c
a) Semiconductor memory
b) Magnetic discs
bu
c) Magnetic drums
yw
d) Magnetic tapes.
a) semiconductor memory
b) registers
c) hard disc
d) magnetic disc.
2173 2
CS/B.Tech (NEW)/SEM-2/CS-201/2011
a) Index register
b) Instruction register
om
vii) A 32 bit microprocessor has the word length equal to
a) 2 bytes b) 4 bytes
c) 1 byte d) 8 bytes.
t.c
viii) The union holds
bu
variables is
a) 0 b) 1
c) 2 d) indeterminate.
x) Language C uses
GROUP B
( Short Answer Type Questions )
Answer any three of the following. 3 5 = 15
om
that of C2 . Is it possible to convert the language of a
particular level into another language of other level ? If so,
how ? If no, why ? 3+2
t.c
4. Write a program in C to compu e the average of a few input
quantities with minimum use of storage variables, where the
bu
2173 4
CS/B.Tech (NEW)/SEM-2/CS-201/2011
GROUP C
( Long Answer Type Questions )
Answer any three of the following. 3 15 = 45
1
b) Why is NOR gate called universal gate ? 2
2
om
c) Simplify :
( A + B )( AC ) + ( A B + A C )( A + D ) 4
t.c
d) Convert the following : 32
i) (2AD)16 = ( )2
bu
language ? 3
pointers in C language. 5
om
( ) statement ? 2+2
calloc ( ). 2
m
2173 6
CS/B.Tech (NEW)/SEM-2/CS-201/2011
iterations ? 3
om
4 4 4 4
5
t.c
c) Create a structure to specify data on students give
below :
bu
admission.
collage.