Back to marketplace

Component 2 Flashcards Textbook

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

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

Card preview (24)

#1
Front (Question)

What is an algorithm?

Back (Answer)

A series of instructions that solves a problem in a finite number of steps

#2
Front (Question)

What three criteria lead to a successful algorithm?

Back (Answer)

• Accuracy • Consistency • Efficiency

#3
Front (Question)

What does unambiguous mean?

Back (Answer)

Written in a way that makes it completely clear what is meant

#4
Front (Question)

What are the two ways to plan and design an algorithm?

Back (Answer)

• Visual (Using flow chart symbols) • Text (Using a written sequence of instructions)

#5
Front (Question)

What is the difference between an algorithm and a problem?

Back (Answer)

Before you can write a program to solve a problem, you have to work out the algorithm first

#6
Front (Question)

What is a variable?

Back (Answer)

A storage location used to store a value; this could be text or a number. The value stored in the variable may change as the program is run.

#7
Front (Question)

What are the rules for a variable name?

Back (Answer)

• Must be written before a value is assigned to it • Cannot start with a number • Must not have spaces • Must make sense in algorithm

#8
Front (Question)

What is ‘=’ in OCR pseudocode?

Back (Answer)

Assignment of a value to a variable

#9
Front (Question)

What is ‘==’ in OCR pseudocode?

Back (Answer)

Shows equality

#10
Front (Question)

What is the flow chart symbol for a terminator and what does it show?

Back (Answer)

• Oval / Rounded Rectangle • Start or end of algorithm

#11
Front (Question)

What is the flow chart symbol for a process and what does it show?

Back (Answer)

• Rectangle • Process in algorithm e.g. Calculating price

#12
Front (Question)

What is the flow chart symbol for a decision and what does it show?

Back (Answer)

• Diamond • Have one of two answers; yes or no, true or false

#13
Front (Question)

What is the flow chart symbol for an input or output and what does it show?

Back (Answer)

• Parallelogram • Shows data into algorithm or outputs from it

#14
Front (Question)

What does an arrow show in a flow chart?

Back (Answer)

• Sequence of steps in the algorithm • Usually vertical or horizontal

#15
Front (Question)

What is a flow chart?

Back (Answer)

Visual representation of the sequence of steps in an algorithm

#16
Front (Question)

What is assignment?

Back (Answer)

Giving a variable or constant a value by linking a value to the identifier

#17
Front (Question)

What is an identifier?

Back (Answer)

A unique name given to a variable or constant in your algorithm which makes your algorithm easier to read and understand

#18
Front (Question)

What is pseudocode?

Back (Answer)

A structured, code-like language that can be used to describe an algorithm

#19
Front (Question)

What are keywords?

Back (Answer)

Used in pseudocode for common operators; written in capital letters

#20
Front (Question)

What are some example keywords?

Back (Answer)

INPUT- Getting values into the algorithm from user via keyboard OUTPUT- Messages or results displayed on screen

#21
Front (Question)

What are the pseudocode arithmetic operators for addition, subtraction, multiplication and division?

Back (Answer)

+ , - , * , /

#22
Front (Question)

What are the pseudocode arithmetic operators for integer division and modulus?

Back (Answer)

DIV (only evaluates quotient which is the integer) MOD (only evaluates remainder)

#23
Front (Question)

List all the comparison operators (and what they evaluate to)

Back (Answer)

< - Less than (True) > - Greater than (False) == - Same as (True) != - Not equal to (True) <= - Less than or equal to (True True) >= - Greater than or equal to (True False)

#24
Front (Question)

True or False: Arithmetic Operators are evaluated AFTER comparison operators

Back (Answer)

False, evaluated BEFORE.