GATE CS 2024 Set 1
All 65 solved GATE CS 2024 Set 1 questions in exam order. Open any question for the official answer and a step-by-step solution.
Questions
65
Total marks
100
By type: MCQ (29)MSQ (20)NAT (16)
Difficulty: Easy (24)Medium (37)Hard (4)
General Aptitude
- Q1If ‘’ denotes increasing order of intensity, then the meaning of the words [dry arid parched] is analogous to [diet…MCQ · +1 marks
- Q2If two distinct non-zero real variables and are such that is proportional to then the value of MCQ · +1 marks
- Q5For positive non-zero real variables and , if then, the value of isMCQ · +1 marks
- Q7A rectangular paper sheet of dimensions is taken. The two longer edges of the sheet are joined together to create a…MCQ · +2 marks
- Q8The pie chart presents the percentage contribution of different macronutrients to a typical 2,000 kcal diet of a person. [figure] The typical energy density…MCQ · +2 marks
- Q10The least number of squares to be added in the figure to make AB a line of symmetry is [figure]MCQ · +2 marks
General Aptitude (GA)
- Q3Consider the following sample of numbers: The median of the sample isMCQ · +1 marks
- Q4The number of coins of ₹1, ₹5, and ₹10 denominations that a person has are in the ratio 5:3:13. Of the total amount, the percentage of money in ₹5 coins isMCQ · +1 marks
- Q6In the given text, the blanks are numbered (i)–(iv). Select the best match for all the blanks. Steve was advised to keep his head _____(i)______ before…MCQ · +2 marks
- Q9A rectangular paper of is folded 3 times. Each fold is made along the line of symmetry, which is perpendicular to its long…MCQ · +2 marks
Computer Science and Information Technology
- Q11Let be a function such that , where is the set of all real…MCQ · +1 marks
- Q12The product of all eigenvalues of the matrix isMCQ · +1 marks
- Q14Consider a permutation sampled uniformly at random from the set of all permutations of for some . Let be the event that 1…MCQ · +1 marks
- Q15Which one of the following statements is FALSE?MCQ · +1 marks
- Q16A 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…MCQ · +1 marks
- Q17Given an integer array of size , we want to check if the array is sorted (in either ascending or descending order). An algorithm solves this problem by…MCQ · +1 marks
- Q18Consider the following C program: [code] Which one of the following statements is CORRECT?MCQ · +1 marks
- Q19Consider the following C program: [code] Assume that the input to the program from the command line is 1234 followed by a newline character. Which one of the…MCQ · +1 marks
- Q20Let S be the specification: "Instructors teach courses. Students register for courses. Courses are allocated classrooms. Instructors guide students." Which one…MCQ · +1 marks
- Q21In a tree, the requirement of at least half-full (50%) node occupancy is relaxed for which one of the following cases?MCQ · +1 marks
- Q22Which of the following statements about a relation in first normal form (1NF) is/are TRUE ?MSQ · +1 marks
- Q23Let be two regular languages and a language which is not regular. Which of the following statements is/are always TRUE?MSQ · +1 marks
- Q25Which of the following process state transitions is/are NOT possible?MSQ · +1 marks
- Q26Which of the following is/are Bottom-Up Parser(s)?MSQ · +1 marks
- Q27Let and be two events in a probability space with , , and . Which of the following statements is/are TRUE?MSQ · +1 marks
- Q28Consider the circuit shown below where the gates may have propagation delays. Assume that all signal transitions occur instantaneously and that wires have no…MSQ · +1 marks
- Q30Consider a 5-stage pipelined processor with Instruction Fetch (IF), Instruction Decode (ID), Execute (EX), Memory Access (MEM), and Register Writeback (WB)…MSQ · +1 marks
- Q31Which of the following fields is/are modified in the IP header of a packet going out of a network address translation (NAT) device from an internal network to…MSQ · +1 marks
- Q32Let and be non-empty finite sets such that there exist one-to-one and onto functions (i) from to and (ii) from to . The…NAT · +1 marks
- Q33Consider the operator precedence and associativity rules for the integer arithmetic operators given in the table below. | Operator | Precedence | Associativity…NAT · +1 marks
- Q34The number of spanning trees in a complete graph of 4 vertices labelled A, B, C, and D is _________NAT · +1 marks
- Q35Consider the following two relations,
R(A,B)andS(A,C): Relation R | A | B | |---|---| | 10 | 20 | | 20 | 30 | | 30 | 40 | | 30 | 50 | | 50 | 95 |…NAT · +1 marks - Q36Consider a network path P—Q—R between nodes P and R via router Q. Node P sends a file of size bytes to R via this path by splitting the file into chunks…MCQ · +2 marks
- Q38Consider the following grammar , with as the start symbol. The grammar has three incomplete productions denoted by (1), (2), and (3).…MCQ · +2 marks
- Q42Consider the following recurrence relation: Which…MCQ · +2 marks
- Q46Consider the following read-write schedule over three transactions , and , where the subscripts in the schedule indicate transaction IDs:…MSQ · +2 marks
- Q48Consider the following C function definition. [code] Which of the following statements is/are TRUE about the above function?MSQ · +2 marks
- Q50Consider the 5-state DFA accepting the language shown below. For any string let be the number of 0's in…MSQ · +2 marks
- Q52Consider the operators and defined by , , for positive integers. Which of the following statements…MSQ · +2 marks
- Q53Consider two set-associative cache memory architectures: WBC, which uses the write back policy, and WTC, which uses the write through policy. Both of…MSQ · +2 marks
- Q54Consider a 512 GB hard disk with 32 storage surfaces. There are 4096 sectors per track and each sector holds 1024 bytes of data. The number of cylinders in the…NAT · +2 marks
- Q55The baseline execution time of a program on a 2 GHz single core machine is 100 nanoseconds (ns). The code corresponding to 90% of the execution time can be…NAT · +2 marks
- Q56A given program has 25% load/store instructions. Suppose the ideal CPI (cycles per instruction) without any memory stalls is 2. The program exhibits 2% miss…NAT · +2 marks
- Q59Let be a context-free grammar in Chomsky Normal Form with and containing 10 variable symbols including the…NAT · +2 marks
- Q60The number of edges present in the forest generated by the DFS traversal of an undirected graph with 100 vertices is 40. The number of connected components…NAT · +2 marks
- Q61Consider the following two regular expressions over the alphabet : The total number of strings of length less…NAT · +2 marks
- Q62Consider a memory management system that uses a page size of . Assume that both the physical and virtual addresses start from . Assume that the…NAT · +2 marks
- Q63A bag contains 10 red balls and 15 blue balls. Two balls are drawn randomly without replacement. Given that the first ball drawn is red, the probability…NAT · +2 marks
- Q64Consider a digital logic circuit consisting of three 2-to-1 multiplexers M1, M2, and M3 as shown below. and are inputs of M1. and are…NAT · +2 marks
Computer Science and Information Technology Set 1 (CS1)
- Q13Consider a system that uses 5 bits for representing signed integers in 2’s complement format. In this system, two integers and are represented as…MCQ · +1 marks
- Q24Which of the following statements about threads is/are TRUE?MSQ · +1 marks
- Q29TCP client successfully establishes a connection to TCP server . Let denote the sequence number in the SYN sent from to . Let denote…MSQ · +1 marks
- Q37Consider the following syntax-directed definition (SDD). | Production | Semantic Rules | | ------ | ------ | |
S → DHTU|…MCQ · +2 marks - Q39Consider the following pseudo-code. [code] Which one of the following options CORRECTLY specifies the number of basic blocks and the number of instructions in…MCQ · +2 marks
- Q40Consider the following two threads T1 and T2 that update two shared variables a and b. Assume that initially a = b = 1. Though context switching between…MCQ · +2 marks
- Q41An array is heapified. Which one of the following options represents the first three elements in the heapified…MCQ · +2 marks
- Q43Consider a binary min-heap containing 105 distinct elements. Let be the index (in the underlying array) of the maximum element stored in the heap. The…MCQ · +2 marks
- Q44The symbol indicates functional dependency in the context of a relational database. Which of the following options is/are TRUE?MSQ · +2 marks
- Q45Let be a directed graph and a depth first search (DFS) spanning tree in that is rooted at a vertex . Suppose is also a breadth first search…MSQ · +2 marks
- Q47Consider a Boolean expression given by . Which of the following statements is/are CORRECT?MSQ · +2 marks
- Q49Let be any matrix, where . Which of the following statements is/are TRUE about the system of linear equations ?MSQ · +2 marks
- Q51The chromatic number of a graph is the minimum number of colours used in a proper colouring of the graph. Let be any graph with vertices and…MSQ · +2 marks
- Q57Consider the following code snippet using the
fork()andwait()system calls. Assume that the code compiles and runs correctly, and that the system calls…NAT · +2 marks - Q58Consider the entries shown below in the forwarding table of an IP router. Each entry consists of an IP prefix and the corresponding next hop router for packets…NAT · +2 marks
- Q65Consider sending an IP datagram of size 1420 bytes (including 20 bytes of IP header) from a sender to a receiver over a path of two links with a router between…NAT · +2 marks
Take GATE CS 2024 Set 1 as a timed test
Real exam conditions, auto-graded with detailed analytics.
Start free test