Skip to content
GATEiit

All subjects · 27 November 2026

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

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

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

Engineering Mathematics

  1. Question 1MediumMCQ · 1 mark

    Let G be a simple undirected graph with 8 vertices, in which every vertex has degree exactly 3. What is the number of edges in G?

    Select one option
    Log in to save your answerCheck answer opens 28 Nov, 12:00 am IST
  2. Question 2MSQ · 1 marklinear-algebra

    Let A be a real 3 × 3 matrix satisfying A2 − 5A + 6I = O, where I is the identity matrix and O is the zero matrix. Which of the following statements must be TRUE?

    Select one or more options
    Log in to save your answerCheck answer opens 28 Nov, 12:00 am IST
  3. Question 3no optionsNAT · 1 markprobability-and-statistics

    A random variable X follows an exponential distribution with parameter λ = 2. Its probability density function is: f(x) = 2e−2x, for x ≥ 0 f(x) = 0, for x < 0 Define Y = min(X, 1), that is, the smaller of X and 1. Find the expected value E[Y]. (Give your answer correct to three decimal places.) Answer: ____________

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

Digital Logic

  1. Question 4MediumMCQ · 1 mark

    Consider the Boolean function F(A, B, C) = Σm(1, 2, 3, 5, 7), where Σm denotes the sum of minterms. The minimal sum-of-products (SOP) expression of F is:

    Select one option
    Log in to save your answerCheck answer opens 28 Nov, 12:00 am IST
  2. Question 5MSQ · 1 mark

    A JK flip-flop has the characteristic equation: Next state = J Q′ + K′ Q, where Q is the present state. Which of the following statements are TRUE?

    Select one or more options
    Log in to save your answerCheck answer opens 28 Nov, 12:00 am IST

Computer Organization and Architecture

  1. Question 6MediumMCQ · 1 mark

    A computer has a 32-bit byte-addressable address space and a direct-mapped cache of size 16 KB. Each cache block contains 64 bytes. The number of bits in the TAG field is:

    Select one option
    Log in to save your answerCheck answer opens 28 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 stage takes one clock cycle. The following instructions are executed, where the first register of each instruction is the destination: Assume that no 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 three instructions. Answer: ____________

    I1: ADD R1, R2, R3
    I2: SUB R4, R1, R5
    I3: AND R6, R4, R1
    Log in to save your answerCheck answer opens 28 Nov, 12:00 am IST

Programming and Data Structures

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

    Consider the following C code: What is the output?

    #include <stdio.h>
    int main() {
        int a[] = {10, 20, 30, 40, 50};
        int *p = a;
        printf("%d", *(p + 3) - *(p + 1));
        return 0;
    }
    Select one option
    Log in to save your answerCheck answer opens 28 Nov, 12:00 am IST
  2. Question 9no optionsNAT · 1 markprogramming-data-structures-and-algorithms

    An initially empty binary max-heap receives the following insertions in order: 12, 7, 25, 15, 28, 10, 30. After all insertions, the maximum element is deleted once. Find the root element of the resulting heap. Answer: ____________

    Log in to save your answerCheck answer opens 28 Nov, 12:00 am IST
  3. Question 10HardMCQ · 1 markprogramming-data-structures-and-algorithms

    Consider the following recursive C function: Assume integer division. What is the tightest asymptotic time complexity of fun(n)?

    int fun(int n) {
        if (n <= 1)
            return 1;
        return fun(n/2) + fun(n/2);
    }
    Select one option
    Log in to save your answerCheck answer opens 28 Nov, 12:00 am IST

Algorithms

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

    A fractional knapsack has capacity W = 20. The values and weights of the items are: Item Value Weight A 60 10 B 100 20 C 120 30 What is the maximum achievable value?

    Select one option
    Log in to save your answerCheck answer opens 28 Nov, 12:00 am IST
  2. Question 12NAT · 1 markprogramming-data-structures-and-algorithms

    A directed weighted graph has the following edges, with the weight of each edge shown in brackets: S → A (4), S → B (1), B → A (2), A → C (1), B → C (5), C → D (3), A → D (7), B → D (10) Dijkstra’s algorithm is run from the source vertex S. Find the final shortest distance from S to D. Answer: ____________

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

    Consider the following recurrence: T(n) = T(n−1) + T(n−2) + 1, for n ≥ 2 What is the asymptotic growth of T(n)?

    T(0) = T(1) = 1
    Select one option
    Log in to save your answerCheck answer opens 28 Nov, 12:00 am IST

Theory of Computation

  1. Question 14MediumMCQ · 1 mark

    Consider the following grammar, where ε denotes the empty string: S → a S b | S S | ε Which of the following statements is correct?

    Select one option
    Log in to save your answerCheck answer opens 28 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 3 } Find the minimum number of states required by any complete DFA that recognizes L. Answer: ____________

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

Compiler Design

  1. Question 16MediumMCQ · 1 mark

    Consider the following grammar, where ε denotes the empty string: S → A a A → b A | ε Which of the following statements is correct?

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

    Consider the following basic block: Assume that x is live at the exit of the block and all other variables are dead at the exit. Using standard backward liveness analysis, determine the number of variables live immediately before statement 3.

    1. a = b + c
    2. d = a * e
    3. b = d + f
    4. c = b + e
    5. d = c + a
    6. x = d + b
    Select one option
    Log in to save your answerCheck answer opens 28 Nov, 12:00 am IST

Operating Systems

  1. Question 18MediumMCQ · 1 mark

    Three processes arrive at time 0 in the order P1, P2, P3, with the following CPU burst times: Process Burst Time P1 8 P2 4 P3 2 Round Robin scheduling is used with a time quantum of 2, and the context-switching overhead is zero. What is the average waiting time (rounded to two decimal places)?

    Select one option
    Log in to save your answerCheck answer opens 28 Nov, 12:00 am IST
  2. Question 19no optionsNAT · 1 mark

    A system uses a 32-bit virtual address and a page size of 4 KB. Each page table entry occupies 4 bytes. A single-level page table is used for each process. Calculate the size of the page table in MB, where 1 MB = 220 bytes. Answer: ____________

    Log in to save your answerCheck answer opens 28 Nov, 12:00 am IST
  3. Question 20MSQ · 1 mark

    Consider binary semaphores and counting semaphores. Which of the following statements are TRUE?

    Select one or more options
    Log in to save your answerCheck answer opens 28 Nov, 12:00 am IST

Database Management Systems

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

    Consider the relations Student(SID, Name, Dept) and Enroll(SID, CID, Grade). Natural join (⋈) is performed on the common attribute SID, and π denotes projection. Which relational algebra expression returns the names of students who have enrolled in at least one course?

    Select one option
    Log in to save your answerCheck answer opens 28 Nov, 12:00 am IST
  2. Question 22NAT · 1 markdatabase-management-and-warehousing

    Consider a relation R(A, B, C, D, E) with the following set of functional dependencies: F = { A → BC, C → D, D → E, E → A } How many candidate keys does the relation R have? Answer: ____________

    Log in to save your answerCheck answer opens 28 Nov, 12:00 am IST
  3. Question 23MSQ · 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), w2(X), r2(Y), w1(Y), r3(X), w3(Y) Which of the following statements are TRUE?

    Select one or more options
    Log in to save your answerCheck answer opens 28 Nov, 12:00 am IST

Computer Networks

  1. Question 24MediumMCQ · 1 mark

    A TCP connection is in the congestion avoidance phase. Its current congestion window is 16 MSS (Maximum Segment Size) and the receiver’s advertised window is sufficiently large. Assume that one acknowledgement is received for every segment and no packet loss occurs. After successfully transmitting one full window of data, what will be the approximate congestion window?

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

    An IPv4 datagram has a total length of 4000 bytes, including a 20-byte IP header. It must pass through a link whose Maximum Transmission Unit (MTU) is 1500 bytes. Assume that no IP options are present, fragmentation is allowed, and every fragment except the last must carry a data payload that is a multiple of 8 bytes. Find the total number of fragments generated. Answer: ____________

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

More daily sets