Problem Statement: You are required to write a simple C language program to: Create a process using fork call Get and print status information of the running processes Use pipe call for inter-process communication between processes Terminate process Compile & run C program on Linux Operating system. Detailed Description: In the main() function, first of […]
Graded Discussion Board (GDB) of CS604 will be open on Monday, July 17, 2017 and close on Tuesday, July 18, 2017. GDB will remain open for two days, you are required to post your comments within due date. Discussion Topic Device drivers: GDB scenario: In Linux Operating System, device drivers are also loaded into kernel along with operating system. Sometime these drivers […]
CS604 Assignment 1 Solution Spring 2017 Assignment No. 01 Semester: Spring 2017 Question#1: [05 Marks] Being an end user and an administration of any system, there are some privileges that have been given to you, suppose you are going to take the initial test as an operating system developer then specify which of the following […]
Is it possible to have a deadlock condition with a single process? Explain and justify your answer with reference to deadlock prevention method”. Solution: No, it is not possible to have a deadlock condition in a single process.The deadlock involves a circular “hold-and-wait” condition between two or more processes, so “one” process cannot hold a […]
Question 1: (5 Marks) Consider the following snapshot of a system: Allocation Max Available A B C D A B C D A B C D P0 1 1 1 2 3 4 2 2 1 2 3 4 P1 1 0 2 2 1 3 4 14 P2 […]
Do overlays increase a burden on a programmer as compare to virtual memory? Give reason to support your answer Solution: Yes overlays increase a burden on a programmer as compare to virtual memory. Programmers have to specify the details of overlays but the operating system handles virtual memory automatically.
Question No.1: [Marks 5] Consider a scenario of post mailbox, there are two processes named sender S and receiver R. Both processes can communicate with each other by name along with message. You need to Identify what type of IPC is this? Write the send and receive primitives for stated processes. Identify at least three properties of communication channel or link in this scheme. Solution Indirect communications : […]
Question 1: [Marks : 02] A single processor can run only one program at a time. Operating System installed on the machine interacts as intermediary between the hardware of the system and users. How does an operating system make multiprogramming possible by using single processor? In a multi programmed system, the operating system simply switches to, […]
Question No.1[Marks:5] Here you are given a single instance RAG, drive WFG (wait-for graph) from this graph and judge whether this system is with deadlock or not? If yes then represent it by drawing corresponding WFG? Question No.2[Marks:10] Consider the following snapshot of the system Use banker’s algorithm and write down all the intermediate steps […]
Dear Students! Please note that a QUIZ No.01 of CS604 fall 2013 will be launched on Monday, 25th November 2013. It will remain open for two days from 25th November to 26th November 2013. It will include MCQ’s from Lecture No.01 to Lecture No.10. It will consists of about 10 Multiple Choice Questions (MCQs).and will last for 48 hours only, so try to attempt QUIZ at your earliest.