MCA CS-13 PROJECT Operating Systems

MCA CS-13 PROJECT Operating Systems

Course Code : CS-13
Course Title : Operating Systems
Assignment Number : MCA (6)-13/Project/04
Maximum Marks : 15
Last Date of Submission : 30th October, 2004

This is a Project assignment. There are four questions. Answer all the questions. Each question carries equal weightage. You may use illustrations and diagrams to enhance explanations. Please go through the guidelines regarding assignments.

Question 1: The Sleeping-Barber Problem:
A barbershop consists of a waiting room with n chairs, and the barber room containing the barber chair. If there are no customers to be served, the barber goes to sleep. If a customer enters the barbershop and all chairs are occupied, then the customer leaves the shop. If the barber is busy, but chairs are available, then the customer sits in one of the free chairs. If the barber is asleep, the customer wakes up the barber. Write a program in C / C++ to synchronize/coordinate the barber and the customers.

Question 2: Study and implement the following algorithms using C/C++ programming language.
(i) RSA algorithm
(ii) Lamports Bakery Algorithm for Interprocess synchronization.

Question 3: To build a robust distributed system, you must know what kinds of failures can occur.
(i) List possible types of failure in a distributed system.
(ii) Specify which items in your list also are applicable to a centralized system.

Home > Projects - MCA > MCA CS-13 PROJECT Operating Systems
Comments are closed.