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
- Manufacturing Technology Essay, UTHM, Malaysia Demonstrate the need for sustainable development in the manufacturing process. What are the problems/issues
- BBCE1023: Principles Of Macroeconomics Assignment, (TAR UMT), Malaysia
- ESE633: Statistics of Education Assignment, AeU, Malaysia An English test was administered to two classes of secondary school students. Explain the distribution
- ACC 116: Introduction To Cost Accounting Assignment, UiTM, Malaysia Limau Manis Sdn Bhd is a medium-sized company that manufactures a variety of pickles in the northern region of Malaysia
- Entrepreneurship Essay, MSU, Malaysia If you had to advise an entrepreneur who is considering entering this country to sell his product, what would you say about strategic issues
- Financial Planning Case Study, APU, Malaysia Deven and Sarita’s years have been married for the past 10 years. They have two children, Raju and Shanti
- MEMB2044 Theory of Machines Semester 2 Assignment Malaysia
- Palm Oil & Oleochemicals Course Work, CU, Malaysia The Oil Palm was first introduced in Malaysia in the early 1870s, as an ornamental plant. In 1917, the first commercial
- SBFS1103: Thinking Skills and Problem Solving Assignment, OUM, Malaysia A team of five persons is responsible for negotiating the prices of cables that suppliers provide to your company
- PAF3043: Financial accounting Assignment, UPSI, Malaysia Golden Phoenix Bhd is a manufacturing company engaged in food and beverages industries