Design Description Tools and Techniques: Concepts, Worked Example and Exam Traps

Learn which design description tool answers which question, then trace one requirement consistently through logic, rules, paths and module views.

KnowledgeGate Team

Exam prep & CS education

Updated 1 Dec 20266 min read
Design Description Tools and Techniques: Concepts, Worked Example and Exam Traps

Knowing the names flowchart, decision table, decision tree, structured English and structure chart is not enough. The difficult part is deciding which artefact answers which design question without changing the requirement between views. One result-processing module uses the same thresholds and records in each artefact. The design method translates a requirement, traces an output and rejects traps that mix data flow, control flow and module hierarchy. That consistency also makes independently drawn artefacts traceable to the original requirement.

What each design description tool is meant to show

Start with purpose. Structured English makes business logic readable; pseudocode makes control precise. Decision tables expose condition-action combinations, trees expose test order, and flowcharts show execution flow. Structure charts show modules and interfaces. HIPO adds an input-process-output summary.

Question to answer

Best-fit tool

Reason

Are all rule combinations covered?

Decision table

It exposes missing or duplicate rules.

What is the ordered diagnostic path?

Decision tree

It makes test order and outcomes visible.

What are the steps and loops?

Flowchart or pseudocode

Both express control sequence.

Which module owns a responsibility or call?

Structure chart

It shows decomposition and interfaces.

What are the high-level input, process and output?

HIPO

It summarises the system view compactly.

A DFD models data movement and transformations; a flowchart models execution order. Several views can describe one module if their values and outcomes stay consistent.

Fix one requirement and three test records first

Define ResultStatus with inputs submitted (Yes or No), theoryScore (0 to 100) and labTasksDone (0 to 10). If submitted = No, return INCOMPLETE and ignore the other values. Otherwise, theoryPass means theoryScore >= 60, and labPass means labTasksDone >= 8. Return CERTIFIED if both pass, REASSESS if exactly one passes, and NOT_READY if neither passes.

Keep three records fixed:

  • A is (Yes, 68, 7): theory passes, lab does not, so the result is REASSESS.

  • B is (Yes, 72, 9): both pass, so the result is CERTIFIED.

  • C is (No, 85, 10): the result is INCOMPLETE without evaluating either threshold.

A exercises exactly one pass, B both passes, and C the early exit. They do not cover every rule, but they provide stable checkpoints for comparing the artefacts.

Record C tests precedence most directly. Its values look as if they pass both thresholds, but the submission check controls whether those thresholds matter at all. Checking the attractive scores first would silently change the requirement and turn an incomplete record into a certified one.

Translate the prose into structured English and pseudocode

Structured English keeps the vocabulary close to the requirement:

Code
IF submission is absent THEN mark INCOMPLETE
ELSE IF theory and lab both pass THEN mark CERTIFIED
ELSE IF exactly one passes THEN mark REASSESS
ELSE mark NOT_READY

Pseudocode removes more implementation ambiguity:

Code
classifyResult(submitted, theoryScore, labTasksDone)
    IF submitted = No RETURN INCOMPLETE
    theoryPass <- theoryScore >= 60
    labPass <- labTasksDone >= 8
    IF theoryPass AND labPass RETURN CERTIFIED
    IF theoryPass XOR labPass RETURN REASSESS
    RETURN NOT_READY

XOR means exactly one condition is true. Dry-run A line by line. submitted = Yes, so the early return is skipped. The assignment 68 >= 60 makes theoryPass true. The assignment 7 >= 8 makes labPass false. Then true AND false fails, while true XOR false succeeds, so the function returns REASSESS.

The first return must stay before the pass-flag assignments. For C, submitted = No returns INCOMPLETE immediately, so 85 and 10 never influence the decision. This ordering preserves the absent-submission exception when the logic is tested. Structured English is easier for stakeholder discussion; pseudocode removes more ambiguity for an implementer.

Build the complete decision table and read the tree

The rule set is:

Conditions and actions

R1

R2

R3

R4

R5

submitted

No

Yes

Yes

Yes

Yes

theoryScore >= 60

-

Yes

Yes

No

No

labTasksDone >= 8

-

Yes

No

Yes

No

INCOMPLETE

X

CERTIFIED

X

REASSESS

X

X

NOT_READY

X

Here, - means do not care, not No. Three binary conditions suggest 2^3 = 8 raw combinations. When submitted = No, the two threshold results are irrelevant, so their 2^2 = 4 raw combinations collapse into R1. The remaining submitted cases need four rules. Therefore, 1 + 4 = 5 effective rules.

Read the columns as promises. R1 handles every unsubmitted record. R2 is both passes. R3 and R4 are the two ways exactly one condition can pass. R5 is neither passes. Each column has one outcome, and every submitted combination appears once.

The count can also be checked as 8 - 4 + 1 = 5: remove the four separate unsubmitted rows, then restore their single collapsed rule. This is why 2^n is a raw starting point, not an automatic final answer when precedence creates don't-care cells.

The equivalent tree tests submitted first. No ends at INCOMPLETE. Yes leads to theoryScore >= 60, and each theory branch then tests labTasksDone >= 8. Those four submitted leaves correspond exactly to R2 through R5. A follows Yes -> Yes -> No -> REASSESS. C follows No -> INCOMPLETE, without visiting either threshold test.

Split view of ResultStatus records and a decision tree leading to INCOMPLETE, CERTIFIED, REASSESS, and NOT_READY outcomes.

Show control flow, module hierarchy and HIPO separately

The flowchart starts by reading the three inputs. It asks submitted = No?; Yes outputs INCOMPLETE and ends. No calculates both pass flags, asks both pass?, then outputs CERTIFIED on Yes. Otherwise it asks exactly one passes?, producing REASSESS on Yes and NOT_READY on No. Every output joins End. B moves from Start to the input node with (Yes, 72, 9), takes No at submitted = No?, evaluates 72 >= 60 and 9 >= 8 as true, takes Yes at both pass?, outputs CERTIFIED, then reaches End.

A structure chart instead puts ProcessResult above ValidateSubmission, EvaluateTheory, EvaluateLab, DecideStatus and FormatResult. Its data couples are submitted, theoryScore, labTasksDone, theoryPass, labPass and status; submissionValid is a control flag. This hierarchy shows responsibilities and interfaces, not the time order of calls.

HIPO part

ResultStatus summary

Input

submitted, theoryScore, labTasksDone

Process

Validate, derive two pass flags, choose one status

Output

INCOMPLETE, CERTIFIED, REASSESS or NOT_READY

HIPO stays high-level. It does not replace table coverage or exact branching.

Flowchart for a certified result above a structure chart showing ResultStatus modules, data couples, and a control flag.

Catch notation traps with a consistency check

A decision-table dash means irrelevant, not false. A decision-tree leaf is an outcome; a structure-chart leaf is a module. A flowchart arrow shows control transfer; a DFD arrow represents data. Also, 2^n counts raw binary combinations only when conditions are treated as independent. A structure chart cannot prove that every decision-table rule is covered.

Use this four-step quality check:

  1. Confirm that every requirement outcome appears in the decision table.

  2. Confirm that every effective table rule reaches one tree leaf.

  3. Run the pseudocode and show A -> REASSESS, B -> CERTIFIED and C -> INCOMPLETE.

  4. Confirm that the structure-chart interfaces carry every value needed by the decision logic.

These are part of broader software-quality checks. More diagrams do not automatically mean better design. Consistency, completeness and traceability are what matter.

How assessments test these tools

An assessment may ask you to choose a tool, complete a table, reduce combinations with don't-care entries, trace a tree, distinguish diagram arrows, or translate prose into pseudocode.

Test yourself: Why five rules, not eight? What does A return? Why does C ignore 85 and 10? Which tool checks completeness? What can a structure chart not show? The UGC NET Computer Science guide gives the wider context.

The short version and next step

Tables check combinations, trees order choices, text and pseudocode state logic, flowcharts show control, structure charts show modules, and HIPO summarises.

Rebuild ResultStatus, then compare A, B and C. Study through NTA UGC NET Paper 2, practise with its test series, or compare the NET catalogue.