All subjects · 26 November 2026
GATE CS 2027 | 25-30 Questions Daily - 26-11-2026
GATE CS 2027 | 25-30 Questions Daily - 26-11-2026 - www.gateiit.in
25 questions · PDF 109 KB · practise free, log in to save answers and take the timed exam · GATE CSE syllabus
Engineering Mathematics
Question 1MSQ · 1 mark
Let A = {1, 2, 3, 4, 6, 12}. A relation R is defined on A as: a R b if and only if a divides b. Which of the following statements are TRUE?
Log in to save your answerCheck answer opens 27 Nov, 12:00 am ISTQuestion 2MSQ · 1 marklinear-algebra
Let A be a real 3 × 3 matrix satisfying A2 − 4A + 3I = O, where I is the identity matrix and O is the zero matrix. Which of the following statements must necessarily be TRUE?
Log in to save your answerCheck answer opens 27 Nov, 12:00 am ISTQuestion 3no optionsNAT · 1 markprobability-and-statistics
A continuous random variable X has the probability density function: f(x) = c x (2 − x), for 0 ≤ x ≤ 2 where c is a constant. Define g(t) = E[(X − t)2], where E denotes expectation. Find the value of t at which g(t) attains its global minimum. (Give your answer correct to two decimal places.) Answer: ____________
f(x) = 0, otherwiseLog in to save your answerCheck answer opens 27 Nov, 12:00 am IST
Digital Logic
Question 4MediumMCQ · 1 mark
Consider the Boolean function F(A, B, C, D) = Σm(0, 2, 5, 7, 8, 10, 13, 15), where Σm denotes the sum of minterms. The minimal sum-of-products (SOP) expression of F is:
Log in to save your answerCheck answer opens 27 Nov, 12:00 am ISTQuestion 5MSQ · 1 mark
A 3-bit synchronous binary up-counter is constructed using JK flip-flops. The counter starts from state 000. Which of the following statements are TRUE?
Log in to save your answerCheck answer opens 27 Nov, 12:00 am IST
Computer Organization and Architecture
Question 6MediumMCQ · 1 mark
A computer has a byte-addressable main memory of 64 KB and a direct-mapped cache of 1 KB. Each cache block contains 16 bytes. The number of bits required for the TAG field is:
Log in to save your answerCheck answer opens 27 Nov, 12:00 am ISTQuestion 7no optionsNAT · 1 mark
A processor uses a 5-stage pipeline with the stages IF, ID, EX, MEM and WB. Each stage takes one clock cycle. Consider the following instruction sequence, in which the first register of each instruction is the destination: Assume that no operand forwarding is available, a register is written in the first half of a clock cycle and read in the second half, pipeline interlocks insert the minimum required stalls, and there are no structural hazards. Find the total number of clock cycles required to complete all four instructions. Answer: ____________
I1: ADD R1, R2, R3 I2: SUB R4, R1, R5 I3: AND R6, R1, R7 I4: OR R8, R4, R6Log in to save your answerCheck answer opens 27 Nov, 12:00 am IST
C Programming and Data Structures
Question 8MediumMCQ · 1 markprogramming-data-structures-and-algorithms
Consider the following C function: What is the value returned by fun(6)?
int fun(int n) { if (n <= 1) return 1; return fun(n-1) + fun(n-2); }Log in to save your answerCheck answer opens 27 Nov, 12:00 am ISTQuestion 9MSQ · 1 markartificial-intelligence
A Binary Search Tree (BST) is constructed by inserting the following keys in the given order: 50, 30, 70, 20, 40, 60, 80, 35. Which of the following statements are TRUE?
Log in to save your answerCheck answer opens 27 Nov, 12:00 am ISTQuestion 10no optionsNAT · 1 markprogramming-data-structures-and-algorithms
An initially empty stack performs the following operations in order: What is the sum of all elements remaining in the stack? (Give your answer as an integer.) Answer: ____________
PUSH(4) PUSH(7) POP() PUSH(3) PUSH(9) POP() PUSH(5) POP()Log in to save your answerCheck answer opens 27 Nov, 12:00 am IST
Algorithms
Question 11MediumMCQ · 1 markprogramming-data-structures-and-algorithms
Consider the following activities, each written as (start time, finish time): (1, 4), (3, 5), (0, 6), (5, 7), (8, 9), (5, 9) Using the standard Activity Selection algorithm (activities sorted by increasing finish time), what is the maximum number of mutually compatible activities?
Log in to save your answerCheck answer opens 27 Nov, 12:00 am ISTQuestion 12no optionsNAT · 1 markprogramming-data-structures-and-algorithms
Consider the 0/1 Knapsack problem with knapsack capacity W = 7 and the following items: Item Weight Value 1 1 1 2 3 4 3 4 5 4 5 7 Each item can be selected at most once. Find the maximum achievable total value. Answer: ____________
Log in to save your answerCheck answer opens 27 Nov, 12:00 am ISTQuestion 13MSQ · 1 markprogramming-data-structures-and-algorithms
Consider a connected, undirected, weighted graph G = (V, E) in which all edge weights are distinct. Which of the following statements are necessarily TRUE?
Log in to save your answerCheck answer opens 27 Nov, 12:00 am IST
Theory of Computation
Question 14MediumMCQ · 1 mark
Consider the following language over the alphabet {0, 1}: L = { w | w contains an even number of 0s } Which of the following statements is TRUE?
Log in to save your answerCheck answer opens 27 Nov, 12:00 am ISTQuestion 15MSQ · 1 mark
Consider the following languages over the alphabet {a, b, c}, where wR denotes the reverse of string w: n n L1 = { ab| n ≥ 0 } L2 = { an bn cn | n ≥ 0 } L3 = { w wR | w ∈ {a, b}* } L4 = { am bn | m, n ≥ 0 } Which of the following statements are TRUE?
Log in to save your answerCheck answer opens 27 Nov, 12:00 am IST
Compiler Design
Question 16MediumMCQ · 1 mark
Consider the following grammar, where S is the start symbol and ε denotes the empty string: S → A B A → a A | ε B → b B | c Which of the following is the correct pair?
Log in to save your answerCheck answer opens 27 Nov, 12:00 am ISTQuestion 17MSQ · 1 mark
Consider the following basic block: Which of the following statements regarding compiler optimization are TRUE?
1. a = 10 2. b = 20 3. c = a + b 4. d = c * 2 5. a = 5 6. e = a + b 7. f = c * 2Log in to save your answerCheck answer opens 27 Nov, 12:00 am IST
Operating Systems
Question 18MediumMCQ · 1 mark
Consider the following three processes: Process Arrival Time Burst Time P1 0 7 P2 2 4 P3 4 1 The CPU uses non-preemptive Shortest Job First (SJF) scheduling. What is the average waiting time?
Log in to save your answerCheck answer opens 27 Nov, 12:00 am ISTQuestion 19MSQ · 1 mark
A system has three processes P1, P2 and P3 and three resource types A, B and C. Each resource type has exactly one instance. Current allocation: Process A B C P1 1 0 0 P2 0 1 0 P3 0 0 1 Current requests: Process A B C P1 0 1 0 P2 0 0 1 P3 1 0 0 Which of the following statements are TRUE?
Log in to save your answerCheck answer opens 27 Nov, 12:00 am ISTQuestion 20no optionsNAT · 1 mark
A system uses demand paging with the following parameters: Memory access time = 100 ns Page fault service time = 10 ms −5 Page fault probability = 10 Assume that every page fault requires the complete page fault service time, and ignore all other overheads. Calculate the effective access time (EAT) in nanoseconds. (Give your answer correct to three decimal places.) Answer: ____________
Log in to save your answerCheck answer opens 27 Nov, 12:00 am IST
Database Management Systems
Question 21MediumMCQ · 1 markdatabase-management-and-warehousing
Consider the relation EMPLOYEE(Eid, Name, Dept, Salary). Which SQL query returns the departments having an average salary greater than 50000?
Log in to save your answerCheck answer opens 27 Nov, 12:00 am ISTQuestion 22MSQ · 1 markdatabase-management-and-warehousing
Consider a relation R(A, B, C, D) with the following set of functional dependencies: F = { A → B, B → C, C → D } Which of the following statements are TRUE?
Log in to save your answerCheck answer opens 27 Nov, 12:00 am ISTQuestion 23no optionsNAT · 1 markdatabase-management-and-warehousing
Consider two transactions T1 and T2 with the following schedule S, where Ri(X) denotes a read of X and Wi(X) denotes a write of X by transaction Ti: S: R1(X), W1(X), R2(X), W2(X), R1(Y), W1(Y), R2(Y), W2(Y) Construct the precedence graph of this schedule. Find the number of directed edges in the precedence graph. (Give your answer as an integer.) Answer: ____________
Log in to save your answerCheck answer opens 27 Nov, 12:00 am IST
Computer Networks
Question 24no optionsNAT · 1 mark
An organization is allocated the network 192.168.10.0/24. It wants to create exactly 4 equal-sized subnets. Find the maximum number of usable host addresses per subnet, assuming traditional IPv4 subnetting (network and broadcast addresses are reserved). Answer: ____________
Log in to save your answerCheck answer opens 27 Nov, 12:00 am ISTQuestion 25HardMCQ · 1 mark
A TCP connection uses the following congestion control mechanism, where MSS is the Maximum Segment Size: • The initial congestion window is 1 MSS. • Slow start is used until the slow-start threshold of 16 MSS is reached. • After reaching the threshold, congestion avoidance is used. • A timeout occurs when the congestion window reaches 20 MSS. No packet is lost before this. • On timeout, the threshold is set to half of the current congestion window and the congestion window is reset to 1 MSS. What are the values of the slow-start threshold and the congestion window immediately after the timeout?
Log in to save your answerCheck answer opens 27 Nov, 12:00 am IST