Suppose the Bangladesh Bridge Authority has proposed to setup Padma Bridge toll-box at the end of...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Suppose the Bangladesh Bridge Authority has proposed to setup Padma Bridge toll-box at the end of Dhaka-Mawa highway. To store and manage daily tolls and transactions they want to install a software system. A part of that software will be implemented by you. The partial requirement is kind of following. The toll-box will have 3 counters for 3 different types of vehicles (Heavy-duty, Medium-duty, Light- duty). Each counter will serve the vehicle based on first come first serve. The vehicles will maintain a line before each counter. When a vehicle appears in a specific counter, the person sitting in the counter will give the ticket to the driver and take the toll from the driver. The person will store the information (date, car number, ticket number) of toll in the system. There is a feature in the system which will take the car number and give the information of the date and ticket number. There is also a feature in the system to calculate total earning of the day of individual counters and total earnings of all counters. Suppose the toll rates for different vehicle types are given below. Vehicle Type Heavy-duty Medium-duty Toll Rate 700 BDT 400 BDT Light-duty 200 BDT [Use proper data structures, functions, object-oriented programming principles to implement and demonstrate the above scenario. You cannot use any standard template library. All the functions of the data structure must be implemented by you.) Suppose the Bangladesh Bridge Authority has proposed to setup Padma Bridge toll-box at the end of Dhaka-Mawa highway. To store and manage daily tolls and transactions they want to install a software system. A part of that software will be implemented by you. The partial requirement is kind of following. The toll-box will have 3 counters for 3 different types of vehicles (Heavy-duty, Medium-duty, Light- duty). Each counter will serve the vehicle based on first come first serve. The vehicles will maintain a line before each counter. When a vehicle appears in a specific counter, the person sitting in the counter will give the ticket to the driver and take the toll from the driver. The person will store the information (date, car number, ticket number) of toll in the system. There is a feature in the system which will take the car number and give the information of the date and ticket number. There is also a feature in the system to calculate total earning of the day of individual counters and total earnings of all counters. Suppose the toll rates for different vehicle types are given below. Vehicle Type Heavy-duty Medium-duty Toll Rate 700 BDT 400 BDT Light-duty 200 BDT [Use proper data structures, functions, object-oriented programming principles to implement and demonstrate the above scenario. You cannot use any standard template library. All the functions of the data structure must be implemented by you.)
Expert Answer:
Answer rating: 100% (QA)
Code is written below include using namespace std enum VehicleType Lightduty M... View the full answer
Related Book For
Systems Analysis and Design
ISBN: 978-1133274636
9th Edition
Authors: Shelly Cashman, Gary B. Shelly and Harry J. Rosenblatt
Posted Date:
Students also viewed these computer engineering questions
-
Please solve this problem using C language Hacker Industries has a number of employees. The company assigns each employee a numeric evaluation score and stores these scores in a list. A manager is...
-
Define the following byte size data elements (A, B) in the data segment starting at memory offest 400h : ECH, CCH, and two word size data elements (C, D) in the data segment starting at memory offest...
-
Polydactyly (extra fingers and or toes) 1 point is a trait caused by a dominant allele, D. A woman is heterozygous for polydactylism. She marries a man who does not have polydactylism and they have a...
-
Consider a soap bubble. Is the pressure inside the bubble higher or lower than the pressure outside?
-
Let f(x|r, p) denote the p.f. of the negative binomial distribution with parameters r and p, and let f(x|) denote the p.f. of the Poisson distribution with mean , as defined by Eq. (5.4.2). Suppose r...
-
Rework Table 7.4 for horizon years 1, 2, 3, and 10, assuming that investors expect the dividend and the stock price to increase at only 6% a year and that each investor requires the same 12% expected...
-
Two spaceships approach each other at speeds of \(0.80 c\) and \(0.90 c\) relative to the sun. When they are \(5.0 \times 10^{9} \mathrm{~m}\) apart, as measured in the sun's reference frame, they...
-
Bank of America hired Atlantic Resource Management, LLC, to collect a debt from Michael E. Engler. Atlantic called Englers employer and asked his supervisor about the companys policy concerning the...
-
The Deep Water Oil Spill? What about it is important? 1)Why should managers care about protecting employee's safety? 2) What are some of the obvious issues that appeared in the film? What went...
-
Wilhelm Müller, CFA, has organized the following selected data on four food companies (TTM stands for trailing 12 months): On the basis of the data given, answer the following...
-
Find the values of x for which the range of the given polynomial function is within the prescribed interval. P(x) = x -3x - 22x + 55; range [ 11, 67] ... The values of x for which the range of the...
-
Captain Haddock thinks water is always a worse option than alcohol and prefers drinking whisky at all times. Essentially, Haddock derives 0 utility from water. Water is what is called a "useless...
-
In Ron Howard's Ted Talk, How I discovered the black art of cult branding, he lists Six major cult brand tactics that matter most when building brands and targeting customers. How I discovered the...
-
What are the key principles underlying the O(1) scheduler in the Linux kernel, and how does it achieve constant-time scheduling decisions regardless of the number of processes in the system?
-
Suppose one Euro can purchase 1.25 U.S. dollars today in the foreign exchange market, and currency forecasters predict that the U.S. dollar will appreciate by 25% against the Euro over the next 60...
-
At what point should we stop a Fishbone Diagram during its analysis? What problems can be foreseen in an NGT way of attaining a decision? Can Delphi technique be used to help with NGT? Can Project...
-
List 5 Business Uses of Location Analytics? In what way a business can use location data?
-
Provide a draft/outline of legal research involving an indigenous Canadian woman charged with assault causing bodily harm under (Sec 267b) of the Criminal Code, where the crown wants a 12-month jail...
-
Most people agree that business e-mail can be more conversational than formal written documents, but even e-mail has its limits. As a manager, what guidance would you give people regarding e-mail...
-
Define unit testing, integration testing, and system testing.
-
Define detail reports, exception reports, and summary reports. Explain the concept of a control field and how it is used to produce a control-break report.
-
Discuss four important risk and tax-related considerations that are relevant to Omos portfolio. With most of Omos personal net worth tied up in his software company, he is asset rich but cash poor....
-
Determine the most appropriate strategy that can generate liquidity and accomplish Omos goals. Justify your response. Jing asks Omo about his plans for the shares of his previous employers company....
-
Discuss two estate planning objectives revealed in Hinkles discussion with Enlow. Enlow wants to transfer some of his wealth to his niece and nephew but isnt sure whether he should use lifetime gifts...
Study smarter with the SolutionInn App