2.1 - Algorithms Flashcards
What is computational thinking?
A problem-solving method using computer science techniques, where possible solutions are developed and presented in a way that can be understood by humans and computers.
What are the important elements of computational thinking?
- Decomposition
- Abstraction
- Algorithmic thinking
What is decomposition?
Breaking down a complex problem or system into smaller parts that are more manageable and easier to understand
—> Smaller parts can be examined as they are simpler to work with
What is abstraction?
Involves removing unnecessary detail from a problem in order to concentrate on those that are needed
Why is abstraction used?
Bc it simplifies a problem to make it less complex
—> Makes it more straightforward to understand the problem & create a solution
What is algorithmic thinking?
Involves using logical steps to
find a solution to a complex problem.
What is an algorithm?
A set of instructions for solving a problem or completing a task
Why would programmers create algorithmic designs?
As a method of planning a program before writing any code
—> Helps them to consider potential problems of the program & makes it easier to start creating source code
What does this flowchart symbol mean?
Start / stop terminator
What does this flowchart symbol mean?
Operation (process)
What does this flowchart symbol mean?
Decision
What does this flowchart symbol mean?
Input / Output
What does this flowchart symbol mean?
Direction of flow
What does this flowchart symbol mean?
Subroutine
What are trace tables?
Used to track the value of variables as a program is run