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
- DCS20603: Web programming Assignment, MSU, Malaysia You Requires to create a complete web application using PHP script and RDBMS based on earlier tasks done
- BMG306/03: Introduction to International Business Assignment, WOU, Malaysia A central bank, reserve bank, or monetary authority, is an entity responsible for the monetary policy of its country
- Economic Principles and Issues Assignment, UiTM, Malaysia In the study of microeconomics, the understanding of Price Elasticity of Demand is paramount to the strategy
- TBE103/03: Environmental Science and Design Report, WOU, Malaysia Green and sustainable development is globally promoted, and “Go Green” initiatives are also widely being encouraged in the country
- MPA10203: Operation Management Assignment, UTHM, Malaysia Choose a local company that manufactures products or provides services
- TCP3151: Integrative Programming and Technologies Assignment, MMU, Malaysia Create a JNI program to calculate the electricity bill. The Java main program will request the user to provide the total electricity
- Nursing Thesis, USM, Malaysia Physical restraint (PR) is the term used to describe limiting a patient’s motions and preventing them from moving around
- DFN5214: Fundamentals of Finance 2 Assignment, MMU, Malaysia Mutiara Berhad is interested in measuring its overall cost of capital. The current investigation has gathered the following data
- Real Estate and Property Finance Assignment, Malaysia
- LAW498: Law of Torts II Assignment, UiTM, Malaysia Miza owns a house in the middle of a heavily agricultural area in Kampung Permatang. She lives with her husband