3 PROBLEM-SOLVING AND DECOMPOSITION

OBJECTIVES

Explain how to apply a systematic approach to problem-solving.

Discuss how to create a problem definition.

Introduce strategies and considerations for the devising of solutions.

Explain decomposition as a problem-solving strategy.

Show the benefits of generalising from patterns in problems as well as techniques for creating them.

WHERE TO START

You have your problem. You’re ready to start analysing it and coming up with a solution. But not just any solution; one that is specifically formed so that a computer could carry it out. You begin to look at the problem. A question dawns on you.

Where on earth do you start?

It’s all very well saying ‘come up with a solution’. Real-world problems ...

Get Computational Thinking now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.