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
- HFT20303 Group Assignment Universiti Malaysia Kelantan : Financial Management
- BDPB2103: Introductory Human Resource Management Assignment, OUM, Malaysia Briefly discuss the advantages of training and development programs to an organization
- EDC3164: Imagine you are a researcher in your chosen field of study. Your task is to develop a comprehensive: Research Project, SU, Malaysia
- BMG306/03: Introduction to International Business Assignment, WOU, Malaysia A central bank, reserve bank, or monetary authority, is an entity responsible for the monetary policy of its country
- CT119-3-3 Assignment Asia Pacific University of Technology & Innovation : Vulnerability Assessment & Penetration Testing Individual Assignment
- Understanding Preschool Parents’ Perspectives and Expectations of 21st Century Education
- Compare and contrast the Critical Path and Critical Chain methods intermsof their advantages: Project Management Assignment, UM, Malaysia
- BMK307: Jesse Parker sells for Mid-East Metals. He has been callingvon Richmond Distributors for close to two years: Personal Selling and Salesmanship Assignment, Malaysia
- GSGM 7234: Strategic Human Resource Management – Final Assessment January 2025
- ACC416: Cost and Management Accounting Assignment, UiTM, Malaysia Classify the following costs of a franchise pizza chain either prime cost production overhead cost administrative cost