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
- TMT2673: Object oriented software development Assignment, UMS, Malaysia Develop ONE (1) activity diagram to represent the general or business process of the proposed system in the Assignment Specification file
- Association between food insecurity and cognitive function among older adults Research Paper, UOS, Malaysia What is the association between cognitive functioning and food insecurity in the Malaysian older population aged 60 years and above
- Organic Chemistry Assignment, UNIMAS, Malaysia Draw the structures of the following compounds showing every orbital involved in the sigma
- As the Chief Financial Officer (CFO) of a public listed company (property sector) in Bursa Malaysia, you are evaluating an investment opportunity in a new project in Cyberjaya, Selangor: Corporate finance, Assignment, Malaysia
- BBMC4103: Change Management Assignment, OUM, Malaysia Few firms can thrive in the face of constant change Although change is difficult to accept, it is your responsibility
- DPM10013 Principle of Marketing Course Work PM Malaysia Draw Three marketing channels for the consumer market with appropriate examples
- PHYS1010D: A basketball player attempts to siioor from the position as shown in FIGURE 1 below. The angle o is the shooting angle: General Physics Assignment, Singapore
- MBOC7063 Research Methodology Continuous Assessment 1 Literature Matrix
- STA404: Statistics for Business and Social Sciences Assignment, UiTM, Malaysia There is an increasing trend in purchasing the laptop due to the pandemic Covid19
- BAFF0023: Economics and Society, Assignment UITM, Malaysia