The structure that allows a choice among several options is called:
Correct answer
B. Selection
10 views
B. Selection
10 views
Selection structures (if, if-else, switch) let the program choose between alternatives based on a condition. Sequence is straight-line execution, and loops repeat. This is a fundamental programming concept.
Asked in: Matric,FBISE
Not sure why the answer is B? Ask here and get an explanation.