From the course: Computer Science Principles: Programming

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Break down tasks

Break down tasks

From the course: Computer Science Principles: Programming

Start my 1-month free trial

Break down tasks

- Part of a programmer's job is to take complicated tasks and break them down into individual steps that can't be broken down any further. It is like looking at water and drilling down to the molecules and then the atoms that form it. You dive down to the smallest element that forms the basis of the object. Now take that principle and apply it to an action. We take for granted so many steps that are part of a group of actions. Let's look at an example. Let's take out the trash. The phrase take out the trash probably conjures up a few things in your mind. If someone tells me, hey Doug, can you take out the trash, please? There are certain steps that I'm already forming in my head around what I have to do. For my home these are the steps that I need to do. First, I need to go to the kitchen and grab the full garbage bag out of the trash can, then I take it around the house and empty the smaller trash cans in the bedroom and bathroom into it, then I take it to the curbside can and put it…

Contents