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
- BNNS6123: Infection and Inflammation in Nursing Assignment, LUC, Malaysia COVID-19 is a recently evolving communicable disease caused by novel strains of severe acute respiratory syndrome coronavirus
- BBPW3203 Financial Management II Pengurusan Kewangan II September 2024 Semester
- CIS2017-N: Relational & NoSQL Database Assignment, TU, Malaysia Overview of the Selected Case Study and Associated Business Requirements
- Freight and Supply Chain Management Research Paper, SU, Malaysia According to Ziesemer, Thomas (1995) in his study about the growth with imported capital goods
- BBUI3103: Employment and Industrial Law Assignment, OUM, Malaysia Differentiate between dismissal and termination and consider whether the grounds of dismissal and termination
- Understanding Preschool Parents’ Perspectives and Expectations of 21st Century Education
- XBMB3104: MICROBIOLOGY Assignment, OUM, Malaysia you are appointed to give a briefing on the tiers of recommended precautions to prevent the spread of infections in healthcare settings
- Energy Efficiency in UOW Malaysia KDU Building Assignment, KDU, Malaysia KDU was established in 1983 and is a pioneer in Malaysian private education that has its own purpose-built campus
- Aircraft Electrical Essay, GFA, Malaysia Write an essay on how an aircraft electrical distribution system power up essential aircraft systems
- DPJ5531: Programming in Java Assignment, HWU, Malaysia Propose your own title and develop one Java application based