Skip to content
GATEiit

All subjects · 29 November 2026

GATE CS 2027 | 25-30 Questions Daily - 29-11-2026

GATE CS 2027 | 25-30 Questions Daily - 29-11-2026 - www.gateiit.in

25 questions · PDF 116 KB · practise free, log in to save answers and take the timed exam · GATE CSE syllabus

Engineering Mathematics

  1. Question 1MSQ · 1 mark

    Let G = (V, E) be a finite, simple, undirected graph with n ≥ 3 vertices. Suppose every vertex has degree at least ⌊n/2⌋, that is, n/2 rounded down. Which of the following statements must necessarily be TRUE?

    Select one or more options
    Log in to save your answerCheck answer opens 30 Nov, 12:00 am IST
  2. Question 2no optionsNAT · 1 marklinear-algebra

    Let A be a real 6 × 6 matrix such that (A − I)3 is the zero matrix, (A − I)2 is not the zero matrix, and the rank of (A − I) is 3. Here I is the identity matrix. Find the maximum possible number of Jordan blocks of A. (Give your answer as an integer.) Answer: ____________

    Log in to save your answerCheck answer opens 30 Nov, 12:00 am IST
  3. Question 3no optionsNAT · 1 markcalculus-and-optimization

    Consider the function f(x) = x6 − 3x4 + 3x2 + 1. Let N denote the number of distinct real points at which f attains a local minimum. Find N. (Give your answer as an integer.) Answer: ____________

    Log in to save your answerCheck answer opens 30 Nov, 12:00 am IST

Digital Logic

  1. Question 4MSQ · 1 mark

    A Boolean function is defined as F(A, B, C, D) = Σm(0, 2, 5, 7, 8, 10, 13, 15), where Σm denotes the sum of minterms. Which of the following statements are TRUE?

    Select one or more options
    Log in to save your answerCheck answer opens 30 Nov, 12:00 am IST
  2. Question 5NAT · 1 mark

    A 3-bit synchronous counter uses JK flip-flops with a common clock. The flip-flop outputs are Q2, Q1 and Q0, with Q2 as the most significant bit. The counter follows this sequence: 000 → 001 → 011 → 010 → 110 → 111 → 101 → 100 → 000 Using the JK excitation table, each of the six inputs J2, K2, J1, K1, J0 and K0 is independently minimized in sum-of-products (SOP) form. Find the total number of product terms in the six minimized expressions, counting each product term once per input expression. (Give your answer as an integer.) Answer: ____________

    Log in to save your answerCheck answer opens 30 Nov, 12:00 am IST

Computer Organization and Architecture

  1. Question 6no optionsNAT · 1 mark

    A processor has a 32-bit byte-addressable physical address space and a 4-way set-associative cache with the following properties: • Cache capacity = 64 KB • Block size = 64 bytes • Write policy: write-back and write-allocate • Replacement policy: Least Recently Used (LRU) Find the number of tag bits in the physical address. Answer: ____________

    Log in to save your answerCheck answer opens 30 Nov, 12:00 am IST
  2. Question 7no optionsNAT · 1 mark

    Consider a 5-stage pipeline with the stages IF, ID, EX, MEM and WB, each taking one clock cycle. The pipeline has the following properties: • No operand forwarding. • A register is written in the first half of a clock cycle and read in the second half. • A dependent instruction stalls in the ID stage until its source operands are available. • No structural hazards. The instruction sequence is: Find the total number of clock cycles required to complete all four instructions. Answer: ____________

    I1: R1 = R2 + R3
    I2: R4 = R1 - R5
    I3: R6 = R4 + R1
    I4: R7 = R6 - R2
    Log in to save your answerCheck answer opens 30 Nov, 12:00 am IST

Programming and Data Structures

  1. Question 8HardMCQ · 1 markprogramming-data-structures-and-algorithms

    Consider the following C code: What is the output?

    #include <stdio.h>
    int f(int n) {
        static int x = 0;
        int r;
        if (n <= 0)
            return 0;
        x++;
        r = f(n-1);
        return r + x;
    }
    int main() {
        printf("%d", f(4));
        return 0;
    }
    Select one option
    Log in to save your answerCheck answer opens 30 Nov, 12:00 am IST
  2. Question 9MSQ · 1 markprogramming-data-structures-and-algorithms

    A binary tree contains 15 distinct keys. Its traversals are: Preorder: 1, 2, 4, 8, 9, 5, 10, 11, 3, 6, 12, 13, 7, 14, 15 Inorder: 8, 4, 9, 2, 10, 5, 11, 1, 12, 6, 13, 3, 14, 7, 15 Which of the following statements are TRUE?

    Select one or more options
    Log in to save your answerCheck answer opens 30 Nov, 12:00 am IST
  3. Question 10no optionsNAT · 1 markprogramming-data-structures-and-algorithms

    An initially empty min-heap is built by inserting the following elements in the given order: 18, 12, 25, 8, 15, 30, 5, 10. After all insertions, two consecutive delete-minimum operations are performed. Find the value at the root of the resulting heap. Answer: ____________

    Log in to save your answerCheck answer opens 30 Nov, 12:00 am IST

Algorithms

  1. Question 11NAT · 1 markprogramming-data-structures-and-algorithms

    Consider the following sequence: 2, 7, 4, 3, 8, 5, 6, 9, 1. Find the length of its Longest Increasing Subsequence (LIS). The subsequence need not be contiguous. Answer: ____________

    Log in to save your answerCheck answer opens 30 Nov, 12:00 am IST
  2. Question 12MSQ · 1 markprogramming-data-structures-and-algorithms

    Consider a connected, undirected, weighted graph G with distinct edge weights, and let MST denote its minimum spanning tree. Which of the following statements are necessarily TRUE?

    Select one or more options
    Log in to save your answerCheck answer opens 30 Nov, 12:00 am IST
  3. Question 13HardMCQ · 1 markprogramming-data-structures-and-algorithms

    Consider the following recurrence, where n is a power of 2 and logarithms are to the base 2: Which of the following gives the asymptotic order of T(n)?

    T(n) = 2 T(n/2) + n / log n, for n > 2
    T(2) = 1
    Select one option
    Log in to save your answerCheck answer opens 30 Nov, 12:00 am IST

Theory of Computation

  1. Question 14MSQ · 1 mark

    Consider the following language: L = { ai bj ck | i = j or j = k, where i, j, k ≥ 0 } Which of the following statements are TRUE?

    Select one or more options
    Log in to save your answerCheck answer opens 30 Nov, 12:00 am IST
  2. Question 15no optionsNAT · 1 mark

    Consider the following language over the alphabet {0, 1}: L = { w | the number of 0s in w is divisible by 5 } Let N be the number of equivalence classes of the Myhill–Nerode relation for L, that is, the number of states in the minimal DFA. Find N. Answer: ____________

    Log in to save your answerCheck answer opens 30 Nov, 12:00 am IST

Compiler Design

  1. Question 16HardMCQ · 1 mark

    Consider the following grammar: S → A a | b A c | d c | b d a A → d Which of the following statements is correct?

    Select one option
    Log in to save your answerCheck answer opens 30 Nov, 12:00 am IST
  2. Question 17AIR 1 ChallengeMCQ · 1 mark

    Consider the following grammar: S → a A d | b B d | a B e | b A e A → c B → c Which of the following statements is correct?

    Select one option
    Log in to save your answerCheck answer opens 30 Nov, 12:00 am IST

Operating Systems

  1. Question 18NAT · 1 mark

    A system uses LRU page replacement with 4 page frames, which are initially empty. The page reference string is: 1, 2, 3, 4, 1, 5, 2, 1, 6, 3, 2, 4, 5, 1 Find the total number of page faults. Answer: ____________

    Log in to save your answerCheck answer opens 30 Nov, 12:00 am IST
  2. Question 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. The current state is: Process Allocated Request P1 A B P2 B C P3 C A Which of the following statements are necessarily TRUE?

    Select one or more options
    Log in to save your answerCheck answer opens 30 Nov, 12:00 am IST
  3. Question 20NAT · 1 mark

    Consider three processes with the following arrival times and CPU burst times: Process Arrival Time Burst Time P1 0 10 P2 2 5 P3 4 2 Preemptive Shortest Job First (Shortest Remaining Time First) scheduling is used, and the context-switching overhead is zero. Find the average waiting time of the three processes. Answer: ____________

    Log in to save your answerCheck answer opens 30 Nov, 12:00 am IST

Database Management Systems

  1. Question 21MSQ · 1 markdatabase-management-and-warehousing

    Consider a relation R(A, B, C, D, E, F) with the following set of functional dependencies: { A → BC, CD → E, B → D, E → A, C → F } Which of the following are candidate keys of R?

    Select one or more options
    Log in to save your answerCheck answer opens 30 Nov, 12:00 am IST
  2. Question 22MSQ · 1 markdatabase-management-and-warehousing

    Consider 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), r2(Y), w1(Y), r3(X), w2(X), w3(Y) Which of the following statements are TRUE?

    Select one or more options
    Log in to save your answerCheck answer opens 30 Nov, 12:00 am IST
  3. Question 23AIR 1 ChallengeMCQ · 1 markdatabase-management-and-warehousing

    Consider the following two relations. Employee: Eid Dept Salary 1 A 5000 2 A 7000 3 B 6000 4 B 6000 5 C 9000 Department: Dept Manager A M1 B M2 D M3 Consider the following SQL query: How many rows are returned?

    SELECT E.Dept, AVG(E.Salary)
    FROM Employee E
    LEFT JOIN Department D
    ON E.Dept = D.Dept
    WHERE E.Salary >= 6000
    GROUP BY E.Dept
    HAVING COUNT(D.Manager) >= 1;
    Select one option
    Log in to save your answerCheck answer opens 30 Nov, 12:00 am IST

Computer Networks

  1. Question 24no optionsNAT · 1 mark

    A TCP sender starts with a congestion window of 1 MSS (Maximum Segment Size) and a slow-start threshold of 16 MSS. Slow start is used until the congestion window reaches the threshold, and congestion avoidance is used thereafter. No packet loss occurs, one acknowledgement is received for every segment, and the window grows according to standard TCP Reno rules. Find the congestion window, in MSS, immediately after 5 complete round-trip times (RTTs). Answer: ____________

    Log in to save your answerCheck answer opens 30 Nov, 12:00 am IST
  2. Question 25no optionsNAT · 1 mark

    An IPv4 datagram has a total length of 4020 bytes, including a 20-byte IP header. It must pass through a link with a Maximum Transmission Unit (MTU) of 620 bytes. Assume that there are no IP options, fragmentation is performed only once, each fragment gets its own 20-byte IP header, and the payload of every fragment except the last is a multiple of 8 bytes. Find the total number of fragments generated. Answer: ____________

    Log in to save your answerCheck answer opens 30 Nov, 12:00 am IST

More daily sets