Assignment GDB Solution: CS604 Operating Systems

loading...

CS604 Assignment 1 Solution Spring 2018

  Assignment                                                                                                                              Marks 20     Problem Statement Consider the following four processes which enter the ready queue according to following time. Processes Arrival time CPU Burst P1 0 9 P2 3 6 P3 5 3 P4 6 2 a)      You are required to provide the Gantt chart for non-preemptive SJF (Shortest Job First) scheduling algorithm. Calculate […]

CS604 Assignment 1 Solution Spring 2018

Assignment In this assignment, you are provided with a small startup code attached with this assignment in folder “Startup_Code”. Your job is to add some code as desired in this assignment. First, you need to understand the working of the given code and execute it in Dev-C++. This program essentially draws some text and a […]

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