GATE CS 2026, set 1 question paper
The official GATE CS 2026 set 1 paper, set by IIT Guwahati. PrepWiser has 50 of its questions, each with the answer from the official answer key.
Download free PDF with answer key
This paper in numbers
50 of the paper's 65 questions (74 of 100 marks) on PrepWiser. 26 one-mark and 24 two-mark questions.
- Question types: 24 MCQ · 16 MSQ · 10 NAT
- General Aptitude: 9 questions, 13 marks
- Core CS: 41 questions, 61 marks
| Subject | Questions | Marks |
|---|---|---|
| General Aptitude | 9 | 13 |
| Programming and Data Structures | 6 | 10 |
| Engineering Mathematics | 7 | 9 |
| Digital Logic | 5 | 8 |
| Algorithms | 4 | 6 |
| Computer Organization and Architecture | 4 | 6 |
| Operating System | 3 | 5 |
| Theory of Computation | 3 | 5 |
| Compiler Design | 3 | 4 |
| Computer Networks | 3 | 4 |
| Databases | 3 | 4 |
General Aptitude
- Q1. The antonym of the word protagonist is ______.
- Q2. The figure shows two 4-tile patterns. Two 4-tile patterns made of black square tiles…
- Q3. Consider a knock-out women’s badminton singles tournament where there are no ties. The…
- Q4. A student needs to enroll for a minimum of 60 credits. A student cannot enroll for more…
- Q5. ‘When the teacher is in the room, all students stand silently.’ If the above statement…
- Q6. Combinatorics deals with problems involving counting. For example, “How many distinct…
- Q8. For positive real numbers S and K, the function H_K(S) is defined as: H_K(S) = max(S -…
- Q9. In the 2020 summer Olympics’ Javelin throw finals, Neeraj Chopra exhibited a spectacular…
- Q10. An unbiased six-faced dice whose faces are marked with numbers 1, 2, 3, 4, 5, and 6 is…
Engineering Mathematics
- Q11. An urn contains one red ball and one blue ball. At each step, a ball is picked uniformly…
- Q12. Consider 4 × 4 matrices with their elements from {0, 1}. The number of such matrices…
- Q13. For n > 1, the maximum multiplicity of any eigenvalue of an n × n matrix with elements…
- Q20. Let n > 1. Consider an n × n matrix M with its elements from ℝ. Let the vector (0, 1, 0…
- Q32. Consider the function f: ℝ → ℝ defined as follows: f(x) = c₁ eˣ - c₂ logₑ(1/x), if x > 0…
- Q55. An undirected, unweighted, simple graph G(V,E) is said to be 2-colorable if there exists…
- Q58. Let X be a random variable which takes values in the set {1, 2, 3, 4, 5, 6, 7, 8}…
Computer Organization and Architecture
- Q14. Match each addressing mode in List I with a data element or an element of a data…
- Q15. Consider a processor P whose instruction set architecture is the load-store…
- Q38. The size of the physical address space of a processor is 2³² bytes. The capacity of a…
- Q60. The EX stage of a pipelined processor performs the memory read operations for LOAD…
Algorithms
- Q17. Consider the following recurrence relations: For all n > 1, T₁(n) = 4T₁(n/2) +…
- Q24. Consider a hash table P[0, 1, …, 10] that is initially empty. The hash table is…
- Q41. Let G(V, E) be an undirected, edge-weighted graph with integer weights. The weight of a…
- Q49. Let G(V,E) be a simple, undirected, edge-weighted graph with unique edge weights. Which…
Computer Networks
- Q18. With respect to a TCP connection between a client and a server, which one of the…
- Q19. Which of the following statements is/are true with respect to the interaction of a web…
- Q45. Consider the implementation of sliding window protocol over a lossless link, with a…
Digital Logic
- Q21. Consider the following Boolean expression of a function F : F(P,Q) = (P̅ + Q) ⊕ (P̅Q)…
- Q22. Consider the 8-bit signed integers X, Y and Z represented using the sign-magnitude form…
- Q36. Consider the real valued variables X, Y and Z represented using the IEEE 754…
- Q37. Consider a 2-bit saturating up/down counter that performs the saturating up count when…
- Q48. Consider a Boolean function F with the following minterm expression: F(P,Q,R,S) = Σ m…
Programming and Data Structures
- Q23. Let n be an odd number greater than 100. Consider a binary minheap with n elements…
- Q34. Consider the following program in C: #include <stdio.h> void func(int i, int j) { if(i <…
- Q39. Consider the following code snippet in C language that computes the number of nodes in a…
- Q40. Let P be the set of all integers from 1 to 15. Consider any order of insertion of the…
- Q61. Consider the recursive functions represented by the following code segment: int bar(int…
- Q62. The following sequence corresponds to the preorder traversal of a binary search tree T…
Theory of Computation
- Q26. Let M be a nondeterministic finite automaton (NFA) with 6 states over a finite alphabet…
- Q51. Let L₁ and L₂ be two languages over a finite alphabet, such that L₁ ∩ L₂ and L₂ are…
- Q52. Consider the following context-free grammar G. S → abaABAbbaA → aaBBAb | bBabaaB → aBb |…
Compiler Design
- Q27. Consider the following C statements: char *str1 = "Hello; /* Statement S1 */ char *str2…
- Q28. Which of the following statements is/are true?
- Q42. Consider the control flow graph shown in the figure. Control flow graph with five basic…
Databases
- Q30. Let P, Q, R and S be the attributes of a relation in a relational schema. Let X → Y…
- Q31. In the context of relational database normalization, which of the following statements…
- Q65. Consider a relational database schema with a relation R(A, B, C, D). If {A, B} and {A…