The commonest construct for a one-way branch in most languages is the:
AWhile loop
BCase label
CFor loop
DIf statement
Answer & Solution
Correct answer: D. If statement
1. Only one path is guarded.
2. The condition decides.
3. It is the if statement.
_Source: OpenStax Introduction to Computer Science, Chapter 7, High-Level Programming Languages._
Keep practising Programming Languages
Browse all Programming Languages questions for Computer Science — Uganda, or explore more Computer Science topics.