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
- Psychology Research Paper, SU, Malaysia Digital Storytelling Products As Means To Increase Generativity Amongst Malaysian Educators In Middle Or Late Adulthood
- DCP5201: Object Oriented Programming Assignment, BAC, Malaysia I need a standalone console application that can keep track of my restaurant sales. Customers will typically order food and drinks
- Safety, Health and Welfare Assignment, AMU, Malaysia What are the lessons we have learned in the past from handling Covid 19 Pandemic to prepare for any anticipated new outbreak
- BTEE3013: Communication Systems Principles Assignment, TARC, Malaysia Recent development in the Internet of Things (IoT) has enabled many devices, either fixed or portable to be interconnected
- Assignment : New Balance Marketing Plan: Enhancing Brand Value in Malaysia 2024 Taylor’s University (TU)
- DGM40102: Plant Maintenance Report, PM, Malaysia Apply the fundamentals of plant maintenance knowledge in related industries. Perform the plant maintenance working flow
- FIN30014: Financial Risk Management Case Study, SUT, Malaysia Industrial commodities in China mostly rose as the number of Covid-19 cases fell and the government began to loosen the restrictions
- BBCE3013: MALAYSIAN ECONOMY Assignment, OUM, Malaysia Analyze and describe clearly the proposed issue or problem using appropriate tools or any relevant materials such as graphs.
- Web-Based Hotel Booking System Assignment: Zyphora Suites Case Study for Seamless Reservation and Member Experience
- Financial Accounting and Reporting I Assignment Sept 2025 | MSU