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
- BDA101: Two datasets about games on the Steam platform have been provided to you on the LMS: Analytics for Decision Making Assignment, HU, Malaysia
- BAM7014: Accounting for Managers Case Study, MMU, Malaysia Gable Bhd is a construction company. They are now undergoing the annual audit for the year-end of December
- Personal Finance and Insurance Assignment, APU, Malaysia Anthony and Hannah are a young married couple who got married nine years ago. Both of them are 32 years old and have three children
- Company Law Coursework, UKM, Malaysia The number of companies collapsing into insolvency in England and Wales has jumped by nearly 40% in a year
- Pengurusan Pendidikan Assignment, UTHM, Malaysia Isu bersara awal dalam kalangan pendidikan sama ada guru atau pentadbir di institusi pendidikan semakin meningkat sejak akhir-akhir ini
- Unit 3 -Human Resource Management, Assignment, OUM Malaysia
- Auditing Assignment, MUS, Malaysia Discuss the importance and types of audits in an organization and Suggest the possible issues related to the financial statement
- BEC1624: Macroeconomics Assignment, MMU, Malaysia This follows a stronger-than-expected recovery of 7.8 percent last year. Malaysia’s strong performance in 2022
- Culture & Organizations Case Study, UKM, Malaysia Describe briefly the organization, its purpose, and its business. Research is required, with at least 2 references
- Unit 2 International Marketing Management, Assignment, Malaysia