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
- Business law Essay, MUM, Malaysia Mei saw an advertisement by Amazing Tours in the newspaper: ‘Fabulous deal: Bali from RM 999 for 2
- Research and Project Management Report, OUM, Malaysia Rajah 1 menunjukkan lukisan isometri bagi satu bongkah. Lukiskan secara manual saiz penuh bagi bongkah
- Unit 2 International Marketing Management, Assignment, Malaysia
- Sustainable Project Management Report, OUM, Malaysia Identify a project that integrates Sustainable developments into its project initiation and management
- BBF30403: Millie started a small business selling organic vegetables 10 years ago. Her business has grown to a bigger scale: Corporate Finance Assignment, WOU, Malaysia
- BBMP1103: Given a matrix W, X and Y as below: a) The order of matrix W, X and Y: Mathematics For Management Assignment, OUM, Malaysia
- BBGO4103: The purpose of this assignment is to enhance learners’ ability to apply and adapt the concept and theories of organisational behaviour: Organisational Behaviour, Assignment, OUM, Malaysia
- MGT6203: Managing Information System Coursework, IIU, Malaysia You are required to read a minimum of three (3)journals, articles, and write a review paper about Industry
- BGN352: Building Law Assignment, UiTM, Malaysia English Law plays an important part in the Malaysian legal system and Explain the application of English Law as a source
- CBOP3103: Object Oriented Approach in Software Development Assignment, OUM, Malaysia Global Skills Solution is a prominent training centre located at the heart of Kuala Lumpur