Conditional statements are also known as ___ statements

21. Conditional statements are also known as ___ statements.

  1. Decision-making
  2. Array
  3. List
  4. 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.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.