CS/IT Gate Yearwise
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 2024 SET-2 Questions with Answer
Ques 14 Computer Science
Consider a process P running on a CPU. Which one or more of the following events will always trigger a context switch by the OS that results in process P moving to a non-running state (e.g., ready, blocked)?
Ques 15 Computer Science
Which of the following file organizations is/are I/O efficient for the scan operation in DBMS?
Ques 16 Computer Science
Which of the following statements about the Two Phase Locking (2PL) protocol is/are TRUE?
Ques 17 Computer Science
Which of the following statements about IPv4 fragmentation is/are TRUE?
Ques 18 Computer Science
Which of the following statements is/are FALSE?
Ques 19 Computer Science
For a Boolean variable x, which of the following statements is/are FALSE?
Ques 20 Computer Science
An instruction format has the following structure:
Instruction Number: Opcode destination reg, source reg-1, source reg-2
Consider the following sequence of instructions to be executed in a pipelined processor:

Ques 21 Computer Science
Which of the following fields of an IP header is/are always modified by any router before it forwards the IP packet?
Ques 22 Computer Science
Consider the following C function definition.

Ques 23 Computer Science
Let P be the partial order defined on the set {1,2,3,4} as follows
P = {(x,x) | x ∈ {1,2,3,4}} ∪ {(1,2), (3,2), (3,4)}
The number of total orders on {1,2,3,4} that contain P is
3 is the correct answer.
Ques 24 Computer Science
Let A be an array containing integer values. The distance of A is defined as the minimum number of elements in A that must be replaced with another integer so that the resulting array is sorted in non-decreasing order. The distance of the array is ___________.
3 is the correct answer.
Ques 25 Computer Science
What is the output of the following C program?

Ques 26 Computer Science
Consider a single processor system with four processes A, B, C, and D, represented as given below, where for each process the first value is its arrival time, and the second value is its CPU burst time.
A(0,10), B(2,6), C(4,3), and D(6,7).
Which one of the following options gives the average waiting times when preemptive Shortest Remaining Time First (SRTF) and Non-Preemptive Shortest Job First (NP-SJF) CPU scheduling algorithms are applied to the processes?

Total Unique Visitors