The Federation University Australia Robot Wars are about to commence! The competitors are
training and now it's 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
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
Your submission should consist of a Word document containing the first two parts of the assignment,
and three Python scripts that implement the computer program (ticket.py, checkout.py and main.py).
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.
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 https://draw.io (preferred), 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.
CRICOS Provider No. 00103D ITECH1400 Assignment 1 Summer 2019-20 Page 3 of 4
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
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
Recently Asked Questions
- Hi, I need assistance on how to solve this question due to complexity of the question. I am unable to solve the question. Thank you.
- Hi, i'm not sure on how get over this kind of question. Do help me clear my confusion.
- Q1) Write the pseudocode for an algorithm that will allow the user to input a certain number of seconds.The program then should calculate how many hours,