0% found this document useful (0 votes)
63 views

Problem Solving and Program Design

A program is to be written that allows a user to enter 5 numbers. The program will then calculate the sum, product, and average of the entered numbers. It will also divide the 4th number by the 1st, multiply the 2nd by the 5th, and square the 3rd number. The results of each calculation will be displayed. Students are tasked with writing a problem definition, defining diagram, algorithm, and flowchart for the program.

Uploaded by

Kristinaxaria
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
63 views

Problem Solving and Program Design

A program is to be written that allows a user to enter 5 numbers. The program will then calculate the sum, product, and average of the entered numbers. It will also divide the 4th number by the 1st, multiply the 2nd by the 5th, and square the 3rd number. The results of each calculation will be displayed. Students are tasked with writing a problem definition, defining diagram, algorithm, and flowchart for the program.

Uploaded by

Kristinaxaria
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

BISHOP ANSTEY HIGH SCHOOL EAST

INFORMATION TECHNOLOGY
FORM 4
TERM 2
2012

TOTAL MARKS: 15

PROBLEM SOLVING AND PROGRAM DESIGN

Write a program that will allow you to enter 5 numbers. You will be expected to calculate the
sum of the 5 numbers, the product of the 5 numbers and the average of the 5 numbers. In
addition you will divide the 4th number by the 1st number, multiply the 2nd number by the 5th and
square the 3rd number. The results for each calculation are to be displayed.

1. Write a problem definition for the above problem. [2 marks]


2. Create a defining diagram for the above problem [5 marks]
3. Write an algorithm for the above problem [3 marks]
4. Create a flow chart that illustrates the logic flow of the problem [5 marks]

You might also like