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
- AINT003-4-C: You are required to develop a website with an appropriate web development tool: Web Design And Technology, Individual Assignment, APU, Malaysia
- Management Assignment, MU, Malaysia Select any ONE restaurant chain in Malaysia that you are familiar with. Compare decision-making in certain conditions
- Economic Principles and Issues Assignment, UiTM, Malaysia In the study of microeconomics, the understanding of Price Elasticity of Demand is paramount to the strategy
- Management Information Systems Report, AU, Malaysia To create a report and dashboard of sales analytics. Also, using the power bi technique, different customer types, product groups
- BAGB1013: Evaluate the president of the Malaysian Association of Hotels (MAH), Datin Christina Toh’s, optimism: Principles Of Management Essay, UIU, Malaysia
- Engineering Mathematics Report, UTM, Malaysia Solve the following initial value problem by using the Taylor series method and improved Euler’s method Compare your results with the exact solution
- Accounting and Finance Management Assignment, UM, Malaysia Develop a spreadsheet model and use it to find the project’s NPV, IRR, and payback period. Conduct sensitivity analysis to determine
- Business Research Method Assignment, USM, Malaysia It begins with Data Screening & Cleaning. Next, the Profile of Respondents will be presented followed by the Reliability
- PCFE4013: This is an individual assignment that requires the students to do a summary writting on a selected articles: Foundations of Health and Epidemiology Assignment, ILKKM, Malaysia
- Corporate Innovation and Entrepreneurship Assignment, UiTM, Malaysia Corporations need to re-strategies their business to the market demand and remain competitive. Corporate entrepreneurship