Preview

CIS115 W2 Exercise

Good Essays
Open Document
Open Document
757 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
CIS115 W2 Exercise
Week 2 Activity—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, midlevel 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

Total Points
20

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

lowerLevel<25 (real) Midlevel <15 (Real) Upper_level<10 (real) totalAmount (double) totalNumber_seats (real)

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

Inputs
Process (calculations)
Outputs
Lower_level<25
Midlevel<15
Upper_level<10

Number_of_seats

Calculate ticket price by level

Calculate number of seats purchased

Total amount purchased

Total number of sets purchased
3)
4) Flowchart
5) Use MS Visio to create a flowchart. Paste the flowchart here or attach it as a separate document. Use the same valid variable names you used in Step 1.
6)
7) Pseudocode
8) Describe your

You May Also Find These Documents Helpful

  • Satisfactory Essays

    Write a program that can be used by a small theater to sell tickets for performances. The theater’s auditorium has 15 rows of seats, with 20 seats in each row. The program should display a screen that shows which seats are available and which are taken. For example, the following screen shows a chart depicting each seat in the theater. Seats that are taken are represented by an * symbol and seats…

    • 703 Words
    • 3 Pages
    Satisfactory Essays
  • Good Essays

    Application code and comments should be written descriptively. The names of classes, methods and variables should be self-descriptive. Methods and classes will be commented to detail their…

    • 612 Words
    • 3 Pages
    Good Essays
  • Good Essays

    Cis11 Assessment 1

    • 1390 Words
    • 6 Pages

    Safety Styles Pty Ltd has demonstrated in is able to generate and increase its profits as demonstrated through the healthy Gross and Net Profit Margins.…

    • 1390 Words
    • 6 Pages
    Good Essays
  • Satisfactory Essays

    Write a 700- to 1,400-word paper in which you describe at least three problem analysis tools that you applied to develop the process flowchart.…

    • 367 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Write a 700- to 1,400-word paper in which you describe at least three problem analysis tools that you applied to develop the process flowchart.…

    • 445 Words
    • 3 Pages
    Satisfactory Essays
  • Good Essays

    Cis 210 Assignment 1

    • 917 Words
    • 4 Pages

    Information systems standardize and enforce rules on business transactions, which helps to ensure quality of both service and process. IS informs management of a business' health, mid-level managers of department needs and planning, employees of standard operating procedures, and customers of business services. IS also provides numerous communications tools for all levels of business, both for quicker collaboration and asynchronous discussions.…

    • 917 Words
    • 4 Pages
    Good Essays
  • Satisfactory Essays

    formulas to have Excel calculate the profits for all 3 ticket prices and the number…

    • 268 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Week 5 Assignments New

    • 754 Words
    • 6 Pages

    Step 3: Based on the values to the variables in Step 1 above, what is the expected output resulting…

    • 754 Words
    • 6 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Germination and Beans

    • 326 Words
    • 2 Pages

    6. Create a table for your data, including title, units, and any other useful information.…

    • 326 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    National Cranberry

    • 620 Words
    • 3 Pages

    2. Draw a process flow diagram for Receiving Plant #1. For each step in the process flow indicate:…

    • 620 Words
    • 3 Pages
    Good Essays
  • Powerful Essays

    Dynamic Ticket Pricing

    • 3896 Words
    • 16 Pages

    The number of Major League Baseball teams utilizing dynamic ticket pricing (DTP) has grown significantly over the last several seasons. The pricing model allows teams to used advanced software that captures the true value of a game ticket in real-time based on a variety of changing factors. While many teams have chosen to dynamically price their entire stadium, the Atlanta Braves implemented the model in 2012 on a trial basis, only dynamically pricing the Outfield Pavilion section. Based on primary market research data, MLB fans seem to be somewhat suspicious of the new model and its benefits. In this paper we will explain why the Braves should expand to all seats using DTP and an approach to educating fans to the benefits of this method of ticket sales.…

    • 3896 Words
    • 16 Pages
    Powerful Essays
  • Powerful Essays

    Cis500 Week 2 Assignment

    • 1948 Words
    • 8 Pages

    Today, the world is experiencing significant technological revaluation at the main part of which is the information technology. There is a general belief that information technology eases and contributes to many aspects of our life (Nunn & Quinet, 2002). And new technologies has drastically changed our way of life to include attitudes, thoughts, perceptions and community at large. In particular, Information Technology has transformed our big world into a global village. Unlike the traditional means of law enforcement, in this case through street patrols, the adoption of Information Technology has brought a tremendous improvement to the law enforcement community and hugely impacted crime rate. In the past, random patrolling of the streets were carried out without proper organization with regards to insight, predictions of crime activities and the nature thereof. The use of IT in law enforcement centers around predictive policing which is the term used to describe “any policing strategy or tactic that develops and uses information and advanced analysis to inform forward-thinking crime prevention”. (Predictive Policing Symposium, 2010). Predictive policing focuses on some strategies which will be used in the remaining of this paper to address the comparison and cotrast of the use IT in policing versus random street patrols, how Inormation Systems have allowed police departments that implement tools such as COMPSTAT to respond to crime faster, and implementing the SWOT analysis on behalf of police departments that intend to implement predictive policing.…

    • 1948 Words
    • 8 Pages
    Powerful Essays
  • Good Essays

    The total attribute combinations are 3*4*4*5=240, which are shown in Appendix Table 2. Because “the Blazers were unwilling to allow certain price and seating combinations no matter how well received they were” (Case, Page 5), the combinations including 200-level seats for less than $60 and 300-level midcourt seats for less than $25 can be removed from total combinations. The remaining attribute combinations are 240-3*1*5-3*3*5=180. According to the cost structure (Case, Table 2 & Table 3) and our assumptions, the Trail Blazers should avoid loss, thus 27 packages which cause loss need to be removed. The remaining packages are 180-27=153, which are shown in Appendix Table 3.…

    • 1063 Words
    • 5 Pages
    Good Essays
  • Satisfactory Essays

    Time and Velocity

    • 372 Words
    • 2 Pages

    1. Begin by making charts like the one below for this situation and each of the following b-d…

    • 372 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    On Course Journal 12

    • 441 Words
    • 2 Pages

    3. Write each action from your list in Step 1 in the appropriate quadrant on your chart.…

    • 441 Words
    • 2 Pages
    Satisfactory Essays