Decomposition and abstraction (Edexcel GCSE Computer Science): Flashcards
📚Flashcards
Practise the cards
12 cards from this deck
ShowHide
Practise the cards
12 cards from this deck
Decomposition in computational thinking
Decomposition in computational thinking
Breaking problems into smaller, more manageable parts
Abstraction in computational thinking
Abstraction in computational thinking
Focusing on essential parts, ignoring unnecessary details
IPO acronym meaning
IPO acronym meaning
Input-Processing-Output
Three components of IPO approach
Three components of IPO approach
Input, Processing, Output
Problem statement purpose
Problem statement purpose
Defines what a program needs to do
First step in decomposing a problem
First step in decomposing a problem
Identify Input, Processing, and Output
Using comments for abstraction
Using comments for abstraction
Plan solution before writing code
Input validation
Input validation
Checking data meets requirements before processing
Edge case example in programming
Edge case example in programming
Division by zero
Defensive programming purpose
Defensive programming purpose
Prevent program from crashing unexpectedly
When to write planning comments
When to write planning comments
Before writing actual code
What abstraction helps determine
What abstraction helps determine
What to ignore and what you need to know
