Cape Computer Science - Unit One Program Design Worksheet A1 Sequence
This document provides 8 programming problems to design solutions for including: 1) Calculating fuel consumption given gas used and distance traveled, 2) Calculating average height from 4 building heights, 3) Converting currency from US dollars to Jamaican dollars, 4) Calculating weekly lunch money based on a student's age, 5) Calculating box office takings from ticket sales of two seating types for a play, 6) Calculating a student's term average from assignments and a test, 7) Greeting a user by name, and 8) Displaying the day of the week and a message based on the user's input.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
33 views
Cape Computer Science - Unit One Program Design Worksheet A1 Sequence
This document provides 8 programming problems to design solutions for including: 1) Calculating fuel consumption given gas used and distance traveled, 2) Calculating average height from 4 building heights, 3) Converting currency from US dollars to Jamaican dollars, 4) Calculating weekly lunch money based on a student's age, 5) Calculating box office takings from ticket sales of two seating types for a play, 6) Calculating a student's term average from assignments and a test, 7) Greeting a user by name, and 8) Displaying the day of the week and a message based on the user's input.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 1
CAPE COMPUTER SCIENCE - UNIT ONE
PROGRAM DESIGN WORKSHEET A1
SEQUENCE
Deliverables : Pseudocodes and flowcharts
1. Design a program that tells the user the fuel consumption of their car given the amount of gas used and the distance travelled. 2. Given the heights of 4 buildings, display their average height 3. Design a program that does currency conversion for the user. It should convert from $US to $JA at the rate of J$87.50 to US$1.00 4. Design a program to calculate your lunch money for the school week (5 days). The rule is that for each day you get $15 times your age. 5. Design a program to determine the takings for a theatre for one evenings staging of a play. There are 2 types of seats. House rate : $800 for adults and $500 for children. Balcony rate :$1200 for adults and $700 for children Get whatever data you deem necessary and calculate and display the box office takings 6. A student does 4 assignments and one test for the term. The assignments are worth 60% and the test is worth 40% of the final term grade. Design a program to read the marks and display the average. 7. Design a program to greet a user by name and say glad to meet you 8. Design a program to ask the user for the day of the week and redisplay it along with a cute message(same message for each day)
(Ebook) Project Manager's Portable Handbook by Cleland D.I., Ireland L.R. ISBN 9780071352635, 9780071399647, 0071352635, 007139964X - The 2025 ebook edition is available with updated content