1 |
The keyword 'break' cannot be used within: |
- A. Do-while
- B. If-else
- C. For
- D. While
|
2 |
This statement may be used to stop a loop's current iteration and begin once: |
- A. Continue
- B. Break
- C. Terminate
- D. Next
|
3 |
Repetition structure is used to execute a statement or set of statement |
- A. Once
- B. More than one time
- C. Skip statement
- D. All
|
4 |
Which of the following loop is available in C language? |
- A. While
- B. Do-while
- C. For
- D. All
|
5 |
In a for statement, this expression is executed only once: |
- A. Test
- B. Validation
- C. Initialization
- D. All
|
6 |
Redundancy means |
- A. Duplication
- B. No-duplication
- C. Standards
- D. Microsoft office integration
|
7 |
This statement causes a loop to terminate early? |
- A. Break
- B. Terminate
- C. Exit
- D. A and B
|
8 |
The loop which never ends is called: |
- A. Infinite loop
- B. Running loop
- C. Continuous loop
- D. Nested loop
|
9 |
A for statement contains three expressions: Initialization, test and: |
- A. Assignment
- B. Validation
- C. Increment / decrement
- D. All
|
10 |
A special value that marks the end of a list of input data is called: |
- A. Terminal value
- B. Sentinel Value
- C. Loop control value
- D. Input value
|