Answer:

' House picture
'
'Start graphics.
SCREEN 12

'Draw the house.

'Draw the tree.

'Draw the grass.

'Draw the sky.

END

Well... that was easy.

Next Task

Now think about the next task: Draw the house. You have to think about the picture as a whole to complete this task; you probably don't want a tiny house tucked up in a corner of the screen. So probably you would make a sketch of the whole picture before you jumped in and started designing the house.

sequence of tasks in drawing a house

Let us say that you have done that, and have a sketch of the whole picture is in front of you. Now the "Draw the house" task can be considered in more detail:

  1. Start graphics.
  2. Draw the house.
    1. Draw the sides.
    2. Draw the floor and ceiling.
    3. Draw the roof.
  3. Draw the tree.
  4. Draw the grass.

The flowchart shows this detail of the program. It is fine to use a flowchart for one step of a larger task.

QUESTION 17:

What type of QBasic statements will you use to do the "Draw the house" task? (Don't worry about the details.)