Describe the behavior of the ticket sales system

Assignment Help Python Programming
Reference no: EM132431533

Assessment Details

The Federation University Australia Robot Wars are about to commence! The competitors are busy training and now its time to prepare to sell spectator tickets.

Your task is to design, develop and test a small application for purchasing and recording ticket sales to this event

The assignment is broken up into three main components:

1) Design and model two classes: Ticket and Checkout

2) Create an activity chart which describes the behavior of the ticket sales system

3) Create a computer program that allows a user to interactively purchase a number of tickets, then provides an opportunity to enter some (fake) credit card information to pay for the tickets, and finally, prints out a receipt for the user (to the screen, not on paper). Finally, the program should backup all the transactions Into a text file

The main.py script runs the main logic of the program and will use instances of Ticket and Checkout classes to simulate purchasing a spectator ticket.

Part 1: Design and Model Two Classes

This stage requires you to prepare documentation that describes the function of the program and how it is to be tested. There is no coding or code testing involved in this stage.

Requirements:

1) Read all of this assignment sheet first!!!

2) Write an algorithm that describes how the program will operate.
a. All program requirements must be included, even if you do not end up including all these requirements in your program code
b. The algorithm must be structured logically so that the program would function correctly.

3) Create class diagrams for the Ticket and Checkout classes
Add everything to your Word document.

Part 2: Activity Flowchart
Using either the online website, or the applications Visio or PowerPoint -create an activity diagram of how the program should operate to successfully purchase one or more tickets, accept payment, print a receipt for the user and backup the transaction to a text file.

Make sure to use the correct symbols in your diagram for starting, processes, decisions/branches, and ending the process.

Remember to do some (fake) checks when the user enters their credit card details e.g. that enough numbers have been entered.

Once you have completed your activity flowchart, add it to your Word document.

Part 3: Computer Program

Remember to do some (fake) checks when the user enters their credit card details e.g. that enough numbers have been entered.

Once you have completed your activity flowchart, add it to your Word document. Part 3: Computer Program

You are free to design and implement the software however you see fit. Here are some requirements that must be incorporated into your program

1. You must display a welcome message when the program starts. At a minimum. this message should contain the name of your program, the name of the program developer and your student ID.

2. The welcome message should also have a row of asterisks at the top and the bottom, just long enough to extend over the text. Hint Use a For loop for this.

3. When the user goes to purchase tickets, they should be able to purchase a child, adult, senior or concession ticket(s). Each ticket category should cost a different amount; it's up to you to choose how much each ticket costs. They should be able to purchase as many tickets (across all categories) as they like

4. When the user goes to finalise their order, the total cost should display on screen. Your program should then ask the user to enter their (fake) credit card details, check the credit card details and. if 'valid', display a final receipt

5. Finally, the program should backup the transaction into a text file

Reference no: EM132431533

Questions Cloud

Identify and describe the markets marriott targets : Identify and describe the markets Marriott targets using their Demographics segmentation,Psychographics segmentation and Behavioral segmentation? Explain
What are the strengths of macro-scale research : What are the strengths and Limitations of macro-scale research in helping us to understand human action?
What two services or products would work : What two services or products would work to offer for an existing aesthetic's company that would be new to that company that could also be offered to another co
In what ways does managed care manage costs : In what ways does managed care manage costs? Is care compromised in the process? Describe the difference between employer-sponsored health insurance plans.
Describe the behavior of the ticket sales system : Create an activity chart which describes the behavior of the ticket sales system and describes the function of the program and how it is to be tested
Marketing department of a company : After a failed research program, the marketing department of a company was doing a post-mortem of the results. Their attention turns to the research
Deviance and Social Control Assignment : SOC 345 Deviance and Social Control Assignment help and solutions:-What factors lead some stigmatized groups to fight their social labels, while others accept.
Difference in any product or service : Successful marketing is vital to every business. Understanding customer wants and needs can make the difference in any product or service.

Reviews

Write a Review

Python Programming Questions & Answers

  Write a python program to implement the diff command

Without using the system() function to call any bash commands, write a python program that will implement a simple version of the diff command.

  Write a program for checking a circle

Write a program for checking a circle program must either print "is a circle: YES" or "is a circle: NO", appropriately.

  Prepare a python program

Prepare a Python program which evaluates how many stuck numbers there are in a range of integers. The range will be input as two command-line arguments.

  Python atm program to enter account number

Write a simple Python ATM program. Ask user to enter their account number, and print their initail balance. (Just make one up). Ask them if they wish to make deposit or withdrawal.

  Python function to calculate two roots

Write a Python function main() to calculate two roots. You must input a,b and c from keyboard, and then print two roots. Suppose the discriminant D= b2-4ac is positive.

  Design program that asks user to enter amount in python

IN Python Design a program that asks the user to enter the amount that he or she has budget in a month. A loop should then prompt the user to enter his or her expenses for the month.

  Write python program which imports three dictionaries

Write a Python program called hours.py which imports three dictionaries, and uses the data in them to calculate how many hours each person has spent in the lab.

  Write python program to create factors of numbers

Write down a python program which takes two numbers and creates the factors of both numbers and displays the greatest common factor.

  Email spam filter

Analyze the emails and predict whether the mail is a spam or not a spam - Create a training file and copy the text of several mails and spams in to it And create a test set identical to the training set but with different examples.

  Improve the readability and structural design of the code

Improve the readability and structural design of the code by improving the function names, variables, and loops, as well as whitespace. Move functions close to related functions or blocks of code related to your organised code.

  Create a simple and responsive gui

Please use primarily PHP or Python to solve the exercise and create a simple and responsive GUI, using HTML, CSS and JavaScript.Do not use a database.

  The program is to print the time

The program is to print the time in seconds that the iterative version takes, the time in seconds that the recursive version takes, and the difference between the times.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd