j
À
À
× À
Sample Question Paper
1.
One skirt requires 3.75 yards of cloth. How many skirts you
can make from 45 yards?
Ans: 12 skirts
5.
One skirt requires 3.75 yards of cloth. How many skirts you
can make from 45 yards?
Ans: 12 skirts
6.
How can you make a square from two triangles?
7.
The girl's age is twice that of boy, if the boy is four years
old. After four years the age
of the girl is Ans: 12 years
20.
Two lemons cost 10 cents. Then one and a half dozen cost
Ans: 90 cents
22.
Opposite of Remote?
(a) Far (b) Near (c) Huge (d) Village
27.
× À
À
0
!
À
À
× " # "$ À
À
À
À
× ! À
À
× ! j À
À
è
!
)
À
À
× *
À
À
º &
$ !
!
À
À
{ ,
$
À
À
× À
À
- -$ .
À
À
c ,
0
00
À
À
×
0
À
À
cc 100
2
À
À
'
9+
8 À
À
+
8 À
À
c0 '
+ 5
8 À
À
× !;!À
À
c
À
À
× ! À
À
'
9+ 9
>8 À
À
+ &
>8 À
À
× 4À
À
× ;!" ";!"
15. A question based on the representation of an array in C. An array whose elements are fn
pointers which returns a character
main()
{ int i=1; switch(i)
{ case 1: printf(³\nRadioactive cats have 18 half-lives´);
break;
case 1*2+4:
printf(³\nBottle for rent -inquire within´); break; }
Ans. No error. Constant expression like 1*2+4 are acceptable in cases of a switch.
17. Point out the error, if any, in the following program main()
written in parenthesis as
follows:
18. In the following code, in which order the functions would be called?
a= f1(23,14)*f2(12/4)+f3();
a) f1, f2, f3 b) f3, f2, f1
c) The order may vary from compiler to compiler d) None of the above
19. What would be the output of the following program?
main()
{ int i=4; switch(i)
{ default:
printf(³\n A mouse is an elephant built by the Japanese´);
case 1:
printf(´ Breeding rabbits is a hair raising experience´);
break;
case 2:
printf(³\n Friction is a drag´);
break;
case 3:
printf(³\n If practice make perfect, then nobody¶s perfect´); }
a) A mouse is an elephant built by the Japanese b) Breeding rabbits is a
hare raising experience
c) All of the above d) None of the above
FLOATPTR a,b;
main()
fp points to:
24. We should not read after a write to a file without an intervening call
6 7
# 3
&6 (%
&&8('
6
&
6 #
6
&
5
-
#
( 9
#
3
(
,
# #
:
) ##
/
#$
&
;
#$
6
7
$
#<
+
+
,
# #
: # ) ##
/
,
# -
#
2 9
3
=
>?/ /%/
#6
>?#'&
4
+
&2 # #
@ 7
# 3
=
.7.AB 6(%%
&
6
(
0
2 .7.AB
@
4
C
.7.AB@&!
!
D##$
E +
# 2 @ C
C 9
# #
3
=
;FG,55
%
;FG,55 #
#
! 7
=H
1
;7FI %
+
5
# ,
5
-
#
E 9
$ H 5AI8;,F>I1
, 5
0 7
& 6 9
#
3
% JK
0H''
4 JK
+
& 6 # .BLGDIMI & 6
BL -
#
7
& 6 9
#
3
% JK
N0
0H''
NN' JK
4 N
+
& 6 # @ &6
& 7
9
#
3
% JK
"" 10
4 %''
+
#
-
#
6 7
& 3
%
&
, 7
(
/
/&!
4 /
+
, /
# O
@ 9
#
3
%
%
, -
C 9
#
3
%
%
, -
E 7
9
#
3
% JK
4 %%''
+
#
&0 7
9
#
3
% JK
4 %'' JK
+
#
& 7
9
#
3
% JK
O
4 J""O
K
+
#
&6 7
20 3
JK0 &0 60 (0 20+
%
%
+
,
4 %%'(
&( 9
3
0 %N
%$H )1 N$Q
N''
$''
44 N $
+
L # -
-
-
#
&0
+
# 5
#
#
-
#
6 G #
% 00
% 00 #
%00
,
# -
#
6& 9
3
2
4%
+
2 # 2
2