Professional Documents
Culture Documents
Computing At"Ll) Il/'Fort'/-Latics: Tjme: Three. Hours
Computing At"Ll) Il/'Fort'/-Latics: Tjme: Three. Hours
Computing At"Ll) Il/'Fort'/-Latics: Tjme: Three. Hours
Figures C!n the right -hand side margin ilIdica.te full marks.
Group A
( Tum Over)
(C) R~ad 10 pairs of integers and create the corres-
ponding ten co-ordinate points. 5
t'
IJ ( b) What is a relational database managementsystem? 6
I~
i
~~ (c) Why data in an RDBMS needs to be normalized? 7
(c) Write the truth table of a I-bit adder ,and draw the
logic gate desilm of the I-bit adder. .
~ I
6
( b) abstraction
( c) encapsulation
(d) inheritance
( b) method overloading
( c) virtual method
( a) private
( b) public
( c) protected
main() {
int i;
for (i = 0; i < 10 ;)
printf("loop count=%d\n", i) ;
}
S'09:2FN:AN203/AD303(1403) ( 4 ) ( Continued)
L,
I
(a) 9
(b) 10
(c) 11 ,
~ .
I "
(d) intinite number qf times
(a) 5 ~
"
( b) -5 t,."
i:
f
(e) 10 ".
Ii"
I
(d) -10 t-
~
( vi) What are the typical capacities of (j) main memory, ~
f
t
and (jj) hard disk of a modern PC?
t,
( a) 1 Gb and 150 Gb
( b) 1 MB and 20 Mb
(vii) Whatwouldbetheoutputofthefollowingprogram:
main () {
printf ("Expression values= %d %d\It",
5/2*2,6/2*2) ;
}
S'09: 2 FN: AN 203/AD303 (1403) ( 5 ) ( Tum Over)
(a) 1,1
( b) 6,6
(c) 5,6
(d) 4,6
( b) 4950
(c) 5049
4' ,
,
" (d) 5051
,4-
',~
,,
(jx) What is the binary representationof 0'125?
, ( a) 0.11
\ ~ :
t: !
( b) 0.01 '
.'. ( c) 0-001
(d) 0.011
I;.
1.-:'-.,"
(c) set of variables to which the given variable can
be meaningfullyassigned.