Laura Casaban Oliver - Algorithms
Laura Casaban Oliver - Algorithms
FUNDAMENTALS
1. What is computational thinking and what are its main components?
It is the thinking process that allows us to formulate or solve problems in the
world around us by using skills and techniques, such as ordered sequences of
instructions (algorithms), to arrive at a solution.
The main components are:
- Decomposition of a problem into smaller phases.
- Recognition of repetitive patterns.
- Abstraction of information irrelevant to the proposed problem.
- Written algorithms presented to solve the problem.
3. Write the instructions of the algorithm to solve a first degree equation.
- Problem analysis.
- Identify the inputs, processes and outputs of the problem, declaration of
variables.
- Algorithm design.
- Algorithm coding.
- Execution and validation of the program.
You can use a flowchart to explain in detail the logic behind a programme before you
start coding the automated process. It can help to organise an overview and provide
guidance when it comes time to code.