All subjects · 1 December 2026
GATE CS 2027 | 25-30 Questions Daily - 01-12-2026
GATE CS 2027 | 25-30 Questions Daily - 01-12-2026 - www.gateiit.in
25 questions · PDF 118 KB · practise free, log in to save answers and take the timed exam · GATE CSE syllabus
Engineering Mathematics
Question 1MSQ · 1 mark
Let G = (V, E) be a simple, connected, undirected graph with 10 vertices and 18 edges. Which of the following statements are necessarily TRUE?
Log in to save your answerCheck answer opens 2 Dec, 12:00 am ISTQuestion 2no optionsNAT · 1 marklinear-algebra
Consider the 3 × 3 matrix A with the following rows: Row Column 1 Column 2 Column 3 1 2 1 1 2 4 3 3 3 8 7 9 Suppose A = LU, where L is unit lower triangular and U is upper triangular, without any row permutations. Find U11 + U22 + U33. (Give your answer as an integer.) Answer: ____________
Log in to save your answerCheck answer opens 2 Dec, 12:00 am ISTQuestion 3AIR 1 ChallengeMCQ · 1 markcalculus-and-optimization
Let f be a function defined on the closed interval [0, 2] by f(x) = x3 − 3x2 + 2x + 1. By the Mean Value Theorem, there is at least one c in the open interval (0, 2) such that f′(c) = [f(2) − f(0)] / (2 − 0). Which option gives all possible values of c?
Log in to save your answerCheck answer opens 2 Dec, 12:00 am IST
Digital Logic
Question 4MSQ · 1 mark
A Boolean function is given by F(A, B, C) = A′B + AC, where a prime (′) denotes the complement. It is implemented using a two-level AND-OR circuit. Which of the following statements are TRUE?
Log in to save your answerCheck answer opens 2 Dec, 12:00 am ISTQuestion 5NAT · 1 mark
An 8-bit signed 2’s complement system is used. Two numbers are represented as: A = 11010110 (binary) B = 01101101 (binary) Compute A − B using 8-bit 2’s complement arithmetic, ignoring the carry-out. Give the unsigned decimal value of the resulting 8-bit pattern. Answer: ____________
Log in to save your answerCheck answer opens 2 Dec, 12:00 am IST
Computer Organization and Architecture
Question 6HardMCQ · 1 mark
A processor has a 32-bit instruction format containing a 6-bit opcode, a 5-bit register field and a 21-bit displacement field. The memory is byte-addressable. In base-register addressing mode, the register field specifies the destination register and the base register is implied by the opcode. An instruction performs: R1 ← Memory[R2 + sign-extended displacement]. Initially, R2 = 0x00001000, and the displacement field contains the following 21-bit two’s complement value: 111111111111111111101 What is the effective address?
Log in to save your answerCheck answer opens 2 Dec, 12:00 am ISTQuestion 7MSQ · 1 mark
A device transfers a block of data to main memory using Direct Memory Access (DMA). The CPU and the DMA controller share the system bus. Which of the following statements are necessarily TRUE?
Log in to save your answerCheck answer opens 2 Dec, 12:00 am IST
Programming and Data Structures
Question 8HardMCQ · 1 markprogramming-data-structures-and-algorithms
Consider the following C program: What is the output?
#include <stdio.h> int main() { int a[] = {2, 4, 6, 8, 10}; int *p = a; int *q = a + 2; *p = *q; q++; *(p + 1) = *q; p++; printf("%d %d %d", a[0], a[1], a[2]); return 0; }Log in to save your answerCheck answer opens 2 Dec, 12:00 am ISTQuestion 9no optionsNAT · 1 markprogramming-data-structures-and-algorithms
A singly linked list initially contains: 1 → 2 → 3 → 4 → 5 → 6. Starting from the head, every consecutive group of 3 nodes is reversed. If the final group contains fewer than 3 nodes, it is left unchanged. Find the data value of the third node in the resulting linked list. Answer: ____________
Log in to save your answerCheck answer opens 2 Dec, 12:00 am ISTQuestion 10MSQ · 1 markprogramming-data-structures-and-algorithms
A non-empty binary tree has n nodes. Let n0, n1 and n2 be the numbers of nodes with zero, one and two children respectively. Which of the following statements are necessarily TRUE?
Log in to save your answerCheck answer opens 2 Dec, 12:00 am IST
Algorithms
Question 11NAT · 1 markprogramming-data-structures-and-algorithms
An 8-bit binary counter initially holds the value 0. It is incremented 100 times, one step at a time. The cost of an increment is the number of bits that it flips. Find the total cost of all 100 increments. (Give your answer as an integer.) Answer: ____________
Log in to save your answerCheck answer opens 2 Dec, 12:00 am ISTQuestion 12HardMCQ · 1 markprogramming-data-structures-and-algorithms
A single machine must execute the following jobs. Each job requires exactly one unit of time and has a deadline and a profit. Job Deadline Profit J1 2 100 J2 1 19 J3 2 27 J4 1 25 J5 3 15 Only one job can be executed in a time slot, and a job earns its profit only if it is completed by its deadline. What is the maximum achievable total profit?
Log in to save your answerCheck answer opens 2 Dec, 12:00 am ISTQuestion 13MSQ · 1 markprogramming-data-structures-and-algorithms
Consider a weighted Directed Acyclic Graph (DAG). Some edge weights may be negative. Which of the following statements are necessarily TRUE?
Log in to save your answerCheck answer opens 2 Dec, 12:00 am IST
Theory of Computation
Question 14MSQ · 1 mark
Let L be a regular language over the alphabet {0, 1}. In the options, |x| denotes the length of the string x. Which of the following languages are necessarily regular?
Log in to save your answerCheck answer opens 2 Dec, 12:00 am ISTQuestion 15AIR 1 ChallengeMCQ · 1 mark
Consider the following grammar: S → S S | a S b | a b Which statement correctly describes this grammar?
Log in to save your answerCheck answer opens 2 Dec, 12:00 am IST
Compiler Design
Question 16NAT · 1 mark
Consider the following recursive function: Each invocation creates a separate activation record of exactly 3 words (return address, parameter n and local variable x). The stack grows downward and no tail-call optimization is performed. For the call F(5), find the maximum number of stack words occupied by activation records at the same time. Answer: ____________
int F(int n) { int x = 2; if (n <= 1) return x; return x + F(n-1); }Log in to save your answerCheck answer opens 2 Dec, 12:00 am ISTQuestion 17MSQ · 1 mark
Consider the following program, where p is an unknown Boolean variable: Standard constant propagation is performed, merging information at the join point before statement 7. Which of the following statements are TRUE?
1. x = 4; 2. y = 2; 3. if (p) 4. x = y + 3; 5. else 6. y = x - 1; 7. z = x + y; 8. w = z * 2;Log in to save your answerCheck answer opens 2 Dec, 12:00 am IST
Operating Systems
Question 18MSQ · 1 mark
A process contains two threads T1 and T2, each of which executes the function f() exactly once: Assume that x++ is not atomic and each thread has its own stack. Which of the following statements are necessarily TRUE?
int x = 0; void *f(void *arg) { int y = 0; x++; y++; printf("%d ", y); return NULL; }Log in to save your answerCheck answer opens 2 Dec, 12:00 am ISTQuestion 19no optionsNAT · 1 markprogramming-data-structures-and-algorithms
A disk has cylinders numbered from 0 to 199. The disk head is initially at cylinder 53 and is moving towards higher-numbered cylinders. The pending requests are: 98, 183, 37, 122, 14, 124, 65, 67 Using the SCAN algorithm, in which the head travels to cylinder 199 before reversing direction, calculate the total head movement, in cylinders, required to serve all requests. Answer: ____________
Log in to save your answerCheck answer opens 2 Dec, 12:00 am ISTQuestion 20AIR 1 ChallengeMCQ · 1 mark
A system uses a single-level page table and a Translation Lookaside Buffer (TLB): • Virtual address size = 32 bits • Physical address size = 30 bits • Page size = 4 KB • Page table entry size = 4 bytes • TLB lookup time = 10 ns • Memory access time = 100 ns • TLB hit ratio = 90% On a TLB miss, one memory access reads the page table entry, followed by one memory access for the data. Ignore page faults and all other overheads. What is the effective memory access time?
Log in to save your answerCheck answer opens 2 Dec, 12:00 am IST
Database Management Systems
Question 21MSQ · 1 markdatabase-management-and-warehousing
An ER model has the entity sets Employee and Department, connected by the relationship Works_For, with these constraints: • Every employee works for exactly one department. • Every department has at least one employee. • A department can have any positive number of employees. Which of the following statements are necessarily TRUE?
Log in to save your answerCheck answer opens 2 Dec, 12:00 am ISTQuestion 22MSQ · 1 markcalculus-and-optimization
Consider the relations Employee(Eid, Name, Dept), Project(Pid, Dept) and Works(Eid, Pid). The symbols used are: ∧ (and), ¬ (not), ⇒ (implies), ∃ (there exists) and ∀ (for all). Which of the following tuple relational calculus expressions correctly retrieve the employees who work on every project belonging to their own department?
Log in to save your answerCheck answer opens 2 Dec, 12:00 am ISTQuestion 23MSQ · 1 markdatabase-management-and-warehousing
Consider the following three transactions, where Ri(X) denotes a read of X and Wi(X) denotes a write of X by transaction Ti: T1: R1(A), W1(A), R1(B) T2: R2(B), W2(B), R2(C), W2(C) T3: R3(C), W3(C), R3(A), W3(A) They are executed in the following schedule S: R1(A), R2(B), R3(C), W1(A), W2(B), W3(C), R1(B), R2(C), R3(A), W2(C), W3(A) Which of the following statements are TRUE?
Log in to save your answerCheck answer opens 2 Dec, 12:00 am IST
Computer Networks
Question 24no optionsNAT · 1 mark
A message of size 12 Mbits is sent from host A to host B through 3 store-and-forward packet switches. • Each link has a transmission rate of 6 Mbps and a propagation delay of 2 ms. • The message is divided into 4 equal packets, and each packet has an additional header of 0.1 Mbits. • Processing and queuing delays are negligible. Find the total time, in milliseconds, from the transmission of the first bit at A until the reception of the last bit at B. (Give your answer correct to two decimal places.) Answer: ____________
Log in to save your answerCheck answer opens 2 Dec, 12:00 am ISTQuestion 25MSQ · 1 mark
Three routers A, B and C are connected in a triangle with link costs: A–B = 1, B–C = 1 and A–C = 3. Initially, all routers have converged distance vector tables for destination A. The link between A and B then fails. Distance vector updates are exchanged asynchronously using Bellman-Ford updates, split horizon and poisoned reverse are disabled, and no maximum metric is imposed. Which of the following statements are TRUE?
Log in to save your answerCheck answer opens 2 Dec, 12:00 am IST
More daily sets
- 2026-12-03GATE CS 2027 | 25-30 Questions Daily - 03-12-2026
- 2026-12-02GATE CS 2027 | 25-30 Questions Daily - 02-12-2026
- 2026-11-30GATE CS 2027 | 25-30 Questions Daily - 30-11-2026
- 2026-11-29GATE CS 2027 | 25-30 Questions Daily - 29-11-2026
- 2026-11-28GATE CS 2027 | 25-30 Questions Daily - 28-11-2026
- 2026-11-27GATE CS 2027 | 25-30 Questions Daily - 27-11-2026
- 2026-11-26GATE CS 2027 | 25-30 Questions Daily - 26-11-2026