

MCQOPTIONS
Saved Bookmarks
This section includes 8 Mcqs, each offering curated multiple-choice questions to sharpen your Basic C knowledge and support exam preparation. Choose a topic below to get started.
1. |
What value is stored in the intNum variable when the loop ends? |
A. | 0 |
B. | 1 |
C. | 2 |
D. | 3View Answer |
Answer» B. 1 | |
2. |
_______________ in flowchart is used to represent a for clause. |
A. | Circle |
B. | Rectangle |
C. | Parallelogram |
D. | Hexagon |
Answer» E. | |
3. |
____________ is the process of adding a number to the value stored in a value. |
A. | Counting |
B. | Updating |
C. | Accumulating |
D. | Decrementing |
Answer» C. Accumulating | |
4. |
What value is stored in the count variable when the loop ends? |
A. | 10 |
B. | 9 |
C. | 8 |
D. | 7View Answer |
Answer» B. 9 | |
5. |
What value is stored in the intCount variable when the loop ends? |
A. | 10 |
B. | 11 |
C. | 12 |
D. | 13View Answer |
Answer» D. 13View Answer | |
6. |
How many times will the MessageBox.Show method in the following code be processed? |
A. | 3 |
B. | 4 |
C. | 5 |
D. | 8View Answer |
Answer» C. 5 | |
7. |
____________________ is a counter-controlled loop. |
A. | For..next loop |
B. | Do..while loop |
C. | While loop |
D. | If statement |
Answer» B. Do..while loop | |
8. |
A ____________ loop is a loop whose processing is controlled by a counter. |
A. | Counter-controlled |
B. | Entry-controlled |
C. | Exit-controlled |
D. | Accumulator-controlled |
Answer» B. Entry-controlled | |