Back to marketplace

Algorithm Design and Pseudocode

No description yet. This curated deck is ready for daily study.

Total cards: 19•Content version: v4•Public deck•Updated: 8/1/2026

Card preview (19)

#1
Front (Question)

What are the four main stages in the program development life cycle?

Back (Answer)

Analysis Design Coding Testing

#2
Front (Question)

Define what is meant by abstraction

Back (Answer)

Identifying the key parts of a program and removing any unnecessary detail so that it becomes easier to solve

#3
Front (Question)

Define what is meant by decomposition

Back (Answer)

Breaking down a complex problem into smaller, manageable parts which are easier to solve

#4
Front (Question)

What are the main steps in decomposition?

Back (Answer)

• Identify the main problem • Identify the component parts of inputs, processes, outputs and storage • Break these down into smaller sub-problems

#5
Front (Question)

How do you declare a variable in pseudocode?

Back (Answer)

DECLARE {variablename} : {variable type} e.g. DECLARE StartNumber : INTEGER

#6
Front (Question)

How can you ensure your pseudocode is easy to understand?

Back (Answer)

Add a comment to explain the purpose of that line Ensure the variable name is meaningful

#7
Front (Question)

What are the six types of validation checks?

Back (Answer)

• Range check • Length check • Type check - Correct data type • Presence check - String can’t be empty • Format check • Check digit check

#8
Front (Question)

What is normal (typical) data?

Back (Answer)

Using examples of data that the program is designed to handle

#9
Front (Question)

What is extreme data?

Back (Answer)

The largest and smallest acceptable value (e.g. 1, 50)

#10
Front (Question)

What is boundary data?

Back (Answer)

Includes both ends of the allowed range (e.g. 1, 50) as well as the values just outside the range (e.g. 0, 51)

#11
Front (Question)

What is abnormal/erroneous data?

Back (Answer)

Data of the wrong type e.g. letters in a numerical field

#12
Front (Question)

What will happen to your code if it encounters a syntax error?

Back (Answer)

It will prevent the code from running

#13
Front (Question)

What can syntax errors be caused by?

Back (Answer)

Mistakes in spelling or ‘grammar’ in the code

#14
Front (Question)

What will happen to your code if it encounters a logical error?

Back (Answer)

It will continue to run but may give an incorrect or unexpected output

#15
Front (Question)

What can logical errors be caused by?

Back (Answer)

Using y > 5 instead of y >= 5 could affect loop conditions or range checks

#16
Front (Question)

What is a runtime error?

Back (Answer)

An error that is detected while the code is running

#17
Front (Question)

What can cause a runtime error?

Back (Answer)

Logical error, erroneous data input, division by 0

#18
Front (Question)

Define what is meant by a selection statement.

Back (Answer)

Comprises an IF or CASE statement and a logical expression. Variables of the Boolean data type can only be true or false

#19
Front (Question)

Define what is meant by an iteration statement.

Back (Answer)

Statements to be repeated are placed inside a loop structure (e.g. FOR or WHILE)