Sovi.AI - AI Math Tutor

Scan to solve math questions

QUESTION IMAGE

what is it called when a programmer includes a step in an algorithm tha…

Question

what is it called when a programmer includes a step in an algorithm that lets the computer decide which group of steps to perform?
a. sequencing
b. selection
c. iteration
d. storage

Explanation:

Brief Explanations

In programming and algorithm design, "Selection" refers to a control structure where the computer decides which group of steps to execute based on a condition. Sequencing is executing steps in order, Iteration is repeating steps, and Storage is about data retention, none of which match the described concept.

Answer:

B. Selection