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
- Bachelor of Information Technology (Hons) Data Analytics Assignment, HU, Malaysia You are required to investigate the above scenario of government data to explore the application of big data analytics
- ACC4294: Effective Governance Report, UH, Malaysia Today’s environment is one not only of heightened risk but of prolonged uncertainty
- Unit 3 – International Marketing Management
- Graphic Design Project & Portfolio Case Study, APU, Malaysia The novel Mist-Bound: How to Glue Back Grandpa written by Daryl Kho, is a fantasy novel for families published by Penguin Books SEA
- Pre-hospital Management of Severe Anaphylaxis Assignment
- Pedagogical Implication on Student’s Performance in English Home Work, UO, Malaysia A number of studies done concerning the language of instruction and students‟ performance in secondary schools
- BUSM50003: Big Data Research Paper, SU, Malaysia Explain your research philosophy and methodologies and In particular, comment on the research design
- Islamic Family Law Assignment, MUM, Malaysia Examination of the policies and laws established by the Malaysian government to support ta’liq by desertion
- CL101 Murder Case Analysis: Evidential Issues & Legal Solutions in PP v Kim & Leo – Section 302 Penal Code
- Consider the changing nature of labour, technological advancements, and global trends: Training and Development Assignment, UON, Malaysia