Assignment GDB Solution: CS604 Operating Systems

loading...

CS604 Operating Systems Assignment 1 Solution 2017

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 […]

CS604 GDB Solution Spring 2017

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

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 […]

CS604 GDB Solution feb 2015

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 […]

CS604 Operating Systems GDB Solution Spring 2014

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.

CS604 Operating Systems Assignment 2 Solution Spring 2014

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 : […]

CS604 Operating Systems Assignment 1 Solution Spring 2014

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, […]

CS604 Operating Systems Assignment 3 Solution Fall 2013

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 […]

CS604 Operating Systems Quiz 1 Solution Fall 2013

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.