Skip to content
GATEiit

All subjects · 28 November 2026

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

GATE CS 2027 | 25-30 Questions Daily - 28-11-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

  1. Question 1MSQ · 1 mark

    Let G be a simple undirected graph with 8 vertices, in which every vertex has degree at least 4. Which of the following statements must necessarily be TRUE?

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

    Let A be a real 4 × 4 matrix satisfying A2 − 2A + I = O, where I is the identity matrix and O is the zero matrix. Suppose additionally that the rank of (A − I) is 2. Find the rank of A. (Give your answer as an integer.) Answer: ____________

    Log in to save your answerCheck answer opens 29 Nov, 12:00 am IST
  3. Question 3NAT · 1 markprobability-and-statistics

    A medical test for a disease has the following properties: • Disease prevalence (probability that a person has the disease): 0.02 • Sensitivity (probability of a positive result, given that the person has the disease): 0.95 • Specificity (probability of a negative result, given that the person does not have the disease): 0.90 Two tests are conducted on the same person. Assume that their outcomes are conditionally independent given the disease status of the person. Given that exactly one of the two tests is positive, find the probability that the person has the disease. (Give your answer as a decimal rounded to four decimal places.) Answer: ____________

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

Digital Logic

  1. Question 4HardMCQ · 1 mark

    A Boolean function is defined as F(A, B, C, D) = Σm(0, 2, 5, 7, 8, 10, 13, 15), with don’t care conditions d(A, B, C, D) = Σm(1, 9). Here Σm denotes the sum of minterms. What is the number of literals in a minimum sum-of-products (SOP) expression of F?

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

    A sequential circuit uses two positive-edge-triggered JK flip-flops with outputs Q1 and Q0. Their input equations are: J1 = Q0, K1 = 1 J0 = 1, K0 = Q1 The initial state (Q1 Q0) is 00. Which of the following statements are TRUE?

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

Computer Organization and Architecture

  1. Question 6no optionsNAT · 1 mark

    A byte-addressable system has a 32-bit physical address. Its cache has the following properties: • Cache size = 32 KB • Block size = 128 bytes • Mapping: 4-way set associative Calculate the number of tag bits. Answer: ____________

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

    Consider a 5-stage pipeline with the stages IF, ID, EX, MEM and WB, each taking one clock cycle, and the following instructions, 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 stall instructions whenever required, and there are no structural hazards. What is the minimum total number of clock cycles required to complete all three instructions?

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

Programming and Data Structures

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

    Consider the following C code: Which of the following observations is correct?

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

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

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

    A dynamic array initially has capacity 1. Whenever it is full, its capacity is doubled before the next element is inserted. Starting from an empty array, 16 elements are inserted. Assume that each element copy during resizing costs 1 unit and each ordinary insertion costs 1 unit. Find the total cost of all 16 insertions, including resizing costs. Answer: ____________

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

Algorithms

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

    Consider the following activities: Activity Start Time Finish Time A1 1 4 A2 3 5 A3 0 6 A4 5 7 A5 3 9 A6 5 9 A7 6 10 A8 8 11 A9 8 12 A10 2 14 A11 12 16 Using the standard earliest-finish-time greedy algorithm, what is the maximum number of mutually compatible activities selected?

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

    Let G be a connected, undirected, weighted graph in which all edge weights are distinct. Which of the following statements are necessarily TRUE?

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

    Consider the following two strings: X = ABCBDAB Y = BDCABA Find the length of their longest common subsequence (LCS). Answer: ____________

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

Theory of Computation

  1. Question 14MSQ · 1 mark

    Let L1 and L2 be two regular languages over the same alphabet. Define: L3 = { xy | x belongs to L1, y belongs to L2, and x and y have equal length } Which of the following statements are necessarily TRUE?

    Select one or more options
    Log in to save your answerCheck answer opens 29 Nov, 12:00 am IST
  2. Question 15HardMCQ · 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 is correct?

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

Compiler Design

  1. Question 16HardMCQ · 1 mark

    Consider the following grammar: S → L = R | R L → * R | id R → L Which of the following statements is correct?

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

    Consider the following control-flow graph: The set of expressions under consideration is {b + c, d + e}. Assume the standard GEN and KILL equations, and that an expression is killed if any of its operands is modified. Which of the following statements is correct under available-expression analysis?

                            Entry
                                |
                B1: a = b + c
                                |
                B2: (branch)
                    / \
    B3: b = d + e B4: x = b + c
                    \ /
                B5: y = b + c
                                |
                            Exit
    Select one option
    Log in to save your answerCheck answer opens 29 Nov, 12:00 am IST

Operating Systems

  1. Question 18NAT · 1 mark

    Consider the following processes, where a smaller priority number means a higher priority: Process Arrival Time Burst Time Priority P1 0 8 3 P2 1 4 1 P3 2 2 2 P4 4 1 1 Preemptive priority scheduling is used. Processes with the same priority are served in first-come, first-served order, and the context-switching overhead is zero. Calculate the average waiting time. Answer: ____________

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

    A system has three resource types A, B and C with total instances (10, 5, 7). The currently allocated resources are: Process A B C P0 0 1 0 P1 2 0 0 P2 3 0 2 P3 2 1 1 P4 0 0 2 The currently available resources are (3, 3, 2). The remaining need of each process is: Process A B C P0 7 4 3 P1 1 2 2 P2 6 0 0 P3 0 1 1 P4 4 3 1 Which of the following statements are TRUE?

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

    A process has 3 page frames, which are initially empty. The page reference string is: 1, 2, 3, 4, 1, 2, 5, 1, 2, 3, 4, 5 Using the Least Recently Used (LRU) page replacement algorithm, calculate the total number of page faults. Answer: ____________

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

Database Management Systems

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

    Consider the relation Employee(Eid, Dept, Salary) with the following data: Eid Dept Salary 1 A 50000 2 A 70000 3 B 60000 4 B 80000 5 C 40000 6 C 90000 Consider the following SQL query: What is the output?

    SELECT Dept
    FROM Employee
    GROUP BY Dept
    HAVING AVG(Salary) > (
        SELECT AVG(Salary)
        FROM Employee
    );
    Select one option
    Log in to save your answerCheck answer opens 29 Nov, 12:00 am IST
  2. Question 22no optionsNAT · 1 markdatabase-management-and-warehousing

    Consider a relation R(A, B, C, D, E) with the following set of functional dependencies: F = { AB → C, C → D, D → E, E → B } Find the total number of candidate keys of R. Answer: ____________

    Log in to save your answerCheck answer opens 29 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), r2(Y), w1(Y), r3(X), w2(X), w3(Y), r1(Z), w2(Z) Which of the following statements are TRUE?

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

Computer Networks

  1. Question 24no optionsNAT · 1 mark

    An organization is allocated the network 192.168.10.0/24. It needs four subnets with the following minimum numbers of usable hosts: • Subnet A: 100 hosts • Subnet B: 50 hosts • Subnet C: 25 hosts • Subnet D: 10 hosts Using Variable Length Subnet Masking (VLSM), subnets are allocated in descending order of host requirement, starting from the lowest available address. Find the last octet of the network address of Subnet D. Answer: ____________

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

    A TCP sender transmits two consecutive segments: • Segment 1: sequence number = 1000, data length = 500 bytes • Segment 2: sequence number = 1500, data length = 300 bytes Segment 1 arrives successfully, but Segment 2 is lost. The receiver later receives a retransmission of Segment 2 successfully. No SYN or FIN flags are involved, the receiver uses cumulative acknowledgments, and an acknowledgment number indicates the next expected byte. What is the acknowledgment number sent by the receiver after successfully receiving the retransmitted Segment 2? Answer: ____________

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

More daily sets