CPP Control Structures MCQ
Cpp MCQ- Home
- Tutorials
- Cpp
- Control Structures
- Multiple Choice Question
(1) In selection and repetition control structures conditions refers to _____________ expression.
A) Aritmatic
B) Relational
C) Assignment
D) None of These
Explanation
Condition refers to relational expression. A relational expression do a comparison in operands and always return true or false.
(2) In which type of control structure no statement is skipped and no one is repeated ?
A) Sequence
B) Selection
C) Repetition
D) All
Explanation
In sequence control structure all statements are executed in the same order in which these are written. No statement is executed more than once and no one is repeated.
(3) Which of following control structure is used to repeat statement or set of statements.
A) Sequence
B) Selection
C) Repetition
D) Duplicate
Explanation
Repetition control structure is also known as loop structure. This is used to repeat execution of statements.