Nassi–Shneiderman (structured) charts Which statement about Nassi–Shneiderman charts is NOT true?

Difficulty: Easy

Correct Answer: These charts cannot represent CASE (multiway selection) constructs.

Explanation:


Introduction / Context:
Nassi–Shneiderman (NS) charts, also known as structured flowcharts, depict program logic using nested boxes for sequence, selection, and iteration. They enforce structured programming principles by construction.



Given Data / Assumptions:

  • NS charts are indeed graphical design tools.
  • They support sequence, selection (including multiway), and iteration.
  • CASE constructs are a form of multiway selection.


Concept / Approach:

In NS charts, selection is represented using branched boxes; multiway (CASE) selection can be drawn as stacked alternatives within the selection construct. Therefore the claim that they cannot represent CASE constructs is false, making it the “NOT true” statement to select.



Step-by-Step Solution:

Confirm that NS charts are graphical design tools (true).Confirm that NS charts support sequence, selection, and iteration (true).Evaluate the statement about CASE: NS charts can represent multiway branches (so the statement is false).Pick the “NOT true” statement: option b.


Verification / Alternative check:

Standard software engineering texts provide NS chart templates for IF, WHILE, REPEAT, and CASE; this directly contradicts option b.



Why Other Options Are Wrong:

a: Correct—NS charts are a structured design tool. c: Correct—NS charts represent sequence, selection, iteration. d: Can’t be right because a and c are true while b is not.



Common Pitfalls:

Confusing classic flowcharts (with arbitrary jumps) with NS charts (structured, no arbitrary flow lines).



Final Answer:

These charts cannot represent CASE (multiway selection) constructs.

Discussion & Comments

No comments yet. Be the first to comment!
Join Discussion