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

01. Identify inputs and outputs Activity 2

Uploaded by

handryoutlook
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views

01. Identify inputs and outputs Activity 2

Uploaded by

handryoutlook
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Thinking ahead

Identify inputs and outputs in a given situation

1. In a Unit 2 exam, you will need to be able to identify appropriate inputs and outputs to pseudocoded problems.
Throughout the course, you have been programming to prepare for this.

For this activity, you need to choose at least five programs you have written.

Using the table on the following slide, identify the inputs and the outputs of the programs you have chosen.

Make sure to choose a variety of different programs.


Thinking ahead
Identify inputs and outputs in a given situation

Title of program What does it do? Inputs Outputs


Addition Calculator To add two numbers. First number (integer or The sum of the two numbers.
decimal).
Second number (integer or
decimal).

Temperature Converter To convert a temperature in Temperature in Celsius (integer Temperature in Fahrenheit.


Celsius to Fahrenheit. or decimal).
Odd or Even Checker To check if a number is odd or A single integer. A message saying "Even" or
even. "Odd" based on the input.
Simple Interest Calculator To calculate the simple interest Principal amount (integer or The calculated simple interest.
on a loan. decimal).Rate of interest
(percentage).Time (in years).

Grocery Discount Calculator To calculate the discount on a Total bill amount (integer or Final bill amount after discount.
grocery bill. decimal).Discount percentage.

You might also like