1 |
______ are used to move around the window if its contents do not fit on screen |
- A. menu bar
- B. Tool bar
- C. Scroll bar
- D. Status bar
|
2 |
The loop structure in which condition comes after the body of the loop is |
- A. While
- B. Do-while
- C. For
- D. All
|
3 |
Which of the following statement can be used in C |
- A. While
- B. For
- C. Do while
- D. All
|
4 |
When is while loop more appropriate then for loop? |
- A. The terminating condition occurs unexpectedly
- B. The body of loop will be executed at least once
- C. The program will be executed at least once
- D. The number times the loop will be executed is known before the loop executes
|
5 |
Repetition structure is used to execute a statement or set of statement |
- A. Once
- B. More than one time
- C. Skip statement
- D. All
|
6 |
Semicolon is placed at the end of condition in: |
- A. While loop
- B. Do-while loop
- C. For loop
- D. All
|
7 |
What is the final value of x after executing the following code:<div>For (int x=0; x<10; X++)</div> |
|
8 |
Redundancy means |
- A. Duplication
- B. No-duplication
- C. Standards
- D. Microsoft office integration
|
9 |
What is the value of "a" after the execution of the following code?<div>int a 25;</div><div>for(int c=0; c<4;c++)</div><div>a=a-1;</div><div>a=1+3;</div> |
|
10 |
Which statement is used to move the control to the start of loop body? |
- A. Continue
- B. Break
- C. Switch
- D. Goto
|