CST2555 Coursework 1: Operating Systems 2025 | Middlesex University

Published: 15 Feb, 2025
Category Coursework Subject Computer Science
University Middlesex University Module Title CST2555 Operating Systems

Instructions:

1. Write a bash script to solve the following problem.

2. Create a video presentation (6-10 minutes) to:

2.1. Explain your code implementation in detail.
2.2. Execute the script and demonstrate the output.

3. Attach your code and video in a zip folder, then submit it via the provided link.

4. Include your name and student ID in the submission and mention them in the video.

Aim:

Simulate the Banker's Algorithm for Deadlock Avoidance using Bash.

Theory:

The Banker's Algorithm is a deadlock avoidance algorithm. It is named so because it uses a banking analogy to determine whether resources can be safely allocated without leading to a deadlock, similar to how a bank might ensure it has enough funds before approving loans.

Consider a scenario where there are n account holders in a bank, and the total sum of money in all their accounts is S. Whenever the bank needs to grant a loan, it subtracts the loan amount from the total money it has and then checks if the remaining amount is greater than S. This ensures that the bank will have enough money even if all n account holders withdraw their funds simultaneously.

The Banker's Algorithm operates similar in operating systems. When a new process is created, it must specify the maximum number of instances of each resource type it may need. Assume there are n processes and m resource types in the system.

If you need help with CST2555 Operating Systems Coursework 1, our UK writers are ready! Whether you are looking for "assignment help by UK writers" or want the option of "paying someone for my assignment," we are your reliable coursework helper. With our service, you get AI-free content that is unique and plagiarism-free. You don't have to worry about quality as well as deadlines as we deliver on time. If you want to see examples related to this course, "coursework examples" are also available. Now leave the tension of the assignment and get expert help!

Workingment Unique Features

Hire Assignment Helper Today!


Latest Free Samples for University Students

COM00186M Autonomous Robotic Systems Engineering (AURO) Coursework Example

Category: Coursework

Subject: Engineering

University: University of York

Module Title: COM00186M Autonomous Robotic Systems Engineering (AURO)

View Free Samples

7BSP1266 Dissertation-Project Management Coursework 4 Example | UoH

Category: Coursework

Subject: Management

University: University of Hertfordshire

Module Title: 7BSP1266 Dissertation-Project Management

View Free Samples

HSC419 Modern Society Coursework 2 Assignment Sample | CU

Category: Coursework

Subject: Sociology

University: Coventry University

Module Title: HSC419 Modern Society

View Free Samples

BMMM 5003 Integrated Marketing Communications Coursework 1 Example | DMU

Category: Coursework

Subject: Marketing

University: De Montfort University

Module Title: BMMM 5003 Integrated Marketing Communications

View Free Samples

ACC2222 Accounting and Finance for Business Individual Coursework Example | MUL

Category: Coursework

Subject: Accounting

University: Middlesex University London

Module Title: ACC2222 Accounting and Finance for Business

View Free Samples
Online Assignment Help in UK