Computer Science 2023 The Toll Booth
2023 The number of vehicles which are passing through the toll booth requires the use of | Assignment Collections
The number of vehicles which are passing through the toll booth requires the use of an
automated system to keep track of the revenues which are being observed daily. Your
assignment is to simulate the traffic through a single booth and to record the revenues collected.
There are 3 categories of vehicles which travel through the booth represented by the vehicle
code: 1, 2 and 3 respectively. The fee charged – varies daily based on the exchange rate, as such a
rate sheet is to be used to identify the fees for vehicles within each category.
You and your classmates are required to flesh out a solution by using flowcharts and
pseudocode.
Required:
A. A classmate has rightly suggested the use of a loop to process the vehicles. Describe the
THREE (3) types of loop structures at your disposal and provide a rationale for the ONE
(1) you will use to solve the problem. (4 marks)
B. What other control structure is going to be essential in generating a solution and why?
(2 marks)
C. How would you appropriately represent the rate sheet as described, given your knowledge
of storage elements? Provide a diagram to explain your answer. (4 marks)
D. Construct a flowchart that will solve the problem described. (5 marks)
E. Convert your flowchart into an appropriate pseudocode. (5 marks)
We give our students 100% satisfaction with their assignments, which is one of the most important reasons students prefer us to other helpers. Our professional group and planners have more than ten years of rich experience. The only reason is that we have successfully helped more than 100000 students with their assignments on our inception days. Our expert group has more than 2200 professionals in different topics, and that is not all; we get more than 300 jobs every day more than 90% of the assignment get the conversion for payment.