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
- BACS2023: In this assignment, students are required to build a professional event management system: OBJECT-ORIENTED PROGRAMMING Assignment, UITM, Malaysia
- ACC116: Introduction To Cost Accounting Assignment, UITM, Malaysia Rising Fast Sdn Bhd manufactures a complete line of fiberglass attaché cases and suitcases
- ADS404: Introduction to Public Administration Assignment, UiTM, Malaysia All the country in the world has their own system to govern their state such as democratic, communist, totalitarian
- Find an initial solution to the following transportation problem: Optimization Technique Assignment, UMP, Malaysia
- MPME7113: Select an article from an academic journal in economics. The article must focus on a topic in Managerial Economics: MANAGERIAL ECONOMICS Assignment, CUM, Malaysia
- DLL5064: School Effectiveness and Improvement Essay, MSU, Malaysia Identify the leaders in the curriculum at both the building and education. Identify and comprehend the importance
- COMP1030: Write an ARM assembly program to implement the Breadth First Search: Systems Architecture Assignment, UNMC, Malaysia
- Website Development Report, NEC, Malaysia The owners of the company are eager to have a high-quality website and have asked you to provide them with information
- DEE20033 Digital Electronics Report PM Malaysia The SR flip-flop, also known as an SR Latch, can be considered as one of the most basic sequential logic circuits possible.
- Management & Innovation Report, HWU, Malaysia Prepare a detailed report in terms of identifying the current innovation challenges of the organization