Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

This assignment has a number of requirements. Carefully read the document and note all the requirements. Also keep in mind that many of the requirements

This assignment has a number of requirements. Carefully read the document and note all the requirements. Also keep in mind that many of the requirements for this assignment are module; that is if one requirement is not implemented, it will not affect another. For example, you can implement adding a seat without having removing a seat working. You can reserve and unreserve seats without having saving and loading working. To maximize your mark, try to complete as many requirements as possible, do not get stuck on one requirement and spend all of your time trying to get it to work at the neglect of other requirements. Write a program that functions as a concert/restaurant/airplane/etc. reservation system. This system must be sufficiently complex, with a minimum of 4 rows with 4 seats in each row. You must display the seats on the screen in some manner and indicate which are available and which are taken, it is up to you to decide how to do this. You may display the seating in any display format that you feel is appropriate as long as it logically conveys the information to the user. [4 Marks] Example seating chart: *Seat 1-1*Seat 1-2*Seat 1-3*Seat 1-4* *Seat 2-1*Seat 2-2*Seat 2-3*Seat 2-4* *Seat 3-1*Seat 3-2*Seat 3-3*Seat 3-4* *Seat 4-1*Seat 4-2*Seat 4-3*Seat 4-4* Allow the user the following options: Add a customer to the seating plan [8 Marks] i.Request the customer's name ii.Display a list of the seats in the venue iii.If seats are available, let the customer choose a seat. Add the customer to the seating chart on the application. For example, after adding a customer the seating chart would become: ************************************* *Seat 1-1*Seat 1-2*Seat 1-3*S. Claus* *Seat 2-1*Seat 2-2*Seat 2-3*Seat 2-4* *Seat 3-1*Seat 3-2*Seat 3-3*Seat 3-4* *Seat 4-1*Seat 4-2*Seat 4-3*Seat 4-4* ************************************* iv.If no seats are available, inform the user Remove a customer from the seating plan [4 Marks] i.Request the customer's name or seat number ii.Search the seating chart for the customer's name or seat number and delete it Your system should show validation whenever appropriate, and function in a logical manner. For example, the system should not shut down after each operation, if a user has to fix an entry the system should not start over, etc. [5 Marks] Your system should also have File IO such that the reserved seats with who reserved them is not lost when your program shuts down. [5 Marks] Create a Test Plan: [5 Marks] Pair with another student and test their software according to a test plan. The programmer will create a series of test cases to test your specific implementation of this assignment. Example Test Plan (Test Cases are not exhaustive): Programmer: ____________________________________________________ Tester: ____________________________________________________ Test Case 1) Data entering verified. Error produced if all fields not correct. Test Case 2) Name must be greater than two characters. Test Case 3) Creating a reservation saves a seat and is shown on the screen. Test Case 4) Cannot reserve a seat that is already taken. Test Case 5) Delete a reservation removes a customer's name from the screen. Test Case 6) File loads reservations correctly. Demo to the instructor the week prior to exam week, your last class the week of December 5th. Note: 20% lost if there is no demo, still needs to be handed in and uploaded to eConestoga. Adhere to coding and assignment submission standards/guidelines. Marks will be taken off, if these standards/guidelines are not followed. This assignment will not be handed back, but marks will be made available on eConestoga prior to the exam. The format for submitting the assignment is as follows:

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Big Data Concepts, Theories, And Applications

Authors: Shui Yu, Song Guo

1st Edition

3319277634, 9783319277639

More Books

Students also viewed these Databases questions

Question

Why do HCMSs exist? Do they change over time?

Answered: 1 week ago