GATE exam stream

GATE CS — Computer Science & IT

174 questions and papers

GATE CS 2017 Set 2 – Question 51

Numerical answer 2 marks Operating Systems 2017

Consider the following CPU processes with arrival times (in milliseconds) and length of CPU bursts (in milliseconds) as given below:ProcessArrival timeBurst timeP107P233P355P462If the pre-emptive shortest remaining time first…

GATE CS 2016 Set 1 – Question 49

Numerical answer 2 marks Operating Systems 2016

Consider a computer system with 40-bit virtual addressing and page size of sixteen kilobytes. If the computer system has a one-level page table per process and each page…

GATE CS 2013 – Question 44

Multiple choice 2 marks Operating Systems 2013

A shared variable \(x\), initialized to zero, is operated on by four concurrent processes W, X, Y, Z as follows. Each of the processes W and X reads…

GATE CS 2011 – Question 15

Multiple choice 1 mark Operating Systems 2011

A thread is usually defined as a "light weight process" because an operating system (OS) maintains smaller data structures for a thread than for a process. In relation…

GATE CS 2006 – Question 62

Multiple choice 2 marks Operating Systems 2006

Consider three CPU-intensive processes, which require 10, 20 and 30 time units and arrive at times 0, 2 and 6, respectively. How many context switches are needed if…

GATE CS 2010 – Question 42

Multiple choice 2 marks Operating Systems 2010

A system uses FIFO policy for page replacement. It has 4 page frames with no pages loaded to begin with. The system first accesses 100 distinct pages in…

GATE CS 2005 – Question 70

Multiple choice 2 marks Operating Systems 2005

Consider the following code fragment, where the variable a already holds a value before the fragment starts executing:if (fork() == 0) { a = a + 5; printf("%d,…