Principles of Computational Thinking Flashcards

All 6 cards in this deck

What are the three principles of computational thinking?

Abstraction, decomposition and algorithmic thinking.

What is abstraction?

Removing or ignoring unnecessary detail from a problem so only the key features needed to solve it remain.

What is decomposition?

Breaking a problem down into smaller sub-problems that are easier to solve.
e.g. a quiz program splits into: store questions, ask questions, check answers, keep score.

What is algorithmic thinking?

Working out the sequence of steps needed to solve a problem, so the solution can be written as an algorithm.

In a route-planning app, give one detail abstraction keeps and one it removes.

Keeps: roads and distances between places. Removes: colours of buildings, names of shops, scenery.

True or false? Abstraction means breaking a problem into smaller sub-problems.

False. That is decomposition; abstraction is removing unnecessary detail.