FIT3155: Advanced data structures and algorithms Assignment, MUM, Malaysia Write a program that implements a binary heap and binary search tree data structure to manage a list of job requests in a computer repair shop
University | Monash University Malaysia (MUM) |
Subject | FIT3155: Advanced data structures and algorithms |
Question 1: Computer repair Priority Queue System
Write a program that implements a binary heap and binary search tree data structure to manage a list of job requests in a computer repair shop.
The program shall fulfill the following requirements:
- Design a binary heap data structure to store a list of job requests. Each job request consists of request id, description, priority and status.
- Provide a menu that allows a user to perform the following operations until the option 4 (exit) is selected:
- Add a new job request
- Retrieve a job
- View job sumarry
- Exit
- If user selects option 1 (Add a new job request), the program shall add a new job request (0 value in status to represent new request) into the binary heap. Allow user to assign appropriate priority for the job (1-5. 1 for high and 5 for low).
- If user selects option 2(Retrieve a job request), the program shall retrieve the highest priority job from the binary heap and move it into a binary search tree (use request id as the key in binary search tree) and update the status to 1(close).
- If user selects option 3 (View job summary), the program shall display a list of jobs’ information (in tabular format) based ont the job status (0 or 1) entered by user.
- The program shall demonstrate a good OOP design, data validation and error handling
Get Solution of this Assessment. Hire Experts to solve this assignment for you Before Deadline.
Answer
Recent Solved Questions
- Fluid Mechanics Assignment, UPM, Malaysia A water pump is used to pump water at temperature T, with a minimum flow rate of 100 L/min from one large reservoir
- BUSN11079: Analytical Thinking And Decision Making Report, UWS, Malaysia Discuss The Value Of Decision Analysis Within The Context Of An Organization
- A firm must choose from five capital budgeting proposals listed below. The firm is subject to capital rationing: principle of finance Assignment, UOW, Malaysia
- Cognitive Development Assignment, AeU, Malaysia Creativity can manifest in many ways in children, depending on their interests and abilities. Some children may have a talent
- DPM10013: Principles of Marketing Assignment, PM, Malaysia ABC Mart is a 24-hour convenience store. It serves nearby residential communities and commercial and business
- Accounting and Business Finance Dissertation, HWU, Malaysia It should be read in conjunction with the material available on CANVAS
- Business Statics Assignment, SU, Malaysia In 2004, ratings are compiled concerning the performance of new cars during the first 100 days of use
- Cyber Security Case Study, APU, Malaysia Develop a Secure Cloud Storage that can encrypt and decrypt the files using AES and RSA cryptography
- FIN60804: Future and Options Assignment, TU, Malaysia As a Finance student, you may consider embarking on personal trading in the future to generate additional income or to become a professional trader
- LAW1014 Business Law Course Work, SU, Malaysia Discuss the application of the doctrine of caveat emptor with particular reference to the implied conditions