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
- FIT1047: User input (4 points) The next step is to implement a subroutine that reads a string, character by character: Introduction to computer systems, networks and security Assignment, MU, Malaysia
- EER1001: Electrical Services for Facilities Assignment, TP, Malaysia What is Total Connected Load (TCL)?
- MEC442 Pump Selection Assignment 2: Evaluate Head & Flow for Pump A and B in Series and Parallel Configurations
- MUF655: Research Project Case Study, UTM, Malaysia Why are creative abilities being neglected in today’s society? Some claim that music education is a waste of money and time
- MKT60404: Services Marketing Assignment, TU, Malaysia You are required to select an experience (a series of service encounters) when visiting a service organisation by choosing any ONE company
- Teacher Trainees Thesis, UON, Malaysia Teaching English as A Second Language provides trainee teachers with various language theories
- What is Alibaba’s category of e-commerce, and how has it evolved over the years: Digital Business, Assignment, INTI, Malaysia
- ABXM1103: MAN, SOCIETY AND CULTURE Assignment, OUM, Malaysia The International Labour Organization (ILO) reports that more than 15 million children or nearly one in every 10 children
- BNNS 6443 Mental Health Nursing Individual Assignment Essay | LUC Malaysia
- Occupational Safety and Health Assignment, UPM, Malaysia Across many industries, it’s important for employees to watch out for fire hazards like ignition hazards, electrical overloading