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
Recent Solved Questions
- Ahmad is attempting to perform an inventory analysis on one of his most popular products: Production Operation Management Home Work, UUM, Malaysia
- Auditing Assignment, MUS, Malaysia Discuss the importance and types of audits in an organization and Suggest the possible issues related to the financial statement
- Economics Report, UON, Malaysia Globally the number of people living in extreme poverty declined from 36 percent in 1990 to 10 percent in 2015
- BAFF0023: Economics and Society, Assignment UITM, Malaysia
- FAR610 Advanced Financing Accounting and Reporting 1/ FAR620 Consolidated Financial Statements Assignment Group Project SEM 2025/2026
- Business Ethics Essay, CU, Malaysia Having seen arguments concerning the various morally controversial issues, and the applications of the different ethical theories to them
- Select any one of Malaysia’s public listed firms from the sector of construction/plantation/ property only: Finance Assignment, AUTI, Malaysia
- International Building Control Report, TARC, Malaysia Human effort in the organization is indispensable. It constitutes a complex phenomenon for managers of such organizations
- ENGLISH Assignment, OUM, Malaysia Trendy is a new line of skin-care products which use seeds, flowers and fruits as the main ingredients
- Managing Organizations Case Study, UUM, Malaysia On a hot and dry afternoon in May 2014, Shiekh Farrukh Niaz, chief executive officer and owner of Pak Sweets