Question: PURPOSE The purpose of this assignment is to analyse programming problems and determine requirements to solve the problems. TUJUAN Tujuan tugasan ini adalah untuk menganalisis

PURPOSE
The purpose of this assignment is to analyse programming problems and determine
requirements to solve the problems.
TUJUAN
Tujuan tugasan ini adalah untuk menganalisis masalah pengaturcaraan dan menentukan
keperluan untuk menyelesaikan masalah.
PART I / BAHAGIAN I
You are required to design a program for BJ Parking Ticket System. This program will be
installed in every automated parking ticket machine. Each visitor will insert their parking ticket
to pay the parking charges. Upon inserting the ticket, the machine will automatically calculate
the parking charges based on hours and minutes. The tariff rates charges as stated below:
The parking charges will then be displayed at the screen and the visitor will then make
payment in notes. Only RM10.00, RM5.00 and RM1.00 notes are acceptable. The machine is
able to dispense change in notes and the parking ticket will be printed out stated the hours
and minutes, payment charges and balance if any. Payment receipt can be printed out if the
visitor press receipt button.
Note: Assuming that there must have an input for hours and minutes.B] PARKING TICKET SYSTEM
Insert parking ticket
Enter hour 2
Enter minute 30
Duration parking : 2 hours 30 minutes
Parking Charges: RM 4.00
Please insert payment RM4.001.00
Tota1: RM 1.00
Please insert payment RM3.001.00
Total: RM 2.00
Please insert payment RM2.001.00
Total: RM 3.00
Please insert payment RM1.001.00
Total: RM 4.00
wait for parking ticket to be printed out !!!
Do you want a receipt Y
Printing receipt
Thank You.
BJ PARKING TICKET SYSTEM
Insert parking ticket
Enter hour 7
Enter minute 0
Duration parking : 7 hours
Parking chargers : RM 5.00
Please insert payment RM5.005.00
Total: RM 5.00
wait for parking ticket to be printed out !!!
Do you want a receipt N
Thank You
REQUIREMENT / ASSIGNMENT QUESTION
Based on the above programming problem:
i. Analyse the problem to identify required items to be used in designing algorithm
ii. Write an algorithm in a pseudo code
iii. Draw a flowchart based on the pseudo code
iv. Produce a Tracing Table that will show the projected values.
Note: You are NOT required to write programming codes for this assignment.
[Total: 20 marks]
 PURPOSE The purpose of this assignment is to analyse programming problems

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!