Home »
MCQs »
Python MCQs
Conditional statements are also known as ___ statements
21. Conditional statements are also known as ___ statements.
- Decision-making
- Array
- List
- None of the mentioned above
Answer: A) Decision-making
Explanation:
Conditional statements, also known as decision-making statements, are used to make decisions. In programming, we want to be able to control the flow of execution of our program, and we want to be able to execute a specific set of statements only if a specific condition is met, and a different set of statements only if the condition is not met. As a result, we use conditional statements to determine whether or not a specific block of code should be executed based on a given condition.