Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

DO QUESTION 2 PLEASE Consider developing a system using C++ to manage the sale of tickets of the Nippert Stadium, which has a capacity of

DO QUESTION 2 PLEASE

image text in transcribed

Consider developing a system using C++ to manage the sale of tickets of the Nippert Stadium, which has a capacity of seating 35,097 people with a wide variety of seating configurations, designed according to different types of sports events. Shown below are the sections for football and soccer games. CLUB SECTION 122 118 119 120 121 122 123 124 125 126 117 INOZU 116 WEST SIDELINE NOIS ISM 131 132 115 114 133 THE RAME PLL BEARCATS LAIR 113 134 135 112 TUL EAST SIDELINE NOS ISV 111 OLL SUE 110 109 108 107 106 105 104 103 102 216 213 212 211 201 202 203 210 209 208 207 206 205 204 203 202 N3A ALISOVA 1. Design the skeleton' of the program for the ticket sale system using the traditional imperative programming paradigm, using an ADT struct, called TicketInfo, to capture the key information about the ticket, such as seat, price, and event. Notice that the seat can be represented by an multi-dimensional array, capturing the spatial nature of the layout and a specific seat location, that is, in terms of sections, rows and columns. Provide a snippet of code in the main program to ask ticket buyers the type of ticket they are interested in buying, then call a function printTicket to print out the tickets by passing a multi-dimensional array as an argument. (15 points) 2. Now, use the same problem domain given in Problem 1 above, but design the system using OOAD/OOP. The first step of an OOP design is to describe the problem at hand, that is, you ought to provide in writing (in English words, sentences, paragraphs) a narrative of a typical scenario for the application (i.e., the Ticketron/TicketMaster office selling a ticket to a buyer), highlighting the workflow of the transaction, the exchange of information needed for selection of the seats in a transaction between the system and the buyer. Make a list of the essential concepts' captured from the scenario given. (10 points) Consider developing a system using C++ to manage the sale of tickets of the Nippert Stadium, which has a capacity of seating 35,097 people with a wide variety of seating configurations, designed according to different types of sports events. Shown below are the sections for football and soccer games. CLUB SECTION 122 118 119 120 121 122 123 124 125 126 117 INOZU 116 WEST SIDELINE NOIS ISM 131 132 115 114 133 THE RAME PLL BEARCATS LAIR 113 134 135 112 TUL EAST SIDELINE NOS ISV 111 OLL SUE 110 109 108 107 106 105 104 103 102 216 213 212 211 201 202 203 210 209 208 207 206 205 204 203 202 N3A ALISOVA 1. Design the skeleton' of the program for the ticket sale system using the traditional imperative programming paradigm, using an ADT struct, called TicketInfo, to capture the key information about the ticket, such as seat, price, and event. Notice that the seat can be represented by an multi-dimensional array, capturing the spatial nature of the layout and a specific seat location, that is, in terms of sections, rows and columns. Provide a snippet of code in the main program to ask ticket buyers the type of ticket they are interested in buying, then call a function printTicket to print out the tickets by passing a multi-dimensional array as an argument. (15 points) 2. Now, use the same problem domain given in Problem 1 above, but design the system using OOAD/OOP. The first step of an OOP design is to describe the problem at hand, that is, you ought to provide in writing (in English words, sentences, paragraphs) a narrative of a typical scenario for the application (i.e., the Ticketron/TicketMaster office selling a ticket to a buyer), highlighting the workflow of the transaction, the exchange of information needed for selection of the seats in a transaction between the system and the buyer. Make a list of the essential concepts' captured from the scenario given. (10 points)

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

Pro Database Migration To Azure Data Modernization For The Enterprise

Authors: Kevin Kline, Denis McDowell, Dustin Dorsey, Matt Gordon

1st Edition

1484282299, 978-1484282298

More Books

Students also viewed these Databases questions