Topic 3 - Problem Solving with I/O

This section will cover how to plan out the steps needed to make programs that solve slightly larger problems using input and output. We will learn how to create flowcharts, IPO charts and pseudocode for simple problems.

Topic 3 - Problem Solving with Input and Output

What to Do?

1 - Complete the note with the class. Use the problem solving method on the payroll example provided in the note.

2 - Complete Practise Exercise 1 Year of Birth on your own. Create the IPO chart (with pseudocode) and flowchart for this problem. We will take this up as a class.

3 - Complete IPO charts and pseudocode for the remaining two exercises in the note:

  • Cost of Gas

  • Unit Price

4 - You are to program at least one of the practice exercises (if you finish early, program the rest)

What to Submit?

  1. The completed program for on of the exercises

Practice Problems

Use the IPO chart template or the paper copy.

We will take up the first as a class. Problem 2 and 3 need to be done by you. Program any one of them.

Practise Exercises.pdf

Files