Just one ________ statement allows several alternative paths of execution

  1. If statements

  2. Evaluate

  3. Perform statement

  4. Copy statement


Correct Option: B

AI Explanation

To answer this question, you need to understand the concept of controlling the flow of execution in a program.

Option A) If statements - This option is incorrect because if statements allow for conditional execution of a block of code based on a condition. However, they do not inherently allow for multiple alternative paths of execution.

Option B) Evaluate - This option is correct because the evaluate statement is commonly used in programming languages to determine the result of a condition and then choose one of several alternative paths of execution based on that result. It allows for branching and multiple alternative paths.

Option C) Perform statement - This option is incorrect because the perform statement is typically used for invoking a sequence of instructions or a subroutine, but it does not inherently allow for multiple alternative paths of execution.

Option D) Copy statement - This option is incorrect because the copy statement is used for copying data from one location to another, but it does not inherently allow for multiple alternative paths of execution.

The correct answer is B) Evaluate. This option is correct because the evaluate statement is used to evaluate a condition and then choose one of several alternative paths of execution based on that condition.

Find more quizzes: