Scenario:
Your goal is to solve the following simple programming exercise. You have been contracted
by a local antique store to design an algorithm determining the total purchases and sales
tax. According to the store owner, the user will need to see the
Name:Colin Roossien
TCO #6 Given a simple business problem with data stored in a file, design, code, and test a solution algorithm that
reads input from the file and writes output to a file.
TCO #8 Given a business problem, develop a solution algorithm fo
Name: Colin Roossien
TCO #4 Given a simple business problem that requires one or more decisions, create a solution
algorithm that uses decisions with logical and relational expressions.
TCO #9 Given a program with logic errors that is intended as a soluti
IPO for a cup of hot chocolate:
Input:
A cup
Water
Hot Coco Mix
A Spoon
Microwave
Marshmallows
Process:
Add Approximately 8 ounces of water into a cup
Put cup in microwave
Heat for 1 minute
Add hot coco mix
Stir until thoroughly mixed with spoon
Add marsh
Name:_Colin Roossien_
Week #: 4_
Lab Number: _4_
IPO Chart:
Input
How many
students
Processing
Take each students name and points received
and calculate the grade for each student.
Students First
Name
Create a list of students with their attributes.
Stude
Name: Colin Roossien
TCO #4 Given a simple business problem that requires one or more decisions, create a solution
algorithm that uses decisions with logical and relational expressions.
TCO #9 Given a program with logic errors that is intended as a soluti
Name:_Colin Roossien_
Week #: _5_
Lab Number: _5_
IPO Chart:
Input
Amount of each
purchase
Processing
Add all of the purchases together.
Give a discount to purchases $50 and over
Output
Purchases with
original price and
discounted price.
-1 when done
Pseu
Name: Colin Roossien
TCO #4 Given a simple business problem that requires one or more decisions, create a solution algorithm
that uses decisions with logical and relational expressions.
TCO #5 Given a simple business problem that requires iteration, creat
Name: Colin Roossien
TCO #2 Given a simple business problem, design a solution algorithm that uses arithmetic
expressions and built-in functions.
Assignment:
Your goal is to solve the following simple programming exercise. You have been contracted by a
lo
Name:_Colin Roossien_
TCO #5 Given a simple business problem that requires iteration, create a solution algorithm that employs
loops.
TCO #7 Given a simple business problem that requires simple data structures, design, code and test a solution
algorithm t
Consider these three problems. In writing a paper about all three of them individually, identify the
consequences of the actions taken, and then determine whether the actions taken represented a
greater good, who would benefit from the good, and whether t