1.7 (paper 2 from onwards) Flashcards
Define computational thinking.
Solving problems that can be implemented by a computer system is known as computational thinking.
Define abstraction.
Abstraction is the process of removing unnecessary details of a problem to focus on the important features to implement in a solution.
Define decomposition.
Decomposition is the process of breaking down a large problem into a set of smaller problems to make the problem easier to solve.
Define algorithmic thinking.
Algorithmic thinking is the process of creating step-by-step instructions in order to produce a solution to a problem.
State the three main principles of computational thinking.
The three main principles of computational thinking are:
Abstraction
Decomposition
Algorithmic thinking
Define a searching algorithm?
Searching algorithms are precise step-by-step instructions that a computer can follow to efficiently locate specific data in massive datasets.
Describe a binary search?
A binary search keeps halving a dataset by comparing the target value with the middle value, going left if smaller, right if bigger, until it finds the value or realises the value is not there.
Describe a linear search?
A linear search starts with the first value in a dataset and checks every value one at a time until all values have been checked.
State an advantage of linear search over binary search and an advantage of binary search over linear search.
Linear search works on unsorted datasets.
Binary search is fast for large datasets.
Define a process?
A process is a doing action performed in the algorithm that transforms inputs into the desired output.
What is a structure diagram?
A structure diagram is a visual representation of problem decomposition.
Define the term manageable (in the context of structure diagrams).
Manageable refers to sub-problems that are small enough to be handled or dealt with more easily than the original complex problem.
Define the term analysis
Analysis is the process of studying or examining a problem in detail to understand its nature and determine a solution.
Which flowchart symbol is used for decisions?
Diamond
Define syntax error.
A syntax error is an error that breaks the grammatical rules of a programming language and stops it from running.