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
- Health Insurance Home Work, UUM, Malaysia The aspect of medical insurance or health insurance has gained immense popularity within the last few years
- SMP10803: Principles of Marketing Assignment, UMP, Malaysia You are planning to venture into one of the agribusinesses in the area in which you live Discuss 3 (THREE) major external forces that will impact your future business.
- SEM207: Basic Econometrics Report, XUM, Malaysia Student is required to collect macroeconomic data of a nation that are relevant to explaining the country’s GDP
- UCS422: Your organization is planning to adopt BYOD which allow the employee: Introduction To Cyber Security for Non- Computing Science Assignment, UiTM, Malaysia
- Fick’s Second Law of Diffusion has long been employed to describe in vitro percutaneous permeation experiments: Numerical solution in percutanous drug absorption Thesis, USM, Malaysia
- MPU3223: Entrepreneurship 2 Assignment, OUM, Malaysia Select any ONE entrepreneur in Malaysia that you know, and identify the competitor’s resources of that entrepreneur
- BPA11403: Principle of Accounting Report, UTHM, Malaysia Analysis of the financial statements by assessing the liquidity, profitability, efficiency, and solvency of the business using ratio analysis
- FIT3155: Advanced data structures and algorithms Report, MUM, Malaysia Write a program in C++ to demonstrate your ability to apply stack or queue data structures
- GEO ENGINEERING Essay, UITM, Malaysia Evaluate the role of Ocean fertilization in addressing climate change In the introduction briefly explain climate change and ocean fertilization
- EBE1083: Exploring Post-Pandemic Macroeconomics: Challenges and Opportunities: Principles of Macroeconomics, Assignment, UNIMAS, Malaysia