WeLearn

Grade 9 Information Technology · Unit 6

Fundamentals of Programming

Unit 6 of the Grade 9 Information Technology textbook has 4 lessons: Defining a Problem and Computational Problem, Steps in Problem Solving, Working with Flowcharts and Block Programming and Problem Solving Approaches. On WeLearn it includes the Robot Route classroom game.

Lesson 6.2

Steps in Problem Solving

Solving problems with computers follows an organised sequence of steps, often called the problem-solving cycle. Following the steps prevents wasted effort, such as writing a program that answers the wrong question.

AlgorithmImplementationTestingBugDebuggingTrace table (dry run)Documentation

Practice questions

3 of the 6 questions in the Unit 6 quiz. Try each one, then reveal the answer.

  1. 1. A computational problem is one that:

    • A. Can never be solved
    • B. Can be solved by a sequence of steps a computer can carry out
    • C. Only humans can solve
    • D. Has no input
    Show answer

    Answer: Can be solved by a sequence of steps a computer can carry out

    If a problem can be stated precisely with inputs and outputs and solved by a finite set of steps, a computer can solve it.

  2. 2. What is usually the FIRST step in problem solving?

    • A. Testing the program
    • B. Understanding and defining the problem
    • C. Writing code
    • D. Documenting
    Show answer

    Answer: Understanding and defining the problem

    You cannot design a correct solution until you know exactly what is given, what is required and what the constraints are.

  3. 3. In a flowchart, which symbol shows a decision (yes/no question)?

    • A. Oval
    • B. Rectangle
    • C. Diamond
    • D. Parallelogram
    Show answer

    Answer: Diamond

    The diamond has one entry and two exits (Yes/No). Ovals are start/end, rectangles are processes, parallelograms are input/output.

Teach Information Technology Unit 6 with WeLearn

We will bring a demo to your school: a lesson on your interactive TV, a virtual lab and a classroom game, with your own teachers.