|
|
Page | 9/57 | Date | 09.01.2017 | Size | 9.46 Mb. | | #8172 |
| Q.52 What symbol is used to represent output in a flowchart? (a)Square (b)Circle (c)Parallelogram Q.53 What is the standard terminal symbol for flowchart?
(d)Triangle
(a)Circle (b)Parallelogram (c)Diamond (d)Square
Q.54 The following pseudo code is an example of structure:
Get number
While number is positive
Add to sum
(a)Sequence (b)Decision (c)Loop
Q.55 The following pseudo code is an example of structure:
Get number
Get another number
If first number is greater than second then
Print first number
Else
print second number
(d)Nested
(a)Sequence (b)Decision (c)Loop (d)Nested
Q.56The following pseudo code is an example of structure:
Get number
Get another number
Multiply numbers
Print result
(a)Sequence (b)Decision (c)Loop (d)Nested
Q.57structured program can be easily broken down into routines or _that can be assigned to any
number of programmers
(a)Segments (b)Modules (c)Units (d)Sequences
Q.58 In a case structure of the loop, the loop body continues to execute as long as the answer to the
controlling question is yes, or true.
(a)Else (b)Then (c)Default (d)Loop
Q.59 In which of the following loop ,the loop body continues to executes as long as the answer to the
controlling question is yes, or true.
(a)do-then (b)do-when (c)do-until (d)do-while
Q.60 Which of the following statement cause program control to end up almost anywhere in the program?
(a)go to (b)for (c)while (d)do while
Q.61 Which of the following statement allows us to make a decision from the number of choices?
(a)break (b)Switch (c)for (d)go to
Q.62 Which of the following keyword is followed by an integer or character constant?
(a)switch (b)case (c)for (d)void
Q.63 Which of the following enhances the versatility of the computer to perform a set of instructions
repeatedly?
(a)Function (b)Loop (c)header files (d)statement Q 64 Which of the following contains parenthesis after the „while‟ loop? (a)Condition (b)statement (c)count (d)value
Q 65 The condition being tested within the loop may be relational or relational or logical operations
(a)while (b)switch (c)break (d)continue
Q.66 Which of the following loop uses three things initialization, condition to terminate loop and increasing the value of loop counter?
(a)for (b)while (c)goto (d)switch
Q.67 The three things inside the for loop are separated by
(a)colon (b)comma (c)semicolon
Q 68 Which of the following statement associated with an „if‟?
(d)hyphen
(a)switch (b)goto (c)break (d)do while
Q 69 „do while‟ loop is useful when we want that statement within the loop must be executed
(a)Only Once (b)At least Once (c)More than once (d)None of above
Q.70 Which of the following statement allows the programmer to make the control to the beginning of the
loop ,without executing the statement inside the loop?
(a)while (b)continue (c)go to (d)if
Q.71 Which of the following can be replaced by if
(a)switch (b)while (c)continue (d)for
Q.72 Which of the following statement is useful while writing menu driven programs
(a)while (b)break (c)switch (d)if
Q.73 Which of the following is self contained block of statements that perform a coherent task of some kind?
(a)function (b)loop (c)statement (d)body of program
Q 74 The function gets called when the function name is followed by
(a)colon (b)semicolon (c)statement (c)braket
Q.75 The mechanism used to convey information to the function is the
(a)Argument
ANSWER KEY :
(b)commands (c)loops (d)statements
-
QUE NO
|
ANS
|
QUE NO
|
ANS
|
QUE NO
|
ANS
|
QUE NO
|
ANS
|
QUE NO
|
ANS
|
1
|
B
|
16
|
C
|
31
|
C
|
46
|
D
|
61
|
B
|
2
|
A
|
17
|
A
|
32
|
C
|
47
|
B
|
62
|
B
|
3
|
A
|
18
|
B
|
33
|
B
|
48
|
C
|
63
|
B
|
4
|
A
|
19
|
A
|
34
|
A
|
49
|
A
|
64
|
A
|
5
|
A
|
20
|
B
|
35
|
A
|
50
|
A
|
65
|
A
|
6
|
D
|
21
|
C
|
36
|
C
|
51
|
D
|
66
|
A
|
7
|
A
|
22
|
B
|
37
|
B
|
52
|
C
|
67
|
C
|
8
|
A
|
23
|
D
|
38
|
A
|
53
|
A
|
68
|
C
|
9
|
A
|
24
|
D
|
39
|
A
|
54
|
C
|
69
|
B
|
Share with your friends: |
The database is protected by copyright ©ininet.org 2024
send message
|
|