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
- BNNS 6274: Orthopaedic and Neurovascular Nursing Assignment, LUC, Malaysia Malaysia has a higher prevalence rate of osteoporosis. The prevalence of osteoporosis is projected to be higher
- Computer Programming Assignment, APU, Malaysia Write a C function named CalDeposit() that calculates the amount of deposit money that needs to be prepared by the home buyer
- The purpose of this assignment is to examine the issues and trends in operations management: managing operations of business Assignment, UTM, Malaysia
- BAMS1743 : JUNE 2023- Quantitative Methods, Assignment , TAR UMT, Malaysia
- MDS502: Data Management Assignment, CU, Malaysia ability to create a database system and design a model for comprehensive data management
- NBBS1313: Psychology and Sociology for Nurses Assignment, OUM, Malaysia Describe the basic psychological and sociological concepts and theories to recognize the appropriate critical approaches
- Green Earth Organic Products is planning to introduce a new line of organic food: Marketing Management, Case Study, UM, Malaysia
- Food and Beverages at Southwestern University Football Games: Decision Making in Business Case Study UNM, Malaysia
- You are expected to conduct a presentation of the feasibility of the project based on the location: Project Management Assignment, TU, Malaysia
- Animal Crossing Thesis, OUM, Malaysia The rationale of the study is to investigate the communicative competence of the English language among Malaysian adult players