CS/IT Gate Yearwise
CS/IT Gate 2026 (Set 2)
CS/IT Gate 2025 (Set 1)
CS/IT Gate 2025 (Set 2)
CS/IT Gate 2024 (Set 1)
CS/IT Gate 2024 (Set 2)
CS/IT Gate 2023
CS/IT Gate 2022
CS/IT Gate 2021 (Set 1)
CS/IT Gate 2021 (Set 2)
CS/IT Gate 2020
CS/IT Gate 2019
CS/IT Gate 2018
CS/IT Gate 2017 (Set 1)
CS/IT Gate 2017 (Set 2)
CS/IT Gate 2016 (Set 1)
CS/IT Gate 2016 (Set 2)
CS/IT Gate 2015 (Set 1)
CS/IT Gate 2015 (Set 2)
CS/IT Gate 2015 (Set 3)
CS/IT Gate 2014 (Set 1)
CS/IT Gate 2014 (Set 2)
CS/IT Gate 2014 (Set 3)
CS and IT Gate 2016 Set-1 Questions with Answer
Ques 53 Gate 2016 Set-1
A function f : N+ → N+, defined on the set of positive integers N+, satisfies the following
properties:
f(n) = f(n/2) if nis even
f(n) = f(n+5) if nis odd
Let R = {i|∃ j : f(j) = i} be the set of distinct values that f takes. The maximum possible size
of R is .
Ques 54 Gate 2016 Set-1
The coefficient of x12 in (x3 + x4 + x5 + x6 + ...)3 is_________
Ques 55 Gate 2016 Set-1
Two eigenvalues of a 3 x 3 real matrix P are (2 + √ -1) and 3. The determinant of P is _____
Ques 56 Gate 2016 Set-1
A probability density function on the interval [a, 1] is given by 1 / x2 and outside this interval the value of the function is zero. The value of a is :
Ques 57 Gate 2016 Set-1
If f(x) = 2x7 + 3x - 5 Which of the following is a factor of f(x)?
Given:
f(x) = 2x7 + 3x - 5
To find:
Which of the given options is a factor of f(x).
Solution:
According to the factor theorem, (x - a) is a factor of f(x) if f(a) = 0.
Let me quickly test the simplest linear factors from the options.
Let's check option (B) first, which gives x = 1.
Now substituting x = 1 into f(x):
f(1) = 2(1)7 + 3(1) - 5
So we get:
f(1) = 2 + 3 - 5 = 0
Since f(1) = 0, (x - 1) is definitely a factor of f(x).
No need to check the rest, option B works directly.
Answer: (B) (x - 1)
Ques 58 Gate 2016 Set-1
Consider a computer system with ten physical page frames. The system is provided with an access sequence a1, a2, ..., a20, a1, a2, ..., a20), where each ai number. The difference in the number of page faults between the last-in-first-out page replacement policy and the optimal page replacement policy is __________
Ques 59 Gate 2016 Set-1
Consider a disk queue with requests for I/O to blocks on cylinders 47, 38, 121, 191, 87, 11, 92, 10. The C-LOOK scheduling algorithm is used. The head is initially at cylinder number 63, moving towards larger cylinder numbers on its servicing pass. The cylinders are numbered from 0 to 199. The total head movement (in number of cylinders) incurred while servicing these requests is______
Ques 60 Gate 2016 Set-1
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 table entry requires 48 bits, then the size of the per-process page table is _________megabytes.
Ques 61 Gate 2016 Set-1
Consider an arbitrary set of CPU-bound processes with unequal CPU burst lengths submitted at the same time to a computer system. Which one of the following process scheduling algorithms would minimize the average waiting time in the ready queue?
Given:
An arbitrary set of CPU-bound processes with unequal burst lengths.
All processes arrive at the same time (arrival time t = 0).
To find:
The scheduling algorithm that minimizes the average waiting time in the ready queue.
Solution:
Okay, let's think about which algorithm gives the minimum average waiting time.
I know that Shortest Job First (SJF) is provably optimal for giving the minimum average waiting time among all scheduling algorithms.
Here, it says all processes are submitted at the same time.
When all processes arrive at time t = 0, no new process arrives later with a shorter burst to cause preemption.
So, Shortest Remaining Time First (SRTF), which is the preemptive version of SJF, behaves exactly like non-preemptive SJF.
Both will run the process with the smallest CPU burst first, then the next smallest, and so on.
Let's check the other options to be completely sure.
Option B is Round-robin, which shares the CPU and increases the average waiting time compared to SJF.
Option C is uniform random scheduling, which is clearly not optimal.
Option D assigns higher priority to processes with longer bursts, which turns it into Longest Job First (LJF), giving the worst average waiting time.
Hence, Shortest Remaining Time First gives the minimum average waiting time.
Answer: (A) Shortest remaining time first
Total Unique Visitors