Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

helpCLO 3 : Construct computational solutions using appropriate data structures. ( P 4 ) Instruction Queue is a linear data structure that follows First In

helpCLO3: Construct computational solutions using appropriate data structures. (P4)
Instruction
Queue is a linear data structure that follows First In First Out (FIFO). Priority queue on the
other hand operates with relaxed FIFO based on priority rules.
A bank has classified their customer based on tiers. The tiers determine their priority for
counter service. Develop a prototype of a queue management system (QMS) using a priority
queue for the bank with the following priority rules.
i. Silver customer does not have any priority.
ii. Gold customer may skip 5 people in the queue.
iii. Platinum customer should be entertained first.
iv. Customers of the same tier should be treated as FIFO.
You prototype should contains the following functionalities:
Registering new customer into the queue.
Call the customer in the queue for service.
Check the remaining customer in the queue.
Test your prototype using a menu-based console application.
Submission
For this assignment, you need to submit the following items:
JAVA source code.
image text in transcribed

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

Database Concepts

Authors: David Kroenke, David J. Auer

3rd Edition

0131986252, 978-0131986251

More Books

Students also viewed these Databases questions