Question:easy

Which of the following best represents structured programming?

Show Hint

Structured programming is based on \[ \boxed{ \text{Sequence, Selection, Iteration, Functions and Blocks} } \]
Updated On: Jul 23, 2026
  • Using goto statements
  • Using functions and blocks
  • Writing long code
  • Avoiding loops
Show Solution

The Correct Option is B

Solution and Explanation

Step 1: Recall the goal of structured programming.
Structured programming aims to make code readable and maintainable by building it from small, well-defined pieces rather than one long unbroken block.
Step 2: See how this goal is achieved.
Breaking a program into functions and blocks, using sequence, selection, and iteration, lets each piece be understood and tested on its own.
Step 3: Rule out the other choices.
Using goto statements or writing one long stretch of code works against this readability goal, and avoiding loops altogether isn't a real programming practice.
\[ \boxed{\text{Using functions and blocks}} \]
Was this answer helpful?
0