PDLC
FLOWCHARTS
PSEUDOCODE
DEBUGGING & LOGIC
ALGORITHMS & TRACING
100

What is the first stage of the Program Development Life Cycle, where the problem and requirements are understood?

Analysis

100

Which flowchart symbol represents a decision?

Diamond

100

What pseudocode instruction is used to receive data from the user?

INPUT

100

What type of error occurs when an algorithm produces the wrong result because its instructions are incorrect?

Logic error

100

If age = 20 and the condition is age >= 18, what is the output?

Adult

200

What PDLC stage involves planning the solution using flowcharts and pseudocode?

Design

200

Which flowchart symbol represents a process?

Rectangle

200

What pseudocode instruction is used to display a result?

OUTPUT

200

This algorithm should output the larger number: IF a < b THEN OUTPUT a ELSE OUTPUT b. What is wrong?

The comparison is backwards. It should use a > b or swap the outputs.

200

If age = 16 and the condition is age >= 18, what is the output?

Minor

300

What PDLC stage involves writing the program in a programming language?

Coding

300

Which flowchart symbol is used for input and output?

Parallelogram

300

Which operator means "greater than"?

>

300

Is the following pseudocode valid? input = num1

No. The assignment is backwards; it should be INPUT num1 or num1 = INPUT, depending on the pseudocode style.

300

What is the final value of total?


SET total = 0 FOR X = 1 TO 4   SET total = total + X NEXT X


10

400

What PDLC stage checks that the program works and finds errors?

Testing

400

Which flowchart symbol represents Start and Stop?

Oval / Terminator

400

Which operator means "greater than or equal to"?

>=

400

What is one feature of well-written pseudocode?

One instruction per line / clear ordered steps / use of keywords / correct comparison operators.

400

In the same loop, what is the value of total after X = 3?

6

500

Put these four PDLC stages in the correct order: Coding, Testing, Analysis, Design.

Analysis → Design → Coding → Testing

500

In a flowchart, what do the branches from a decision commonly represent?

Yes / No

500

What keyword is used to finish an IF statement in the pseudocode from the review?

ENDIF

500

A login system is divided into smaller tasks such as getting the username, checking credentials, and granting access. What problem-solving technique is being used?

Decomposition

500

You need an algorithm that inputs three numbers and outputs the largest. What basic strategy can you use?

Compare two numbers, keep the larger as the current largest, then compare it with the third number.