MCQ’s
Chapter 3 – Conditional Logic

Conditional Logic – MCQ’s

Choose the correct answer

1. Which of the following helps to determine the flow of a program?
a. Control structure b. Data structure
c. Data control d. Program control

2. How many types of control statements are available in programming?
a. One b. Two c. Three d. Four

3. Which control structure in C executes the statements in order?
a. Sequential b. Repetition c. Selection d. Relation

4. Which control structure in C executes a statement or set of statements on the basis of condition?
a. Sequential b. Repetition c. Selection d. Relation

» View More

5. Which control structure in C repeats a set of statements for a number of times?
a. Sequential b. Repetition c. Selection d. Relation

6. All of the following are control statements except:
a. Sequential b. Repetition c. Selection d. Relation

7. Which of the following is the default control structure in C language?
a. Sequential b. Repetition c. Selection d. Relation

8. Which of the following is not a selection statement?
a. if b. if-else c. switch d. for

9. Which of the following is used for making two way decisions?
a. if-else b. if c. nested if d. switch

10. In if statement, the condition is written within these symbols:
a. ( )
b. { }
c. [ ] d. << <<

11. The statements to be executed if the condition is false are written in the body of:
a. if statement b. else statement
c. case statement d. break statement

12. A set of multiple instructions enclosed in curly braces is called:
a. Compound Statement b. Nested Statement
c. Dual Statement d. Complex Statement

13. Which of the following is best suited if you need to make a decision based on multiple choices?

a. If b. if-else c. if-else-if d. for

14. A selection statement within a selection statement is called _______ selection structures:

a. Nested b. Dual c. infinite d. Complex

Answers

1. a 2. c 3. a 4. c 5. b
6. d 7. a 8. d 9. a 10. a
11. b 12. a 13. c 14. A

» View Less

Useful? Share with your friends.

Leave a Reply