1 |
The keyword 'break' cannot be used within: |
- A. Do-while
- B. If-else
- C. For
- D. While
|
2 |
The keyword used to come out of the body of loop is |
- A. Exit
- B. Continue
- C. Break
- D. Ebd
|
3 |
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
|
4 |
This means to increase a value by one: |
- A. Modulus
- B. Increment
- C. Decrement
- D. Inc
|
5 |
A for statement contains three expressions: Initialization, test and: |
- A. Assignment
- B. Validation
- C. Increment / decrement
- D. All
|
6 |
The body of for loop with single statement ends with: |
- A. Right bracket ]
- B. Right brace }
- C. Comma ,
- D. Semi colon ;
|
7 |
A ________ is used to perform the same sequence of steps or automating tasks repeatedly |
- A. Macro
- B. Module
- C. Forms
- D. Reports
|
8 |
The loop which never ends is called: |
- A. Infinite loop
- B. Running loop
- C. Continuous loop
- D. Nested loop
|
9 |
________ contains icon button that are shortcuts to the commands in the menu |
- A. Menu bar
- B. Tool bars
- C. Scroll bar
- D. Status bar
|
10 |
This statement causes a loop to terminate early? |
- A. Break
- B. Terminate
- C. Exit
- D. A and B
|