Cashback Offer (20th - 30th September 2020). Get Flat 10% Cashback credited in your account on a minimum transaction of \$80. Post Your Question

Question DetailsNormal
\$ 22.00

# TCO 2—Given a simple problem, design a solution algorithm that uses arithmetic expressions

Question posted by

Game Seating Charges

TCO 2—Given a simple 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 local stadium to design an algorithm determining the total seating charges for any game held at the stadium. Lower-level seats cost \$25 per seat, mid-level seats cost \$15 per seat, and upper-level seats cost \$10 per seat. The algorithm should ask the user for the number of seats being purchased in each seating level. Then, the algorithm will determine the total for each level and a grand total for the entire purchase.

Be sure about the logic and design first (IPO chart, flowchart, and pseudocode).

Advanced (optional): Use constants for the per-seat cost for each level.

Rubric

Complete the steps and submit the completed file to the Dropbox.

1) Variable list

2) IPO chart

3) Flowchart

4) Pseudocode

5) Desk-check

Game Seating Charges

Document

Points possible

Variable list

4

IPO chart

4

Flowchart

4

Pseudocode

4

Desk-check

4

Total Points

20

1)      Variable List

List all of the variables that you will use (use valid variable names). Indicate whether the data type is string, integer, or double, and so on.

2)      IPO Chart

List the inputs, any processes/calculations, and the outputs. Use the same valid variable names that you used in Step 1.

Inputs

Process (calculations)

Outputs

3)      Flowchart

Use MS Visio to create a flowchart. Paste the flowchart here or attach it as a separate document. Use the same valid variable names that you used in Step 1.

4)      Pseudocode

Describe your solution using pseudocode. Use the same valid variable names that you selected in Step 1.

5)      Desk-Check

Desk-check your solution by using the following sample data.

Lower level seats 3

Mid level seats 4

Upper level seats 5

Enter the expected outputs.

Expected total cost lower level ____________

Expected total cost mid level _____________

Expected total upper level ____________

Expected total for all seats _____________

iLab

TCO 2 — Given a simple problem, design a solution algorithm that uses arithmetic expressions and built-in functions.

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 subtotal, the sales tax amount, and the total purchase amount. A customer is purchasing four items from the antique store. Design an algorithm where the user will enter the price of each of the four items. The algorithm will determine the subtotal, the sales tax, and the total purchase amount. Assume the sales tax is 7%.

Be sure to think about the logic and design first (input-process-output (IPO) chart, flowchart, and pseudocode). Display all output using currency formatting.

Advanced (optional): Use a constant for the 7% sales tax.

Rubric

Point distribution for this activity:

iLab Activity

Document

Points possible

Variable list

10

IPO chart

10

Flowchart

10

Pseudocode/C# code

10

Desk-check

10

Total Points

50

(1) Variable List With Data Type

List all the variables you will use (use valid variable names). Indicate whether the data type is string, integer, or double, and so on.

(2) IPO Model

List the inputs, any processes, calculations, and outputs. Use the same valid variable names you used in Step 1.

Inputs

Process (calculations)

Outputs

(3) Flowchart

Use MS Visio to create a flowchart. Paste the flowchart here, or attach as separate document. Use the same valid variable names you used in Step 1.

(4) Pseudocode or C# Code

Describe your solution using pseudocode or actual C# code. Use the same valid variable names you selected in Step 1.

(5) Desk-Check

Desk-check your solution by selecting appropriate test data.

Test data: List the values for your test data.

Expected output: What is the expected output of your program?

Step

Variables (write variable names in first line below)

Output

Enter step numbers

\$ 22.00

## [Solved] TCO 2—Given a simple problem, design a solution algorithm that uses arithmetic expressions

• This solution is not purchased yet.
• Submitted On 25 Mar, 2016 01:42:31
Game Seating Charges TCO 2—Given a simple 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 local stadium to design an algorithm determining the total seating charges for any game held at the stadium. Lower-level seats cost \$25 per seat, mid-level seats cost \$15 per seat, and upper-level seats cost \$10 per seat. The algorithm should ask the user for the number of seats being purchased in each seating level. Then, the algorithm will determine the total for each level and a grand total for the entire purchase. Be sure about the logic and design first (IPO chart, flowchart, and pseudocode). Advanced (optional): Use constants for the per-seat cost for each level. Rubric Complete the steps and submit the completed file to the Dropbox. 1) Variable list 2) IPO chart 3) Flowchart 4) Pseudocode 5) Desk-check Game Seating Charges Document Points possible Points received Variable list 4 IPO chart 4 Flowchart 4 Pseudocode 4 Desk-check 4 To...
Buy now to view the complete solution
Attachment
Other Similar Questions
kmgina

### TCO 2—Given a simple problem, design a solution algorithm that uses arithmetic expressions

Game Seating Charges TCO 2—Given a simple 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 ha...

#### The benefits of buying study notes from CourseMerit

##### Assurance Of Timely Delivery
We value your patience, and to ensure you always receive your homework help within the promised time, our dedicated team of tutors begins their work as soon as the request arrives.
##### Best Price In The Market
All the services that are available on our page cost only a nominal amount of money. In fact, the prices are lower than the industry standards. You can always expect value for money from us.