FIT3155: 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: Advanced data structures and algorithms Assignment, MUM, Malaysia
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.
Get Help By Expert
Malaysia Assignment Help is one of the best websites if you're looking for FIT3155: Advanced data structures and algorithms Assignment solution. we have a dedicated team of efficient programming assignment writers who are always ready to write the proper solution for computer science assignments so that you will rank high at the lowest price.
Recent Solved Questions
- CBMS4303: Organizational integration happens when a company’s internal and external factors successfully mesh: Management Information System Assignment, OUM, Malaysia
- ACW1020: Top Glove Corporation Berhad (TGCB) is a leading rubber glove manufacturer: Accounting in Business Assignment, MUM, Malaysia
- MAT1106: A company makes (window) frames and doors. It makes a profit of $30 on frames and $35 on a door: Business Mathematics Assignment, IIU, Malaysia
- Draw the structures of the following compounds showing every orbital involved in the sigma: Organic Chemistry Assignment, UNIMAS, Malaysia
- Determinants of customer loyalty in the property industry in Johor Bahru The research objectives: Business Thesis Proposal, MUM, Malaysia
- Conventional energy sources like coal, gas, and oil are rapidly depleting while the world energy demand is growing more rapidly: Master of Energy Systems Assignment, UOM, Malaysia
- you are required to draw a Standard of Procedure (SOP) of petty cash counter operations: Accounting Assignment, OUM, Malaysia
- Naval Collaboration is very important to our country in facing various threats both internally and externally: Naval collabration Essay, MUM, Malaysia
- The mean daily milk production of a herd of goats has a normal distribution with a mean of 70kg and a standard deviation of 13kg What is the probability that: Statistics Assignment, SU, Malaysia
- ETMS63020: Explain with applicable relevant examples how would you apply the following didactical principle: Economic and Management Sciences Teaching 1 Assignment, SPU, Malaysia