π
GATE CS - Previous Year Questions
Previous-year GATE CS prompts for practice β options only until official keys are verified
142 questions15 pages~213 min
Practice with previous-year prompts and options. Official answer keys are not shown here yet β mark your choice, then verify against the IIT key PDF.
Use this track for exam reading speed and elimination practice until verified keys are linked.
Progress: 0 / 1420%
Page 8 of 15 β’ Questions 71-80 of 142
Practice mode: questions and options only. Official IIT answer keys are not linked here yet β mark your choice, then cross-check the official key yourself.
Q71medium
[GATE CS 2025 Set-2 Q52] Let Ξ£ = {π,π,π}. For π₯ β Ξ£β, and πΌ β Ξ£, let # (π₯) denote the number of πΌ occurrences of πΌ in π₯. Which one or more of the following option(s) define(s) regular language(s)?
Q72medium
[GATE CS 2025 Set-2 Q53] Consider the database transactions T1 and T2, and data items X and Y. Which of the schedule(s) is/are conflict serializable? Transaction T1 Transaction T2 R1(X) W2(X) W1(Y) W2(Y) R1(X) COMMIT(T2) W1(X) COMMIT(T1)
Q73medium
[GATE CS 2025 Set-2 Q54] Consider the following relational schema: Students (rollno: integer, name: string, age: integer, cgpa: real) Courses (courseno: integer, cname: string, credits: integer) Enrolled (rollno: integer, courseno: integer, grade: string) Which of the following options is/are correct SQL query/queries to retrieve the names of the students enrolled in course number (i.e., courseno) 1470?
Q74medium
[GATE CS 2024 Set-1 Q11] Let π:β β β be a function such that π(π₯) = max{π₯,π₯3}, π₯ β β , where β is the set of all real numbers. The set of all points where π(π₯) is NOT differentiable is
Q75medium
[GATE CS 2024 Set-1 Q12] The product of all eigenvalues of the matrix [4 5 6] is 7 8 9
Q76medium
[GATE CS 2024 Set-1 Q13] Consider a system that uses 5 bits for representing signed integers in 2βs complement format. In this system, two integers π΄ and π΅ are represented as π΄=01010 and π΅=11010. Which one of the following operations will result in either an arithmetic overflow or an arithmetic underflow?
Q77medium
[GATE CS 2024 Set-1 Q14] Consider a permutation sampled uniformly at random from the set of all permutations of {1,2,3,β―,π} for some π β₯ 4. Let π be the event that 1 occurs before 2 in the permutation, and π the event that 3 occurs before 4. Which one of the following statements is TRUE?
Q78medium
[GATE CS 2024 Set-1 Q15] Which one of the following statements is FALSE? In the cycle stealing mode of DMA, one word of data is transferred between an I/O
Q79medium
[GATE CS 2024 Set-1 Q16] A user starts browsing a webpage hosted at a remote server. The browser opens a single TCP connection to fetch the entire webpage from the server. The webpage consists of a top-level index page with multiple embedded image objects. Assume that all caches (e.g., DNS cache, browser cache) are all initially empty. The following packets leave the userβs computer in some order. (i) HTTP GET request for the index page (ii) DNS request to resolve the web serverβs name to its IP address (iii) HTTP GET request for an image object (iv) TCP SYN to open a connection to the web server Which one of the following is the CORRECT chronological order (earliest in time to latest) of the packets leaving the computer ?
Q80medium