Designing, Creating & Refining Algorithms (OCR GCSE Computer Science): Flashcards

📚Flashcards
Algorithms
Sign up to keep revising.Create a free account to study more flashcards and track your progress.

Practise the cards

15 cards from this deck

Show

Algorithm

Sequence of steps to solve a problem

3 ways to represent algorithms

Pseudocode, flowcharts, programming languages

Inputs in an algorithm

Data items provided to the program

Processes in an algorithm

Operations/calculations performed on inputs

Outputs in an algorithm

Final result produced after processing

Sequence structure

Following instructions in exact order they appear

Selection structure

Decision-making based on a condition (e.g., IF-ELSE)

Iteration structure

Repeating same instructions multiple times (loops)

Flowchart

Diagram showing steps in a process using shapes & arrows

Trace table

Technique to follow algorithm step-by-step to check behaviour

Syntax error

Code breaks rules of programming language

Logic error

Code runs but doesn't produce expected result

Runtime error

Error occurring while program is running (e.g., divide by 0)

Nesting

Putting one structure inside another (e.g., IF in loop)

Casting

Converting one data type into another

Join 100,000+ GCSE students studying Flashcards with us.

Select your subjects, and get access to A+ resources today.