The following instructions/information are attached.
1. Menu system for guests to: 1. [View/display available seating 1. An available seat is indicated with a "a" (lower case a) 2. An already occupied seat is indicated with a "X" (capital x) 3. There must be 2 social distancing seats (available seats) between each occupied seat on a row. 1 row distance between each row. Bulk tickets that are purchased can sit next to each other. 4. Provide 3 types of seating 1. Front Seat with price $80. Rows 0-4 2. Middle Seat with price $50. Rows 5-10 3. Back Seat with price $25. Rows 11-19 2. (Buy/purchase a ticket and provide receipt with state tax of 7.25% including an additional mandatory mask fee of $5.00 1. When a purchase is made, ask the user for their name & email address 3. (S)earch by name will display the tickets purchased by a user with a specific name. 4. (Djisplay all purchases, Prints all the purchases made and shows the total amount of income/money that the venue has made. 5. [Q]uit 2. Tickets can be purchased 1 at a time or in bulk. For example, a user can ask to buy 15 tickets and they should be given pricing and a group of 15 tickets available for the type of ticket they wish to buy (Front, Middle, or Back)
3. Seats should be labelled by rows and columns in a rectangular format 1. Rows are indicated with numbers 2. Columns are indicated with letters 4. Your software should provide 520 seats (20 x 26) as shown in the images below. 5. Your software saves data seating and purchase data into a json file as transactions are completed. When the application restarts (is quit and ran again by the user), the last saved information is loaded/restored. So, seating and purchase information is not lost.
Concert layout before any purchases have been made bcdefghijklm w x y z аааааааааааааааааааааааааа ааааааааааааааааааааааааа 2 аааааааааааааааааааааааааа 3 аааааааааааааааааааааааааа 4 аааааааааааааааааааааааааа 5 аааааааааааааааааааааааааа 6 аааааа ааааааааааааааааааа 7 аааааа аааааааааааааааааа 8 ааааааааааааааааааа ааааа 9 аааааааааааааааааааааааааа 10 аааааааааааааааааааааааааа 11 аааааааааааааааааааааааааа 12 аааааааааааааааааааа ааааа 13 аааааааааааааааааааааааааа 14 аааааааааааааааааааа ааааа 15 ааааа ааааааааааааааааа 16 ааа аа ааааааааааа ааааа 17 ааааааа ааааааааааааааааа 18 а аа аа ааааа ааааа 19 aaa ааааа з оооо оооо. оро о . Concert layout after a few purchases have been made St дахааххасахаахаа хааха xxxxx 1 аааааааааааааааааааааааааа 2 хххаа хааххаа хааххххаа хааха 3 аааааааааааааааааааааааааа 4.0 X X X аааххаахх хо. р хоор DDDDDDDDDDDDDDDDDDDDDDDDDDS баааахаа ах ааааааааааааааааа 7 аааааааааааааааа ааааааааа В аа аа аа хаааахааахххаааааахх рррррррррррррррр 6 DDDDDDDDD DD DDD оооо DOO 10 ааааааахаааааааааааааааааа 11 аааааааааааааааа ааааа 12 аааааааааааааааа ааа 13 аааааааааааааааа ао ааааа 14 аааааааааааааааааааааааааа 15 аа аа аааааааааа ааааааааа 16 аааааааааааааааааааааааааа 17 аа аааааааааааааааааааааааа 18 аа аа ааааааааааааааааааааа 19 аааааааааааааааааааааааааа .
Task 2 1. Design and plan on paper first. This assignment is not trivial. So, think about how to do it with diagrams and pseudocode before you start coding. 2. Design your data structures and how you will store the data 1. The seating is a rectangular shape. Each row in isolation looks like an array of things (a, a, a, ...). So, using an array to store this data is good & logical thinking. 2. If each row is an array, then the rectangular shape is "an array of arrays" or so-called 2-dimensional (2d) array. Array of arrays can be indexed like this. 3. Another possibility and high-performance data structure is to use a dictionary of dictionaries to store the data. 4. Other data structures & designs may work too. These are just ideas for you to consider. 5. Here is some example code that student can consider using. Task 3 1. The first two functions I would write are: 1. CreateSeatingo - creates seating with all seats available returns an intialized seatData (full of a's) 2. PrintSeating(seatData) - takes in seatData and prints it Your main routine should use and call functions. Trying to write this as one long piece of code without functions is a bad idea. It will cause you unnecessary problems and make it very hard to debug. 2. Write a program that creates a empty concert CreateSeating() with all available seats and prints it out to screen using PrintSeating(seatData). Make sure your data is stored in your variables as you expect using the debugger. 3. As you work and make small changes to your code, perform a GitHub commit and include a short concise commit message to continue to help build up your Git history through development 4. Perform a GitHub push to save your work to GitHub.com 5. Repeat the edit code, git commit, git push process until you have completed this task.
Task 4 1. Add to it a system that allows purchasing and reserving 1 ticket 2. As you work and make small changes to your code, perform a GitHub commit and include a short concise commit message to continue to help build up your Git history through development 3. Perform a GitHub push to save your work to GitHub.com 4. Repeat the edit code, git commit, git push process until you have completed this task. Task 5 1. Add the accounting, receipt, and price purchasing functionality 2. Add the ability to save and restore your data structures 3. As you work and make small changes to your code, perform a GitHub commit and include a short concise commit message to continue to help build up your Git history through development. 4. Perform a GitHub push to save your work to GitHub.com 5. Repeat the edit code, git commit, git push process until you have completed this task. Task 6 1. Add the logic and revise the system to constrain seating for social distancing 2. Add the remaining features 3. As you work and make small changes to your code, perform a GitHub commit and include a short concise commit message to continue to help build up your Git history through development. 4. Perform a GitHub push to save your work to GitHub.com 5. Repeat the edit code, git commit, git push process until you have completed this task. Task 7 • Continue to refine the assignment and work on the features. • As you work and make small changes to your code, perform a GitHub commit and include a short concise commit message to continue to help build up your Git history through development. • Perform a GitHub push to save your work to GitHub.com Repeat this task until you complete the homework assignment. .
The following instructions/information are attached.
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
The following instructions/information are attached.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!