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 RM RM and RM 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
Enter minute
Duration parking : hours minutes
Parking Charges: RM
Please insert payment RM
Tota: RM
Please insert payment RM
Total: RM
Please insert payment RM
Total: RM
Please insert payment RM
Total: RM
wait for parking ticket to be printed out
Do you want a receipt
Printing receipt
Thank You.
BJ PARKING TICKET SYSTEM
Insert parking ticket
Enter hour
Enter minute
Duration parking : hours
Parking chargers : RM
Please insert payment RM
Total: RM
wait for parking ticket to be printed out
Do you want a receipt
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: marks
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
