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
- Renewable Energy Assignment, UKM, Malaysia Planning an energy supply system i.e. hot water & PV, space heating, or cooling on the council house
- LAW2220E Business Law August 2025 Session Individual Assignment
- GSGM7324 Organisational Development and Change Management Assignment Malaysia
- MGT6206: Individual Project May 2024: Optimizing Supply Chain Visibility in a Multinational Corporation (MNC): Operations Management, Assignment, INTI, Malaysia
- LAW034: Introduction to Legal Theories Assignment, UiTM, Malaysia You are the renowned constitutional law expert in the country and have a column in a local daily
- MPIS7103 – Management Information Systems, Assignment 1, CU, Malaysia
- AACS3064: Computer Systems Architecture TARC, Malaysia Suggest an application program/system which includes arithmetic computations from any one of the following industries/system
- Select any one of Malaysia’s public listed firms from the sector of construction/plantation/ property only: Finance Assignment, AUTI, Malaysia
- Advanced Financial Management Assignment, UUM, Malaysia Show an excellent description and discussion of issues and material with evidence of critical evaluation of issues and material
- Business Law Assignment, TU, Malaysia On 1.12.2022, Marie offered to sell her porcelain doll to Lisa at RM200.00. Six days later, on 7.12.2022 Lisa rang Marie