MCQ
Time 30 minute
1. What is the output of the above flow chart?
1)
5 8
2)
8 5
3)
40 8
4)
8 40
5)
40 5
2.
What is the pseudo-code that matches the flow chart
above?
1)
|
2)
|
3)
|
|||
4)
|
5)
|
|
1)
Ans
2)
6
3)
10
4)
10.0
5) 20
4.
What is the pseudo-code that the flow chart above
represents?
1)
|
2)
|
3)
|
|||
4)
|
5)
|
|
5.
If -5 is
given as input to the following pseudo code, what is the output?
Begin
Enter X
If X=0 then
Y=0
Else if X>0 then
Y=X+1
Else
Y=X-1
End if
Endif
Print Y
End.
1)
0
2)
-4
3)
4
4)
-5
5)
-6
consider the flow chart below.
6. If 19 is given as input to the above flow chart, what is the output?
1) blue
2)
red
3)
green
4)
This is
not a correct color option
5)
Please type in a number
7.
7 What is the
pseudo-code that matches the flow chart above?
1)
|
2)
|
||
3)
|
4)
|
||
5)
|
|
8.
What
is the output of the following flow chart?
2)
2) 9
3) 3) 21
4) 4) 1 3 5 7 9
5) 5) 3 9 15 21
9. 9.
What is the pseudo-code that matches the flow chart
above?
1)
|
2)
|
||
3)
|
4)
|
||
5)
|
|
10.
consider the following flow chart.
What is the pseudo-code that matches the flow chart above?
A.
|
B.
|
C.
|
1)
A only
2)
B only
3)
C only
4)
A and
B only
5)
A and
C only
0 Comments