Past questions › Computer Science and Information Technology
GATE Computer Science and Information Technology (CS) previous year questions
713 official questions with answers.
GATE 2026 · set1
- The antonym of the word protagonist is . MCQ · 1 mark · Verbal Ability
- The figure shows two 4-tile patterns. Either one or both of the patterns can be used any number of times and in any… MCQ · 1 mark · Spatial Aptitude
- Consider a knock-out women’s badminton singles tournament where there are no ties. The loser in each game is… MCQ · 1 mark · Numerical Ability
- A student needs to enroll for a minimum of 60 credits. A student cannot enroll for more than 70 credits. The credits… MCQ · 1 mark · Numerical Ability
- ‘When the teacher is in the room, all students stand silently.’ If the above statement is true, which one of the… MCQ · 1 mark · Analytical Reasoning
- Combinatorics deals with problems involving counting. For example, “How many distinct arrangements of N distinct… MCQ · 2 marks · Verbal Ability
- In Panel I of the figure below, the front view and top view of a structure are shown. Which one of the 3D structures… MCQ · 2 marks · Spatial Aptitude
- For positive real numbers S and K, the function H K(S) is defined as: H K(S) = max(S - K, 0). The max function is… MCQ · 2 marks · Numerical Ability
- In the 2020 summer Olympics’ Javelin throw finals, Neeraj Chopra exhibited a spectacular performance to win the gold… MCQ · 2 marks · Analytical Reasoning
- An unbiased six-faced dice whose faces are marked with numbers 1, 2, 3, 4, 5, and 6 is rolled twice in succession and… MCQ · 2 marks · Numerical Ability
- An urn contains one red ball and one blue ball. At each step, a ball is picked uniformly at random from the urn, and… MCQ · 1 mark · Probability & Statistics
- Consider 4 4 matrices with their elements from \ 0, 1\ . The number of such matrices with even number of 1s in every… MCQ · 1 mark · Discrete Mathematics
- For n 1, the maximum multiplicity of any eigenvalue of an n n matrix with elements from R is MCQ · 1 mark · Linear Algebra
- Match each addressing mode in List I with a data element or an element of a data structure (in a high-level language)… MCQ · 1 mark · Machine Instructions & Addressing Modes
- Consider a processor P whose instruction set architecture is the load-store architecture. The instruction format is… MCQ · 1 mark · Machine Instructions & Addressing Modes
- Which one of the following dependencies among the register operands of different instructions can cause a data hazard… MCQ · 1 mark · Pipelining
- Consider the following recurrence relations: For all n 1, T 1(n) = 4T 1 ( n 2 ) + T 2(n) T 2(n) = 5T 2 ( n 4 ) + (log… MCQ · 1 mark · Asymptotic Notation
- With respect to a TCP connection between a client and a server, which one of the following statements is true? MCQ · 1 mark · Transport Layer
- Which of the following statements is/are true with respect to the interaction of a web browser with a web server using… MSQ · 1 mark · Application Layer
- Let n 1. Consider an n n matrix M with its elements from R . Let the vector (0, 1, 0, 0, , 0) R n be in the null space… MSQ · 1 mark · Linear Algebra
- Consider the following Boolean expression of a function F: F(P, Q) = ( P + Q) ( P Q) Which of the following… MSQ · 1 mark · Boolean Algebra
- Consider the 8-bit signed integers X, Y and Z represented using the sign-magnitude form. The binary representations of… MSQ · 1 mark · Number Systems
- Let n be an odd number greater than 100. Consider a binary minheap with n elements stored in an array P whose index… MSQ · 1 mark · Heaps
- Consider a hash table P[0, 1, , 10] that is initially empty. The hash table is maintained using open addressing with… MSQ · 1 mark · Hashing
- Consider the following grammar where S is the start symbol, and a and b are terminal symbols. S aSbS bS Which of the… MSQ · 1 mark · Context Free Languages
- Let M be a nondeterministic finite automaton (NFA) with 6 states over a finite alphabet. Which of the following… MSQ · 1 mark · Regular Languages & Finite Automata
- Consider the following C statements: code Which of the following options is/are correct? MSQ · 1 mark · Lexical Analysis
- Which of the following statements is/are true? MSQ · 1 mark · Syntax Analysis (Parsing)
- With respect to deadlocks in an operating system, which of the following statements is/are FALSE? MSQ · 1 mark · Deadlock
- Let P, Q, R and S be the attributes of a relation in a relational schema. Let X Y indicate functional dependency in… MSQ · 1 mark · Normalization
- In the context of relational database normalization, which of the following statements is/are true? MSQ · 1 mark · Normalization
- Consider the function f: R R defined as follows: f(x) = cases c 1 e x - c 2 log e ( 1 x ), & if x 0 \\ 3 & otherwise… NAT · 1 mark · Calculus
- The height of a binary tree is the number of edges in the longest path from the root to a leaf in the tree. The… NAT · 1 mark · Trees
- Consider the following program in C: code The output of the program is . (answer in integer) Note: Assume that the… NAT · 1 mark · C Programming Fundamentals
- Consider a system consisting of k instances of a resource R, being shared by 5 processes. Assume that each process… NAT · 1 mark · Deadlock
- Consider the real valued variables X, Y and Z represented using the IEEE 754 single-precision floating-point format.… MCQ · 2 marks · ALU & Data Path
- Consider a 2-bit saturating up/down counter that performs the saturating up count when the input P is 0, and the… MCQ · 2 marks · Sequential Circuits
- The size of the physical address space of a processor is 2 32 bytes. The capacity of a cache memory unit is 2 23… MCQ · 2 marks · Cache Memory
- Consider the following code snippet in C language that computes the number of nodes in a non-empty singly linked list… MCQ · 2 marks · Linked Lists
- Let P be the set of all integers from 1 to 15. Consider any order of insertion of the elements of P into a binary… MCQ · 2 marks · Binary Search Trees
- Let G(V, E) be an undirected, edge-weighted graph with integer weights. The weight of a path is the sum of the weights… MCQ · 2 marks · Graph Algorithms
- Consider the control flow graph shown in the figure. Which one of the following options correctly lists the set of… MCQ · 2 marks · Code Optimization
- Consider a relational database schema with two relations R(P, Q) and S(X, Y). Let E = \ u v\, w\ u, v R v, w S\ be a… MCQ · 2 marks · Relational Model
- A TCP sender successfully establishes a connection with a TCP receiver and starts the transmission of segments. The… MCQ · 2 marks · Transport Layer
- Consider the implementation of sliding window protocol over a lossless link, with a window size of W frames, where… MCQ · 2 marks · Data Link Layer
- Let f: R R be defined as follows: f(x) = ( x 2 - x ) (x - x 2 ) Which of the following statements is/are true? MSQ · 2 marks · Calculus
- Let G(V, E) be a simple, undirected graph. A vertex cover of G is a subset V' V such that for every (u, v) E, u V' or… MSQ · 2 marks · NP-Completeness
- Consider a Boolean function F with the following minterm expression: F(P, Q, R, S) = m\,(1, 2, 3, 4, 5, 7, 10, 12, 13,… MSQ · 2 marks · Minimization (K-Map)
- Let G(V, E) be a simple, undirected, edge-weighted graph with unique edge weights. Which of the following statements… MSQ · 2 marks · Graph Algorithms
- Consider the following pseudocode for depth-first search (DFS) algorithm which takes a directed graph G(V, E) as… MSQ · 2 marks · Graph Algorithms
- Let L 1 and L 2 be two languages over a finite alphabet, such that L 1 L 2 and L 2 are regular languages. Which of the… MSQ · 2 marks · Regular Languages & Finite Automata
- Consider the following context-free grammar G. S abaABAbba A aaBBAb bBabaa B aBb ab In the above grammar, S is the… MSQ · 2 marks · Context Free Languages
- Consider the following two syntax-directed definitions SDD1 and SDD2 for type declarations. D is the start symbol, and… MSQ · 2 marks · Semantic Analysis
- Consider a system that has a cache memory unit and a memory management unit (MMU). The address input to the cache… MSQ · 2 marks · Virtual Memory
- An undirected, unweighted, simple graph G(V, E) is said to be 2-colorable if there exists a function c: V \ 0, 1\ such… MSQ · 2 marks · Graph Algorithms
- An ISP having an address block 202.16.0.0/15 assigns a block of 6000 IP addresses to a client, using the classless… MSQ · 2 marks · Network Layer & IP
- Let G be an undirected graph, which is a path on 8 vertices. The number of matchings in G is . (answer in integer) NAT · 2 marks · Discrete Mathematics
- Let X be a random variable which takes values in the set \ 1, 2, 3, 4, 5, 6, 7, 8\ . Further, (X = 1) = (X = 2) = (X =… NAT · 2 marks · Probability & Statistics
- Consider a hard disk with a rotational speed of 15000 rpm. The time to move the read/write head from a track to its… NAT · 2 marks · I/O Systems
- The EX stage of a pipelined processor performs the memory read operations for LOAD instructions, and the operations… NAT · 2 marks · Pipelining
- Consider the recursive functions represented by the following code segment: code The smallest positive integer n for… NAT · 2 marks · Recursion
- The following sequence corresponds to the preorder traversal of a binary search tree T: 50, 25, 13, 40, 30, 47, 75,… NAT · 2 marks · Binary Search Trees
- Consider the following program snippet. Assume that the program compiles and runs successfully. Further, assume that… NAT · 2 marks · Processes & Threads
- Consider a CPU that has to execute two types of processes. The first type, Actuators (A), requires a CPU burst of 6… NAT · 2 marks · CPU Scheduling
- Consider a relational database schema with a relation R(A, B, C, D). If \ A, B\ and \ A, C\ are the only two candidate… NAT · 2 marks · Normalization
GATE 2026 · set2
- Expedite, Hasten, Hurry, Fill the blank by choosing a word with a meaning similar to that of the words given above. MCQ · 1 mark · Verbal Ability
- A black square PQRS has been cut into two parts. One part of it is shown in Panel I. Which one of the shapes in Panel… MCQ · 1 mark · Spatial Aptitude
- A day can only be cloudy or sunny. The probability of a day being cloudy is 0.5, independent of the condition on other… MCQ · 1 mark · Numerical Ability
- The values of Stock A and Stock B on a particular day are Rs. 50 and Rs. 80, respectively. An investor invests Rs. 100… MCQ · 1 mark · Numerical Ability
- ‘When it is raining, peacocks dance.’ Based only on this sentence, which one of the following options is necessarily… MCQ · 1 mark · Analytical Reasoning
- Water : P :: Food : Q Choose the P and Q combination from the options below to form a meaningful analogy. MCQ · 2 marks · Verbal Ability
- Two tiles are missing in Panel I. Which one of the options in Panel II is the appropriate choice for the missing tiles? MCQ · 2 marks · Spatial Aptitude
- Figures (i) and (ii) represent intercity highway systems. The black dots represent cities and the line segments… MCQ · 2 marks · Analytical Reasoning
- The figure in Panel I below is a grid of cells with four rows and four columns. The numbers on the top and on the left… MCQ · 2 marks · Analytical Reasoning
- An unbiased six-faced dice whose faces are marked with numbers 1, 2, 3, 4, 5, and 6 is rolled twice in succession and… MCQ · 2 marks · Numerical Ability
- For two different persons x and y, the predicate M(x, y) denotes that x knows y. Consider the following statement.… MCQ · 1 mark · Discrete Mathematics
- The set T represents various traversals over binary tree. The set S represents the order of visiting nodes during a… MCQ · 1 mark · Trees
- Which one of the following statements is equivalent to the following assertion? Turing machine M decides the language… MCQ · 1 mark · Turing Machines
- The probability density function f(x) of a random variable X which takes real values is f(x) = 1 3 2 exp (- x 2 18 ),… MCQ · 1 mark · Probability & Statistics
- In the context of DBMS, consider the two sets T and S given below. T S --- --- I: Logical schema L: Views II: Physical… MCQ · 1 mark · Relational Model
- Which one of the following options is not a property of Boolean Algebra? Note: + is OR operation, . is AND operation,… MCQ · 1 mark · Boolean Algebra
- In C runtime environment, which one of the following is stored in heap? MCQ · 1 mark · Runtime Environments
- Consider the following two statements about interrupt handling mechanisms in a CPU. S1: In non-vectored interrupt… MCQ · 1 mark · I/O Organization
- Consider the following three ANSI-C programs, P1, P2, and P3. P1: code P2: code P3: code Which one of the following… MCQ · 1 mark · C Programming Fundamentals
- Consider concurrent execution of two transactions T1 and T2 in a DBMS, both of which access a data object A. For these… MCQ · 1 mark · Transactions & Concurrency Control
- Consider a file of size 4 million bytes being transferred between two hosts connected via a path consisting of three… MCQ · 1 mark · Data Link Layer
- Which one of the following protocols may need to broadcast some of its messages? MCQ · 1 mark · Application Layer
- Which one of the following CPU scheduling algorithms cannot be preemptive? MCQ · 1 mark · CPU Scheduling
- Consider the following functions, where n is a positive integer. n 1/3 ,\ log(n),\ log(n!),\ 2 log(n) Which one of the… MCQ · 1 mark · Asymptotic Notation
- Which of the following can be recurrence relation(s) corresponding to an algorithm with time complexity (n)? MSQ · 1 mark · Asymptotic Notation
- Let R be a binary relation on the set \ 1, 2, , 10\ , where (x, y) R if the product of x and y is square of an… MSQ · 1 mark · Discrete Mathematics
- For a real number a, let I(a) = -1 1 (3x 2 - ax + 1)\, dx. Which of the following statements is/are true? MSQ · 1 mark · Calculus
- In a system, numbers are represented using 4-bit two’s complement form. Consider four numbers N 1 = 1011, N 2 = 1101,… MSQ · 1 mark · Number Systems
- Which of the following grammars is/are ambiguous? MSQ · 1 mark · Context Free Languages
- The keys 5, 28, 19, 15, 26, 33, 12, 17, 10 are inserted into a hash table using the hash function h(k) = k 9. The… NAT · 1 mark · Hashing
- Consider the system of linear equations given below. ax + y = b 16x + ay = 24 Suppose the values of a and b are chosen… NAT · 1 mark · Linear Algebra
- Consider an array A = [10, 7, 8, 19, 41, 35, 25, 31]. Suppose the merge sort algorithm is executed on array A to sort… NAT · 1 mark · Searching and Sorting
- If an IP network uses a subnet mask of 255.255.240.0, the maximum number of IP addresses that can be assigned to… NAT · 1 mark · Network Layer & IP
- The 32-bit IEEE 754 single precision representation of a number is 0xC2710000. The number in decimal representation is… NAT · 1 mark · ALU & Data Path
- A lexical analyzer uses the following token definitions letter [A-Za-z] digit [0-9] id letter\ (letter digit) number… NAT · 1 mark · Lexical Analysis
- Consider a complete graph K n with n vertices (n 4). Note that multiple spanning trees can be constructed over K n.… MCQ · 2 marks · Graph Algorithms
- Let G be a weighted directed acyclic graph with m edges and n vertices. Given G and a source vertex s in G, which one… MCQ · 2 marks · Graph Algorithms
- Consider an array A of integers of size n. The indices of A run from 1 to n. An algorithm is to be designed to check… MCQ · 2 marks · Searching and Sorting
- Consider a table T, where the elements T[i][j], 0 i, j n, represent the cost of the optimal solutions of different… MCQ · 2 marks · Dynamic Programming
- Consider the following 4-variable Boolean function F(A, B, C, D) = m(0, 1, 2, 3, 8, 9, 10, 11) Consider A as MSB, D as… MCQ · 2 marks · Minimization (K-Map)
- Consider the canonical LR(0) parsing of the grammar below using terminals \ a, b, c\ and non-terminals \ A, B, C, S\… MCQ · 2 marks · Syntax Analysis (Parsing)
- In the context of schema normalization in relational DBMS, consider a set F of functional dependencies. The set of all… MCQ · 2 marks · Normalization
- Consider the transmission of data bits 110001011 over a link that uses Cyclic Redundancy Check (CRC) code for error… MCQ · 2 marks · Data Link Layer
- Consider a processor that has 16 general purpose registers and it uses 2-byte instruction format for all its… MCQ · 2 marks · Machine Instructions & Addressing Modes
- Consider the control flow graph given below. Which one of the following options is the set of live variables at the… MCQ · 2 marks · Code Optimization
- An index in a DBMS is said to be dense if an index entry appears for every search-key value in the indexed file.… MCQ · 2 marks · Indexing & Hashing
- Consider the following two finite automata D 1 and D 2. Which of the following statements is/are true? MSQ · 2 marks · Regular Languages & Finite Automata
- Let = \ a, b, c, d\ and let L = \ a i b j c k d i, j, k, 0\ . Which of the following constraints ensure(s) that the… MSQ · 2 marks · Context Free Languages
- Consider a binary search tree (BST) with n leaf nodes (n 0). Given any node V, the key present in the node is denoted… MSQ · 2 marks · Binary Search Trees
- Consider a stack S and a queue Q. Both of them are initially empty and have the capacity to store ten elements each.… MSQ · 2 marks · Stacks and Queues
- Consider three processes P1, P2, and P3 running identical code, as shown in the pseudocode below. A and B are two… MSQ · 2 marks · Process Synchronization
- Consider a system with a processor and a 4 KB direct mapped cache with block size of 16 bytes. The system has a 16 MB… MSQ · 2 marks · Cache Memory
- To keep track of free blocks in a file system, one of the two approaches is generally used – using bitmaps (bit… NAT · 2 marks · File Systems
- A system has a Translation Lookaside Buffer (TLB) that has a reach of 1 MB. TLB reach is defined as the total amount… NAT · 2 marks · Virtual Memory
- Consider contiguous allocation of physical memory to processes using variable partitioning scheme. Suppose there are 8… NAT · 2 marks · Memory Management
- Consider a system with 1 MB physical memory and a word length of 1 byte. The system uses a direct mapped cache, with… NAT · 2 marks · Cache Memory
- A non-pipelined instruction execution unit that operates at 1.6 GHz clock takes an average of 5 clock cycles to… NAT · 2 marks · Pipelining
- Consider a new TCP connection between a sender and a receiver. The receiver advertised window is constant at 48 KB,… NAT · 2 marks · Transport Layer
- Consider the digital circuit shown below with two input lines A and B, two select lines S0 and S1, and an output line… NAT · 2 marks · Combinational Circuits
- Consider the following ANSI-C program. code The output of this program is . (answer in integer) Note: Assume that the… NAT · 2 marks · C Programming Fundamentals
- Consider the following ANSI-C function. code The maximum possible value that can be returned from this function is .… NAT · 2 marks · Recursion
- The determinant of a 4 4 matrix A is 3. The value of the determinant of 2A is . (answer in integer) NAT · 2 marks · Linear Algebra
- Suppose an unbiased coin is tossed 6 times. Each coin toss is independent of all previous coin tosses. Let E 1 be the… NAT · 2 marks · Probability & Statistics
- Consider a function f: (0,1) \ 0, 1\ defined as follows. For a real number r (0,1), f(r) = 1 if the second digit after… NAT · 2 marks · Calculus
- It is necessary to design a link-layer protocol between two hosts that are directly connected over a lossless link of… NAT · 2 marks · Data Link Layer
GATE 2025 · set1
- Ravi had younger brother who taught at university. He was widely regarded as honorable man. Select the option with the… MCQ · 1 mark · Verbal Ability
- The CEO’s decision to downsize the workforce was considered myopic because it sacrificed long-term stability to… MCQ · 1 mark · Verbal Ability
- The average marks obtained by a class in an examination were calculated as 30.8. However, while checking the marks… MCQ · 1 mark · Numerical Ability
- Consider the relationships among P, Q, R, S, and T: - P is the brother of Q. - S is the daughter of Q. - T is the… MCQ · 1 mark · Analytical Reasoning
- According to the map shown in the figure, which one of the following statements is correct? Note: The figure shown is… MCQ · 1 mark · Spatial Aptitude
- “I put the brown paper in my pocket along with the chalks, and possibly other things. I suppose every one must have… MCQ · 2 marks · Verbal Ability
- In the diagram, the lines QR and ST are parallel to each other. The shortest distance between these two lines is half… MCQ · 2 marks · Numerical Ability
- A fair six-faced dice, with the faces labelled ‘1’, ‘2’, ‘3’, ‘4’, ‘5’, and ‘6’, is rolled thrice. What is the… MCQ · 2 marks · Numerical Ability
- A square paper, shown in figure (I), is folded along the dotted lines as shown in the figures (II) and (III). Then a… MCQ · 2 marks · Spatial Aptitude
- A shop has 4 distinct flavors of ice-cream. One can purchase any number of scoops of any flavor. The order in which… MCQ · 2 marks · Numerical Ability
- Suppose a program is running on a non-pipelined single processor computer system. The computer is connected to an… MCQ · 1 mark · I/O Organization
- Which ONE of the following statements is FALSE regarding the symbol table? MCQ · 1 mark · Lexical Analysis
- Which ONE of the following techniques used in compiler code optimization uses live variable analysis? MCQ · 1 mark · Code Optimization
- Consider a demand paging memory management system with 32-bit logical address, 20-bit physical address, and page size… MCQ · 1 mark · Memory Management
- A schedule of three database transactions T1, T2, and T3 is shown. R i(A) and W i(A) denote read and write of data… MCQ · 1 mark · Transactions & Concurrency Control
- Identify the ONE CORRECT matching between the OSI layers and their corresponding functionalities as shown. OSI Layers… MCQ · 1 mark · OSI & TCP/IP Model
- g(.) is a function from A to B, f(.) is a function from B to C, and their composition defined as f(g(.)) is a mapping… MCQ · 1 mark · Discrete Mathematics
- Let G be any undirected graph with positive edge weights, and T be a minimum spanning tree of G. For any two vertices,… MCQ · 1 mark · Graph Algorithms
- Consider the following context-free grammar G, where S, A, and B are the variables (non-terminals), a and b are the… MCQ · 1 mark · Context Free Languages
- Consider the following recurrence relation: T(n) = 2T(n-1) + n2 n for n 0, T(0) = 1. Which ONE of the following… MCQ · 1 mark · Asymptotic Notation
- Consider the following B + tree with 5 nodes, in which a node can store at most 3 key values. The value 23 is now… MSQ · 1 mark · Indexing & Hashing
- Consider the 3-way handshaking protocol for TCP connection establishment. Let the three packets exchanged during the… MSQ · 1 mark · Transport Layer
- Consider the given system of linear equations for variables x and y, where k is a real-valued constant. Which of the… MSQ · 1 mark · Linear Algebra
- Let X be a 3-variable Boolean function that produces output as ‘1’ when at least two of the input variables are ‘1’.… MSQ · 1 mark · Boolean Algebra
- The number −6 can be represented as 1010 in 4-bit 2’s complement representation. Which of the following is/are CORRECT… MSQ · 1 mark · Number Systems
- Which of the following statement(s) is/are TRUE for any binary search tree (BST) having n distinct integers? MSQ · 1 mark · Binary Search Trees
- A partial data path of a processor is given in the figure, where RA, RB, and RZ are 32-bit registers. Which option(s)… MSQ · 1 mark · ALU & Data Path
- A regular language L is accepted by a non-deterministic finite automaton (NFA) with n states. Which of the following… MSQ · 1 mark · Regular Languages & Finite Automata
- Suppose in a multiprogramming environment, the following C program segment is executed. A process goes into I/O queue… NAT · 1 mark · Processes & Threads
- Let S be the set of all ternary strings defined over the alphabet \ a, b, c\ . Consider all strings in S that contain… NAT · 1 mark · Discrete Mathematics
- Consider the given function f(x). f(x) = cases ax + b & for x < 1 \\ x 3 + x 2 + 1 & for x 1 cases If the function is… NAT · 1 mark · Calculus
- A box contains 5 coins: 4 regular coins and 1 fake coin. When a regular coin is tossed, the probability P(head) = 0.5… NAT · 1 mark · Probability & Statistics
- The pseudocode of a function fun() is given below: code Let A[0, , 29] be an array storing 30 distinct integers in… NAT · 1 mark · Searching and Sorting
- code The output of the given C program is . (Answer in integer) NAT · 1 mark · C Programming Fundamentals
- The height of any rooted tree is defined as the maximum number of edges in the path from the root node to any leaf… NAT · 1 mark · Heaps
- Consider a memory system with 1M bytes of main memory and 16K bytes of cache memory. Assume that the processor… MCQ · 2 marks · Cache Memory
- A processor has 64 general-purpose registers and 50 distinct instruction types. An instruction is encoded in 32-bits.… MCQ · 2 marks · Machine Instructions & Addressing Modes
- A computer has two processors, M 1 and M 2. Four processes P 1, P 2, P 3, P 4 with CPU bursts of 20, 16, 25, and 10… MCQ · 2 marks · CPU Scheduling
- Consider two relations describing teams and players in a sports league: - teams(tid, tname): tid, tname are team-id… MCQ · 2 marks · Relational Model
- A packet with the destination IP address 145.36.109.70 arrives at a router whose routing table is shown. Which… MCQ · 2 marks · Network Layer & IP
- Let A be a 2 2 matrix as given. A = bmatrix 1 & 1 \\ 1 & -1 bmatrix What are the eigenvalues of the matrix A 13 ? MCQ · 2 marks · Linear Algebra
- Consider the following four variable Boolean function in sum-of-product form F(b 3, b 2, b 1, b 0) = (0, 2, 4, 8, 10,… MCQ · 2 marks · Minimization (K-Map)
- Let G(V, E) be an undirected and unweighted graph with 100 vertices. Let d(u, v) denote the number of edges in a… MCQ · 2 marks · Graph Algorithms
- Consider the following two languages over the alphabet \ a, b\ : L 1 = \ \ a, b\ + \ AND\ \ a, b\ + \ L 2 = \ \ a\ + \… MCQ · 2 marks · Regular Languages & Finite Automata
- Consider the following two languages over the alphabet \ a, b, c\ , where m and n are natural numbers. L 1 = \ a m b m… MCQ · 2 marks · Context Free Languages
- Which of the following statement(s) is/are TRUE while computing First and Follow during top down parsing by a compiler? MSQ · 2 marks · Syntax Analysis (Parsing)
- Consider a relational schema team(name, city, owner), with functional dependencies \ name city, name owner\ . The… MSQ · 2 marks · Normalization
- Which of the following predicate logic formulae/formula is/are CORRECT representation(s) of the statement: “Everyone… MSQ · 2 marks · Discrete Mathematics
- A = \ 0, 1, 2, 3, \ is the set of non-negative integers. Let F be the set of functions from A to itself. For any two… MSQ · 2 marks · Discrete Mathematics
- Consider the following deterministic finite automaton (DFA) defined over the alphabet, = \ a, b\ . Identify which of… MSQ · 2 marks · Regular Languages & Finite Automata
- A disk of size 512M bytes is divided into blocks of 64K bytes. A file is stored in the disk using linked allocation.… NAT · 2 marks · File Systems
- Refer to the given 3-address code sequence. This code sequence is split into basic blocks. The number of basic blocks… NAT · 2 marks · Code Optimization
- A computer has a memory hierarchy consisting of two-level cache (L1 and L2) and a main memory. If the processor needs… NAT · 2 marks · Cache Memory
- In optimal page replacement algorithm, information about all future page references is available to the operating… NAT · 2 marks · Virtual Memory
- Consider the following database tables of a sports league. player(pid,pname,age) coach(cid,cname)… NAT · 2 marks · SQL
- Suppose a 5-bit message is transmitted from a source to a destination through a noisy channel. The probability that a… NAT · 2 marks · Probability & Statistics
- Suppose a message of size 15000 bytes is transmitted from a source to a destination using IPv4 protocol via two… NAT · 2 marks · Network Layer & IP
- Consider a probability distribution given by the density function P(x). P(x) = cases Cx 2 , & for 1 x 4 \\ 0, & for x… NAT · 2 marks · Probability & Statistics
- Consider a finite state machine (FSM) with one input X and one output f, represented by the given state transition… NAT · 2 marks · Sequential Circuits
- Consider the given sequential circuit designed using D-Flip-flops. The circuit is initialized with some value (initial… NAT · 2 marks · Sequential Circuits
- code The value printed by the given C program is . (Answer in integer) NAT · 2 marks · Recursion
- Let LIST be a datatype for an implementation of linked list defined as follows: code Suppose a program has created two… NAT · 2 marks · Linked Lists
- Consider the following C program: code The value printed by the given C program is . (Answer in integer) NAT · 2 marks · C Programming Fundamentals
- The maximum value of x such that the edge between the nodes B and C is included in every minimum spanning tree of the… NAT · 2 marks · Graph Algorithms
- In a double hashing scheme, h 1(k) = k 11 and h 2(k) = 1 + (k 7) are the auxiliary hash functions. The size m of the… NAT · 2 marks · Hashing
GATE 2025 · set2
- Despite his initial hesitation, Rehman's \ \ \ \ \ \ \ \ \ to contribute to the success of the project never wavered.… MCQ · 1 mark · Verbal Ability
- Bird : Nest :: Bee : \ \ \ \ \ \ \ Select the correct option to complete the analogy. MCQ · 1 mark · Verbal Ability
- If Pe x = Qe -x for all real values of x, which one of the following statements is true? MCQ · 1 mark · Numerical Ability
- The paper as shown in the figure is folded to make a cube where each square corresponds to a particular face of the… MCQ · 1 mark · Spatial Aptitude
- Let p 1 and p 2 denote two arbitrary prime numbers. Which one of the following statements is correct for all values of… MCQ · 1 mark · Numerical Ability
- Based only on the conversation below, identify the logically correct inference: “Even if I had known that you were in… MCQ · 2 marks · Analytical Reasoning
- If IMAGE and FIELD are coded as FHBNJ and EMFJG respectively then, which one among the given options is the most… MCQ · 2 marks · Analytical Reasoning
- Which one of the following options is correct for the given data in the table? Iteration (i) 0 1 2 3 --- --- --- ---… MCQ · 2 marks · Data Interpretation
- In the given figure, PQRS is a square of side 2 cm and PLMN is a rectangle. The corner L of the rectangle is on the… MCQ · 2 marks · Spatial Aptitude
- The diagram below shows a river system consisting of 7 segments, marked P, Q, R, S, T, U, and V. It splits the land… MCQ · 2 marks · Analytical Reasoning
- If A = pmatrix 1 & 2 \\ 2 & -1 pmatrix , then which ONE of the following is A 8 ? MCQ · 1 mark · Linear Algebra
- The value of x such that x 1, satisfying the equation 1 x t ln t \, dt = 1 4 is MCQ · 1 mark · Calculus
- Consider a binary tree T in which every node has either zero or two children. Let n 0 be the number of nodes in T.… MCQ · 1 mark · Trees
- Let L, M, and N be non-singular matrices of order 3 satisfying the equations L 2 = L -1 , M = L 8 and N = L 2 . Which… MCQ · 1 mark · Linear Algebra
- Let P(x) be an arbitrary predicate over the domain of natural numbers. Which ONE of the following statements is TRUE? MCQ · 1 mark · Discrete Mathematics
- Consider the following statements: (i) Address Resolution Protocol (ARP) provides a mapping from an IP address to the… MCQ · 1 mark · Network Layer & IP
- Consider the routing protocols given in List I and the names given in List II : List I List II --- --- --- --- (i)… MCQ · 1 mark · Routing Algorithms
- A machine receives an IPv4 datagram. The protocol field of the IPv4 header has the protocol number of a protocol X.… MCQ · 1 mark · Network Layer & IP
- Consider the following C program: code Which ONE of the following will be the output of the program? MCQ · 1 mark · C Programming Fundamentals
- Consider an unordered list of N distinct integers. What is the minimum number of element comparisons required to find… MCQ · 1 mark · Searching and Sorting
- Consider the following statements about the use of backpatching in a compiler for intermediate code generation: (I)… MCQ · 1 mark · Intermediate Code Generation
- Given the following syntax directed translation rules: Rule 1: R AB\ \ B.i = R.i - 1;\ A.i = B.i;\ R.i = A.i + 1;\… MCQ · 1 mark · Semantic Analysis
- Consider a network that uses Ethernet and IPv4. Assume that IPv4 headers do not use any options field. Each Ethernet… MCQ · 1 mark · Network Layer & IP
- Which ONE of the following languages is accepted by a deterministic pushdown automaton? MCQ · 1 mark · Pushdown Automata
- Let G 1, G 2 be Context Free Grammars (CFGs) and R be a regular expression. For a grammar G, let L(G) denote the… MCQ · 1 mark · Decidability
- Processes P1, P2, P3, P4 arrive in that order at times 0, 1, 2, and 8 milliseconds respectively, and have execution… MCQ · 1 mark · CPU Scheduling
- An audit of a banking transactions system has found that on an earlier occasion, two joint holders of account A… MSQ · 1 mark · Transactions & Concurrency Control
- Which of the following is/are part of an Instruction Set Architecture of a processor? MSQ · 1 mark · Machine Instructions & Addressing Modes
- Which of the following statements regarding Breadth First Search (BFS) and Depth First Search (DFS) on an undirected… MSQ · 1 mark · Graph Algorithms
- Consider the two lists List I and List II given below: List I List II --- --- (i) Context free languages (a) Closed… MSQ · 1 mark · Context Free Languages
- Consider the following logic circuit diagram. Which is/are the CORRECT option(s) for the output function F? MSQ · 1 mark · Logic Gates
- The following two signed 2's complement numbers (multiplicand M and multiplier Q) are being multiplied using Booth's… NAT · 1 mark · ALU & Data Path
- code The output of the given C code segment is . (Answer in integer) NAT · 1 mark · C Programming Fundamentals
- In a 4-bit ripple counter, if the period of the waveform at the last flip-flop is 64 microseconds, then the frequency… NAT · 1 mark · Sequential Circuits
- Suppose the values 10, -4, 15, 30, 20, 5, 60, 19 are inserted in that order into an initially empty binary search… NAT · 1 mark · Binary Search Trees
- Suppose we are transmitting frames between two nodes using Stop-and-Wait protocol. The frame size is 3000 bits. The… MCQ · 2 marks · Data Link Layer
- Let G be an edge-weighted undirected graph with positive edge weights. Suppose a positive constant is added to the… MCQ · 2 marks · Graph Algorithms
- A meld operation on two instances of a data structure combines them into one single instance of the same data… MCQ · 2 marks · Heaps
- For a direct-mapped cache, 4 bits are used for the tag field and 12 bits are used to index into a cache block. The… MCQ · 2 marks · Cache Memory
- Given a Context-Free Grammar G as follows: S Aa bAc dc bda A d Which ONE of the following statements is TRUE? MCQ · 2 marks · Syntax Analysis (Parsing)
- An array A of length n with distinct elements is said to be bitonic if there is an index 1 i n such that A[1..i] is… MCQ · 2 marks · Searching and Sorting
- Let F be the set of all functions from \ 1, , n\ to \ 0, 1\ . Define the binary relation on F as follows: f, g F ,\ f… MSQ · 2 marks · Discrete Mathematics
- Given the following Karnaugh Map for a Boolean function F(w, x, y, z): wx yz 00 01 11 10 --- --- --- --- --- 00 1 0 0… MSQ · 2 marks · Minimization (K-Map)
- Consider a system of linear equations PX = Q where P R 3 3 and Q R 3 1 . Suppose P has an LU decomposition, P = LU,… MSQ · 2 marks · Linear Algebra
- Consider a stack data structure into which we can PUSH and POP records. Assume that each record pushed in the stack… MSQ · 2 marks · Stacks and Queues
- Consider the following relational schema along with all the functional dependencies that hold on them. R1(A, B, C, D,… MSQ · 2 marks · Normalization
- Consider a demand paging system with three frames, and the following page reference string: 1 2 3 4 5 4 1 6 4 5 1 3 2.… MSQ · 2 marks · Virtual Memory
- P = \ P 1, P 2, P 3, P 4\ consists of all active processes in an operating system. R = \ R 1, R 2, R 3, R 4\ consists… MSQ · 2 marks · Deadlock
- Three floating point numbers X, Y, and Z are stored in three registers R X, R Y, and R Z, respectively in IEEE 754… MSQ · 2 marks · ALU & Data Path
- Which of the following Boolean algebraic equation(s) is/are CORRECT? MSQ · 2 marks · Boolean Algebra
- Consider two grammars G 1 and G 2 with the production rules given below: G 1: S if\ E\ then\ S if\ E\ then\ S\ else\ S… MSQ · 2 marks · Syntax Analysis (Parsing)
- Let = \ a, b, c\ . For x , and , let \ (x) denote the number of occurrences of in x. Which one or more of the… MSQ · 2 marks · Regular Languages & Finite Automata
- Consider the database transactions T1 and T2, and data items X and Y. Which of the schedule(s) is/are conflict… MSQ · 2 marks · Transactions & Concurrency Control
- Consider the following relational schema: Students (<u rollno: integer</u , name: string, age: integer, cgpa: real)… MSQ · 2 marks · SQL
- Given a computing system with two levels of cache (L1 and L2) and a main memory. The first level (L1) cache access… NAT · 2 marks · Cache Memory
- A 5-stage instruction pipeline has stage delays of 180, 250, 150, 170, and 250, respectively, in nanoseconds. The… NAT · 2 marks · Pipelining
- In a B +-tree where each node can hold at most four key values, a root to leaf path consists of the following nodes: A… NAT · 2 marks · Indexing & Hashing
- A computer system supports a logical address space of 2 32 bytes. It uses two-level hierarchical paging with a page… NAT · 2 marks · Memory Management
- Consider the following algorithm someAlgo that takes an undirected graph G as input. someAlgo(G) 1. Let v be any… NAT · 2 marks · Graph Algorithms
- Let = \ 1,2,3,4\ . For x , let prod(x) be the product of symbols in x modulo 7. We take prod( ) = 1, where is the null… NAT · 2 marks · Regular Languages & Finite Automata
- An application executes 6.4 10 8 number of instructions in 6.3 seconds. There are four types of instructions, the… NAT · 2 marks · Machine Instructions & Addressing Modes
- Consider the following C program: code The output of the above program is . (Answer in integer) NAT · 2 marks · C Programming Fundamentals
- Consider the following C program: code The output of the given C program is . (Answer in integer) NAT · 2 marks · C Programming Fundamentals
- A quadratic polynomial (x - )(x - ) over complex numbers is said to be square invariant if (x - )(x - ) = (x - 2 )(x -… NAT · 2 marks · Probability & Statistics
- The unit interval (0,1) is divided at a point chosen uniformly distributed over (0,1) in R into two disjoint… NAT · 2 marks · Probability & Statistics
GATE 2024 · set1
- If ‘→’ denotes increasing order of intensity, then the meaning of the words [dry → arid → parched] is analogous to… MCQ · 1 mark · Verbal Ability
- If two distinct non-zero real variables x and y are such that (x + y) is proportional to (x - y) then the value of x y MCQ · 1 mark · Numerical Ability
- Consider the following sample of numbers: 9, 18, 11, 14, 15, 17, 10, 69, 11, 13 The median of the sample is MCQ · 1 mark · Numerical Ability
- The number of coins of ₹1, ₹5, and ₹10 denominations that a person has are in the ratio 5:3:13. Of the total amount,… MCQ · 1 mark · Numerical Ability
- For positive non-zero real variables p and q, if log (p 2 + q 2) = log p + log q + 2log 3, then, the value of p 4+q 4… MCQ · 1 mark · Numerical Ability
- In the given text, the blanks are numbered (i)−(iv). Select the best match for all the blanks. Steve was advised to… MCQ · 2 marks · Verbal Ability
- A rectangular paper sheet of dimensions 54 cm 4 cm is taken. The two longer edges of the sheet are joined together to… MCQ · 2 marks · Numerical Ability
- The pie chart presents the percentage contribution of different macronutrients to a typical 2,000 kcal diet of a… MCQ · 2 marks · Data Interpretation
- A rectangular paper of 20 cm 8 cm is folded 3 times. Each fold is made along the line of symmetry, which is… MCQ · 2 marks · Spatial Aptitude
- The least number of squares to be added in the figure to make AB a line of symmetry is MCQ · 2 marks · Spatial Aptitude
- Let f: R R be a function such that f(x) = max\ x, x 3\ , x R , where R is the set of all real numbers. The set of all… MCQ · 1 mark · Calculus
- The product of all eigenvalues of the matrix bmatrix 1 & 2 & 3 \\ 4 & 5 & 6 \\ 7 & 8 & 9 bmatrix is MCQ · 1 mark · Linear Algebra
- Consider a system that uses 5 bits for representing signed integers in 2’s complement format. In this system, two… MCQ · 1 mark · Number Systems
- Consider a permutation sampled uniformly at random from the set of all permutations of \ 1, 2, 3, , n\ for some n 4.… MCQ · 1 mark · Probability & Statistics
- Which one of the following statements is FALSE? MCQ · 1 mark · I/O Organization
- A user starts browsing a webpage hosted at a remote server. The browser opens a single TCP connection to fetch the… MCQ · 1 mark · Application Layer
- Given an integer array of size N, we want to check if the array is sorted (in either ascending or descending order).… MCQ · 1 mark · Asymptotic Notation
- Consider the following C program: code Which one of the following statements is CORRECT? MCQ · 1 mark · C Programming Fundamentals
- Consider the following C program: code code Assume that the input to the program from the command line is 1234… MCQ · 1 mark · Recursion
- Let S be the specification: "Instructors teach courses. Students register for courses. Courses are allocated… MCQ · 1 mark · ER Model
- In a B+ tree, the requirement of at least half-full (50%) node occupancy is relaxed for which one of the following… MCQ · 1 mark · Indexing & Hashing
- Which of the following statements about a relation R in first normal form (1NF) is/are TRUE ? MSQ · 1 mark · Normalization
- Let L 1, L 2 be two regular languages and L 3 a language which is not regular. Which of the following statements… MSQ · 1 mark · Regular Languages & Finite Automata
- Which of the following statements about threads is/are TRUE? MSQ · 1 mark · Processes & Threads
- Which of the following process state transitions is/are NOT possible? MSQ · 1 mark · Processes & Threads
- Which of the following is/are Bottom-Up Parser(s)? MSQ · 1 mark · Syntax Analysis (Parsing)
- Let A and B be two events in a probability space with P(A) = 0.3, P(B) = 0.5, and P(A B) = 0.1. Which of the following… MSQ · 1 mark · Probability & Statistics
- Consider the circuit shown below where the gates may have propagation delays. Assume that all signal transitions occur… MSQ · 1 mark · Combinational Circuits
- TCP client P successfully establishes a connection to TCP server Q. Let N P denote the sequence number in the SYN sent… MSQ · 1 mark · Transport Layer
- Consider a 5-stage pipelined processor with Instruction Fetch (IF), Instruction Decode (ID), Execute (EX), Memory… MSQ · 1 mark · Pipelining
- Which of the following fields is/are modified in the IP header of a packet going out of a network address translation… MSQ · 1 mark · Network Layer & IP
- Let A and B be non-empty finite sets such that there exist one-to-one and onto functions (i) from A to B and (ii) from… NAT · 1 mark · Discrete Mathematics
- Consider the operator precedence and associativity rules for the integer arithmetic operators given in the table… NAT · 1 mark · Syntax Analysis (Parsing)
- The number of spanning trees in a complete graph of 4 vertices labelled A, B, C, and D is NAT · 1 mark · Graph Theory
- Consider the following two relations, R(A,B) and S(A,C): R A B --- --- 10 20 20 30 30 40 30 50 50 95 S A C --- --- 10… NAT · 1 mark · Relational Model
- Consider a network path P—Q—R between nodes P and R via router Q. Node P sends a file of size 10 6 bytes to R via this… MCQ · 2 marks · Data Link Layer
- Consider the following syntax-directed definition (SDD). S DHTU S.val = D.val + H.val + T.val + U.val; --- --- D "M"D… MCQ · 2 marks · Semantic Analysis
- Consider the following grammar G, with S as the start symbol. The grammar G has three incomplete productions denoted… MCQ · 2 marks · Syntax Analysis (Parsing)
- Consider the following pseudo-code. code Which one of the following options CORRECTLY specifies the number of basic… MCQ · 2 marks · Code Optimization
- Consider the following two threads T1 and T2 that update two shared variables a and b . Assume that initially a = b =… MCQ · 2 marks · Process Synchronization
- An array [82, 101, 90, 11, 111, 75, 33, 131, 44, 93] is heapified. Which one of the following options represents the… MCQ · 2 marks · Heaps
- Consider the following recurrence relation: T(n)= cases n \,T( n )+n & for n 1,\\ 1 & for n=1. cases Which one of the… MCQ · 2 marks · Divide and Conquer
- Consider a binary min-heap containing 105 distinct elements. Let k be the index (in the underlying array) of the… MCQ · 2 marks · Heaps
- The symbol indicates functional dependency in the context of a relational database. Which of the following options… MSQ · 2 marks · Normalization
- Let G be a directed graph and T a depth first search (DFS) spanning tree in G that is rooted at a vertex v. Suppose T… MSQ · 2 marks · Graph Algorithms
- Consider the following read-write schedule S over three transactions T 1, T 2, and T 3, where the subscripts in the… MSQ · 2 marks · Transactions & Concurrency Control
- Consider a Boolean expression given by F(X,Y,Z) = (3,5,6,7). Which of the following statements is/are CORRECT? MSQ · 2 marks · Boolean Algebra
- Consider the following C function definition. code Which of the following statements is/are TRUE about the above… MSQ · 2 marks · C Programming Fundamentals
- Let A be any n m matrix, where m n. Which of the following statements is/are TRUE about the system of linear equations… MSQ · 2 marks · Linear Algebra
- Consider the 5-state DFA M accepting the language L(M) (0+1) shown below. For any string w (0+1) let n 0(w) be the… MSQ · 2 marks · Regular Languages & Finite Automata
- The chromatic number of a graph is the minimum number of colours used in a proper colouring of the graph. Let G be any… MSQ · 2 marks · Graph Theory
- Consider the operators and defined by a b = a + 2b, a b = ab, for positive integers. Which of the following statements… MSQ · 2 marks · Discrete Mathematics
- Consider two set-associative cache memory architectures: WBC , which uses the write back policy, and WTC , which uses… MSQ · 2 marks · Cache Memory
- Consider a 512 GB hard disk with 32 storage surfaces. There are 4096 sectors per track and each sector holds 1024… NAT · 2 marks · File Systems
- The baseline execution time of a program on a 2 GHz single core machine is 100 nanoseconds (ns). The code… NAT · 2 marks · Instruction Level Parallelism
- A given program has 25% load/store instructions. Suppose the ideal CPI (cycles per instruction) without any memory… NAT · 2 marks · Cache Memory
- Consider the following code snippet using the fork() and wait() system calls. Assume that the code compiles and runs… NAT · 2 marks · Processes & Threads
- Consider the entries shown below in the forwarding table of an IP router. Each entry consists of an IP prefix and the… NAT · 2 marks · Network Layer & IP
- Let G = (V, , S, P) be a context-free grammar in Chomsky Normal Form with = \ a, b, c\ and V containing 10 variable… NAT · 2 marks · Context Free Languages
- The number of edges present in the forest generated by the DFS traversal of an undirected graph G with 100 vertices is… NAT · 2 marks · Graph Theory
- Consider the following two regular expressions over the alphabet \ 0,1\ : r = 0 + 1 s = 01 + 10 The total number of… NAT · 2 marks · Regular Languages & Finite Automata
- Consider a memory management system that uses a page size of 2 KB. Assume that both the physical and virtual addresses… NAT · 2 marks · Memory Management
- A bag contains 10 red balls and 15 blue balls. Two balls are drawn randomly without replacement. Given that the first… NAT · 2 marks · Probability & Statistics
- Consider a digital logic circuit consisting of three 2-to-1 multiplexers M1, M2, and M3 as shown below. X1 and X2 are… NAT · 2 marks · Combinational Circuits
- Consider sending an IP datagram of size 1420 bytes (including 20 bytes of IP header) from a sender to a receiver over… NAT · 2 marks · Network Layer & IP
GATE 2024 · set2
- If ‘→’ denotes increasing order of intensity, then the meaning of the words [walk → jog → sprint] is analogous to… MCQ · 1 mark · Verbal Ability
- Two wizards try to create a spell using all the four elements, water , air , fire , and earth . For this, they decide… MCQ · 1 mark · Numerical Ability
- In an engineering college of 10,000 students, 1,500 like neither their core branches nor other branches. The number of… MCQ · 1 mark · Numerical Ability
- For positive non-zero real variables x and y, if ln ( x+y 2 ) = 1 2 [ln(x) + ln(y) ] then, the value of x y + y x is MCQ · 1 mark · Numerical Ability
- In the sequence 6, 9, 14, x, 30, 41, a possible value of x is MCQ · 1 mark · Numerical Ability
- Sequence the following sentences in a coherent passage. P: This fortuitous geological event generated a colossal… MCQ · 2 marks · Verbal Ability
- A person sold two different items at the same price. He made 10% profit in one item, and 10% loss in the other item.… MCQ · 2 marks · Numerical Ability
- The pie charts depict the shares of various power generation technologies in the total electricity generation of a… MCQ · 2 marks · Data Interpretation
- A cube is to be cut into 8 pieces of equal size and shape. Here, each cut should be straight and it should not stop… MCQ · 2 marks · Spatial Aptitude
- In the 4 4 array shown below, each cell of the first three rows has either a cross (X) or a number. The number in a… MCQ · 2 marks · Analytical Reasoning
- Consider a computer with a 4 MHz processor. Its DMA controller can transfer 8 bytes in 1 cycle from a device to main… MCQ · 1 mark · I/O Organization
- Let p and q be the following propositions: p: Fail grade can be given. q: Student scores more than 50% marks. Consider… MCQ · 1 mark · Discrete Mathematics
- Consider the following C program. Assume parameters to a function are evaluated from right to left . code Which one of… MCQ · 1 mark · C Programming Fundamentals
- The format of a single-precision floating-point number as per the IEEE 754 standard is: Sign (1bit) Exponent (8 bits)… MCQ · 1 mark · Number Systems
- Let T(n) be the recurrence relation defined as follows: T(0) = 1, T(1) = 2, and T(n) = 5T(n-1) - 6T(n-2) for n 2 Which… MCQ · 1 mark · Asymptotic Notation
- Let f(x) be a continuous function from R to R such that f(x) = 1 - f(2 - x) Which one of the following options is the… MCQ · 1 mark · Calculus
- Let A be the adjacency matrix of a simple undirected graph G. Suppose A is its own inverse. Which one of the following… MCQ · 1 mark · Graph Theory
- When six unbiased dice are rolled simultaneously, the probability of getting all distinct numbers ( i.e. , 1, 2, 3, 4,… MCQ · 1 mark · Probability & Statistics
- Once the DBMS informs the user that a transaction has been successfully completed, its effect should persist even if… MCQ · 1 mark · Transactions & Concurrency Control
- In the context of owner and weak entity sets in the ER (Entity-Relationship) data model, which one of the following… MCQ · 1 mark · ER Model
- Consider the following two sets: Set X Set Y --- --- P. Lexical Analyzer 1. Abstract Syntax Tree Q. Syntax Analyzer 2.… MCQ · 1 mark · Intermediate Code Generation
- Which one of the following regular expressions is equivalent to the language accepted by the DFA given below? MCQ · 1 mark · Regular Languages & Finite Automata
- Node X has a TCP connection open to node Y. The packets from X to Y go through an intermediate IP router R. Ethernet… MSQ · 1 mark · Network Layer & IP
- Which of the following tasks is/are the responsibility/responsibilities of the memory management unit (MMU) in a… MSQ · 1 mark · Memory Management
- Consider a process P running on a CPU. Which one or more of the following events will always trigger a context switch… MSQ · 1 mark · Processes & Threads
- Which of the following file organizations is/are I/O efficient for the scan operation in DBMS? MSQ · 1 mark · Indexing & Hashing
- Which of the following statements about the Two Phase Locking (2PL) protocol is/are TRUE? MSQ · 1 mark · Transactions & Concurrency Control
- Which of the following statements about IPv4 fragmentation is/are TRUE? MSQ · 1 mark · Network Layer & IP
- Which of the following statements is/are FALSE? MSQ · 1 mark · Semantic Analysis
- For a Boolean variable x, which of the following statements is/are FALSE? MSQ · 1 mark · Boolean Algebra
- An instruction format has the following structure: Instruction Number: Opcode destination reg, source reg-1, source… MSQ · 1 mark · Pipelining
- Which of the following fields of an IP header is/are always modified by any router before it forwards the IP packet? MSQ · 1 mark · Network Layer & IP
- Consider the following C function definition. code Which of the following statements is/are TRUE? MSQ · 1 mark · C Programming Fundamentals
- Let P be the partial order defined on the set \ 1,2,3,4\ as follows P = \ (x,x) x \ 1,2,3,4\ \ \ (1,2),(3,2),(3,4)\… NAT · 1 mark · Discrete Mathematics
- Let A be an array containing integer values. The distance of A is defined as the minimum number of elements in A that… NAT · 1 mark · Dynamic Programming
- What is the output of the following C program? code MCQ · 2 marks · C Programming Fundamentals
- Consider a single processor system with four processes A, B, C, and D, represented as given below, where for each… MCQ · 2 marks · CPU Scheduling
- Which one of the following CIDR prefixes exactly represents the range of IP addresses 10.12.2.0 to 10.12.3.255? MCQ · 2 marks · Network Layer & IP
- You are given a set V of distinct integers. A binary search tree T is created by inserting all elements of V one by… MCQ · 2 marks · Binary Search Trees
- Consider the following context-free grammar where the start symbol is S and the set of terminals is \ a,b,c,d\ .… MCQ · 2 marks · Syntax Analysis (Parsing)
- Let M be the 5-state NFA with -transitions shown in the diagram below. Which one of the following regular expressions… MCQ · 2 marks · Regular Languages & Finite Automata
- Consider an array X that contains n positive integers. A subarray of X is defined to be a sequence of array locations… MCQ · 2 marks · C Programming Fundamentals
- Consider the following expression: x[i] = (p + r) -s[i] + u/w. The following sequence shows the list of triples… MCQ · 2 marks · Intermediate Code Generation
- Let x and y be random variables, not necessarily independent, that take real values in the interval [0,1]. Let z = xy… MCQ · 2 marks · Probability & Statistics
- The relation schema, Person(pid,city) , describes the city of residence for every person uniquely identified by pid .… MCQ · 2 marks · Relational Model
- Consider a multi-threaded program with two threads T1 and T2 . The threads share two semaphores: s1 (initialized to 1)… MSQ · 2 marks · Process Synchronization
- Let A be an n n matrix over the set of all real numbers R . Let B be a matrix obtained from A by swapping two rows.… MSQ · 2 marks · Linear Algebra
- Let S1 and S2 be two stacks. S1 has capacity of 4 elements. S2 has capacity of 2 elements. S1 already has 4 elements:… MSQ · 2 marks · Stacks and Queues
- Which of the following is/are EQUAL to 224 in radix-5 ( i.e. , base-5) notation? MSQ · 2 marks · Number Systems
- Consider 4-variable functions f1, f2, f3, f4 expressed in sum-of-minterms form as given below. f1 =… MSQ · 2 marks · Combinational Circuits
- Let G be an undirected connected graph in which every edge has a positive integer weight. Suppose that every spanning… MSQ · 2 marks · Graph Theory
- Consider a context-free grammar G with the following 3 rules. S aS,\ S aSbS,\ S c Let w L(G). Let n a(w),\ n b(w),\ n… MSQ · 2 marks · Context Free Languages
- Consider a disk with the following specifications: rotation speed of 6000 RPM, average seek time of 5 milliseconds,… NAT · 2 marks · I/O Systems
- Consider a TCP connection operating at a point of time with the congestion window of size 12 MSS (Maximum Segment… NAT · 2 marks · Transport Layer
- Consider an Ethernet segment with a transmission speed of 10 8 bits/sec and a maximum segment length of 500 meters. If… NAT · 2 marks · MAC & LAN
- A functional dependency F: X Y is termed as a useful functional dependency if and only if it satisfies all the… NAT · 2 marks · Normalization
- A processor with 16 general purpose registers uses a 32-bit instruction format. The instruction format consists of an… NAT · 2 marks · Machine Instructions & Addressing Modes
- A non-pipelined instruction execution unit operating at 2 GHz takes an average of 6 cycles to execute an instruction… NAT · 2 marks · Pipelining
- The number of distinct minimum-weight spanning trees of the following graph is NAT · 2 marks · Greedy Algorithms
- The chromatic number of a graph is the minimum number of colours used in a proper colouring of the graph. The… NAT · 2 marks · Graph Theory
- A processor uses a 32-bit instruction format and supports byte-addressable memory access. The ISA of the processor has… NAT · 2 marks · Machine Instructions & Addressing Modes
- Let L 1 be the language represented by the regular expression b ab (ab ab ) and L 2 = \ w (a+b) w 4 \ , where w… NAT · 2 marks · Regular Languages & Finite Automata
- Let Z n be the group of integers \ 0, 1, 2, ... , \ n-1\ with addition modulo n as the group operation. The number of… NAT · 2 marks · Discrete Mathematics
- Consider a 32-bit system with 4 KB page size and page table entries of size 4 bytes each. Assume 1 KB = 2 10 bytes.… NAT · 2 marks · Memory Management
- Consider the following augmented grammar, which is to be parsed with a SLR parser. The set of terminals is \ a, b, c,… NAT · 2 marks · Syntax Analysis (Parsing)
GATE 2023
- We reached the station late, and missed the train. MCQ · 1 mark · Verbal Ability
- A series of natural numbers F 1,\ F 2,\ F 3,\ F 4,\ F 5,\ F 6,\ F 7, ... obeys F n+1 = F n + F n-1 for all integers n… MCQ · 1 mark · Numerical Ability
- A survey for a certain year found that 90% of pregnant women received medical care at least once before giving birth.… MCQ · 1 mark · Analytical Reasoning
- Looking at the surface of a smooth 3-dimensional object from the outside, which one of the following options is TRUE? MCQ · 1 mark · Spatial Aptitude
- The country of Zombieland is in distress since more than 75% of its working population is suffering from serious… MCQ · 2 marks · Verbal Ability
- Consider two functions of time (t), f(t) = 0.01\, t 2 g(t) = 4\, t where 0 < t < . Now consider the following two… MCQ · 2 marks · Numerical Ability
- Which one of the following sentence sequences creates a coherent narrative? (i) Once on the terrace, on her way to her… MCQ · 2 marks · Verbal Ability
- f(x) and g(y) are functions of x and y, respectively, and f(x)=g(y) for all real values of x and y. Which one of the… MCQ · 2 marks · Analytical Reasoning
- Which one of the options best describes the transformation of the 2-dimensional figure P to Q , and then to R , as… MCQ · 2 marks · Spatial Aptitude
- Consider the following statements regarding the front-end and back-end of a compiler. S1 : The front-end includes… MCQ · 1 mark · Code Generation
- Which one of the following sequences when stored in an array at locations A[1], , A[10] forms a max-heap? MCQ · 1 mark · Heaps
- Let SLLdel be a function that deletes a node in a singly-linked list given a pointer to the node and a pointer to the… MCQ · 1 mark · Linked Lists
- Consider the Deterministic Finite-state Automaton (DFA) A shown below. The DFA runs on the alphabet \ 0,1\ , and has… MCQ · 1 mark · Regular Languages & Finite Automata
- The Lucas sequence L n is defined by the recurrence relation: L n = L n-1 + L n-2 , for n 3, with L 1 = 1 and L 2 = 3.… MCQ · 1 mark · Discrete Mathematics
- Which one of the options given below refers to the degree (or arity) of a relation in relational database systems? MCQ · 1 mark · Relational Model
- Suppose two hosts are connected by a point-to-point link and they are configured to use Stop-and-Wait protocol for… MCQ · 1 mark · Data Link Layer
- Let A = bmatrix 1 & 2 & 3 & 4 \\ 4 & 1 & 2 & 3 \\ 3 & 4 & 1 & 2 \\ 2 & 3 & 4 & 1 bmatrix and B = bmatrix 3 & 4 & 1 & 2… MCQ · 1 mark · Linear Algebra
- Consider the following definition of a lexical token id for an identifier in a programming language, using extended… MCQ · 1 mark · Regular Languages & Finite Automata
- An algorithm has to store several keys generated by an adversary in a hash table. The adversary is malicious who tries… MCQ · 1 mark · Hashing
- The output of a 2-input multiplexer is connected back to one of its inputs as shown in the figure. Match the… MCQ · 1 mark · Sequential Circuits
- Which one or more of the following need to be saved on a context switch from one thread (T1) of a process to another… MSQ · 1 mark · Processes & Threads
- Which one or more of the following options guarantee that a computer system will transition from user mode to kernel… MSQ · 1 mark · Processes & Threads
- Which of the following statements is/are CORRECT? MSQ · 1 mark · Decidability
- Which of the following statements is/are INCORRECT about the OSPF (Open Shortest Path First) routing protocol used in… MSQ · 1 mark · Routing Algorithms
- Geetha has a conjecture about integers, which is of the form x (P(x) y Q(x,y) ), where P is a statement about… MSQ · 1 mark · Discrete Mathematics
- Which one or more of the following CPU scheduling algorithms can potentially cause starvation? MSQ · 1 mark · CPU Scheduling
- Let f(x) = x 3 + 15x 2 - 33x - 36 be a real-valued function. Which of the following statements is/are TRUE? MSQ · 1 mark · Calculus
- Let f and g be functions of natural numbers given by f(n) = n and g(n) = n 2. Which of the following statements is/are… MSQ · 1 mark · Asymptotic Notation
- Let A be the adjacency matrix of the graph with vertices \ 1,2,3,4,5\ . Let 1, 2, 3, 4, and 5 be the five eigenvalues… NAT · 1 mark · Linear Algebra
- The value of the definite integral -3 3 -2 2 -1 1 (4x 2 y-z 3 )\,dz\,dy\,dx is . (Rounded off to the nearest integer) NAT · 1 mark · Calculus
- A particular number is written as 132 in radix-4 representation. The same number in radix-5 representation is . NAT · 1 mark · Number Systems
- Consider a 3-stage pipelined processor having a delay of 10 ns (nanoseconds), 20 ns, and 14 ns, for the first, second,… NAT · 1 mark · Pipelining
- A keyboard connected to a computer is used at a rate of 1 keystroke per second. The computer system polls the keyboard… NAT · 1 mark · I/O Organization
- The integer value printed by the ANSI-C program given below is . code NAT · 1 mark · C Programming Fundamentals
- Consider the following program: code code code code Which one of the following options represents the activation tree… MCQ · 2 marks · Runtime Environments
- Consider the control flow graph shown. Which one of the following choices correctly lists the set of live variables at… MCQ · 2 marks · Code Optimization
- Consider the two functions incr and decr shown below. code code There are 5 threads each invoking incr once, and 3… MCQ · 2 marks · Process Synchronization
- Consider the context-free grammar G below S aSb X X aX Xb a b \ , where S and X are non-terminals, and a and b are… MCQ · 2 marks · Context Free Languages
- Consider the pushdown automaton (PDA) P below, which runs on the input alphabet \ a, b\ , has stack alphabet \ , A\ ,… MCQ · 2 marks · Pushdown Automata
- Consider the given C-code and its corresponding assembly code, with a few operands U1 – U4 being unknown. Some useful… MCQ · 2 marks · Machine Instructions & Addressing Modes
- A 4 kilobyte (KB) byte-addressable memory is realized using four 1 KB memory blocks. Two input address lines (IA4 and… MCQ · 2 marks · Memory Hierarchy
- Consider a sequential digital circuit consisting of T flip-flops and D flip-flops as shown in the figure. CLKIN is the… MCQ · 2 marks · Sequential Circuits
- A Boolean digital circuit is composed using two 4-input multiplexers (M1 and M2) and one 2-input multiplexer (M3) as… MCQ · 2 marks · Combinational Circuits
- Consider the IEEE-754 single precision floating point numbers P=0xC1800000 and Q=0x3F5C2EF4. Which one of the… MCQ · 2 marks · Number Systems
- Let A be a priority queue for maintaining a set of elements. Suppose A is implemented using a max-heap data structure.… MCQ · 2 marks · Heaps
- Consider the C function foo and the binary tree shown. code When foo is called with a pointer to the root node of the… MCQ · 2 marks · Recursion
- Let U = \ 1, 2, , n\ , where n is a large positive integer greater than 1000. Let k be a positive integer less than n.… MCQ · 2 marks · Combinatorics
- Let f : A B be an onto (or surjective) function, where A and B are nonempty sets. Define an equivalence relation on… MSQ · 2 marks · Discrete Mathematics
- Suppose you are asked to design a new reliable byte-stream transport protocol like TCP. This protocol, named myTCP ,… MSQ · 2 marks · Transport Layer
- Let X be a set and 2 X denote the powerset of X. Define a binary operation on 2 X as follows: A B = (A - B) (B - A) \… MSQ · 2 marks · Discrete Mathematics
- Suppose in a web browser, you click on the www.gate-2023.in URL. The browser cache is empty. The IP address for this… MSQ · 2 marks · Application Layer
- Consider a random experiment where two fair coins are tossed. Let A be the event that denotes HEAD on both the throws,… MSQ · 2 marks · Probability & Statistics
- Consider functions Function 1 and Function 2 expressed in pseudocode as follows: Function 1 Function 2 --- --- code… MSQ · 2 marks · Asymptotic Notation
- Let G be a simple, finite, undirected graph with vertex set \ v 1,...,v n\ . Let (G) denote the maximum degree of G… MSQ · 2 marks · Graph Theory
- Let U = \ 1, 2, 3\ . Let 2 U denote the powerset of U. Consider an undirected graph G whose vertex set is 2 U. For any… NAT · 2 marks · Graph Algorithms
- Consider the following two-dimensional array D in the C programming language, which is stored in row-major order: code… NAT · 2 marks · Virtual Memory
- Consider a computer system with 57-bit virtual addressing using multi-level tree-structured page tables with L levels… NAT · 2 marks · Memory Management
- Consider a sequence a of elements a 0 = 1, a 1 = 5, a 2 = 7, a 3 = 8, a 4 = 9, and a 5 = 2. The following operations… NAT · 2 marks · Stacks and Queues
- Consider the syntax directed translation given by the following grammar and semantic rules. Here N, I, F and B are… NAT · 2 marks · Semantic Analysis
- Consider the following table named Student in a relational database. The primary key of this table is rollNum. Student… NAT · 2 marks · SQL
- Consider a database of fixed-length records, stored as an ordered file. The database has 25,000 records, with each… NAT · 2 marks · Indexing & Hashing
- Consider the language L over the alphabet \ 0, 1\ , given below: L = \ w \ 0,1\ w does not contain three or more… NAT · 2 marks · Regular Languages & Finite Automata
- An 8-way set associative cache of size 64 KB (1 KB = 1024 bytes) is used in a system with 32-bit address. The address… NAT · 2 marks · Cache Memory
- The forwarding table of a router is shown below. Subnet Number Subnet Mask Interface ID --- --- --- 200.150.0.0… NAT · 2 marks · Network Layer & IP
GATE 2022
- The \ \ \ \ \ \ \ \ \ is too high for it to be considered \ \ \ \ \ \ \ \ \ . MCQ · 1 mark · Verbal Ability
- A function y(x) is defined in the interval [0, 1] on the x-axis as y(x)= cases 2 & if 0 x < 1 3 \\ 3 & if 1 3 x < 3 4… MCQ · 1 mark · Numerical Ability
- Let r be a root of the equation x 2 + 2x + 6 = 0. Then the value of the expression (r+2)(r+3)(r+4)(r+5) is MCQ · 1 mark · Numerical Ability
- Given below are four statements. Statement 1: All students are inquisitive. Statement 2: Some students are… MCQ · 1 mark · Analytical Reasoning
- A palindrome is a word that reads the same forwards and backwards. In a game of words, a player has the following two… MCQ · 1 mark · Spatial Aptitude
- Some people believe that “what gets measured, improves”. Some others believe that “what gets measured, gets gamed”.… MCQ · 2 marks · Verbal Ability
- In a recently conducted national entrance test, boys constituted 65% of those who appeared for the test. Girls… MCQ · 2 marks · Analytical Reasoning
- A box contains five balls of same size and shape. Three of them are green coloured balls and two of them are orange… MCQ · 2 marks · Numerical Ability
- The corners and mid-points of the sides of a triangle are named using the distinct letters P, Q, R, S, T and U, but… MCQ · 2 marks · Analytical Reasoning
- A plot of land must be divided between four families. They want their individual plots to be similar in shape, not… MCQ · 2 marks · Spatial Aptitude
- Which one of the following statements is TRUE for all positive functions f(n)? MCQ · 1 mark · Asymptotic Notation
- Which one of the following regular expressions correctly represents the language of the finite automaton given below? MCQ · 1 mark · Regular Languages & Finite Automata
- Which one of the following statements is TRUE? MCQ · 1 mark · Syntax Analysis (Parsing)
- In a relational data model, which one of the following statements is TRUE? MCQ · 1 mark · Normalization
- Consider the problem of reversing a singly linked list. To take an example, given the linked list below, the reversed… MCQ · 1 mark · Linked Lists
- Suppose we are given n keys, m hash table slots, and two simple uniform hash functions h 1 and h 2. Further suppose… MCQ · 1 mark · Hashing
- Which one of the following facilitates transfer of bulk data from hard disk to main memory with the highest throughput? MCQ · 1 mark · I/O Organization
- Let R1 and R2 be two 4-bit registers that store numbers in 2's complement form. For the operation R1+R2, which one of… MCQ · 1 mark · Number Systems
- Consider the following threads, T 1, T 2, and T 3 executing on a single processor, synchronized using three binary… MCQ · 1 mark · Process Synchronization
- Consider the following two statements with respect to the matrices A m n , B n m , C n n and D n n . Statement 1:… MCQ · 1 mark · Linear Algebra
- What is printed by the following ANSI C program? code MCQ · 1 mark · C Programming Fundamentals
- Consider an enterprise network with two Ethernet segments, a web server and a firewall, connected via three routers as… MCQ · 1 mark · Network Layer & IP
- Which of the following statements is/are TRUE? MSQ · 1 mark · Decidability
- Let WB and WT be two set associative cache organizations that use LRU algorithm for cache block replacement. WB is a… MSQ · 1 mark · Cache Memory
- Consider the following three relations in a relational database. Employee( eId , Name), Brand( bId , bName), Own( eId… MSQ · 1 mark · Relational Model
- Which of the following statements is/are TRUE with respect to deadlocks? MSQ · 1 mark · Deadlock
- Which of the following statements is/are TRUE for a group G? MSQ · 1 mark · Discrete Mathematics
- Suppose a binary search tree with 1000 distinct elements is also a complete binary tree. The tree is stored using the… NAT · 1 mark · Binary Search Trees
- Consider the augmented grammar with \ +, , (, ), id\ as the set of terminals. S' S S S + R R R R P P P (S) id If I 0… NAT · 1 mark · Syntax Analysis (Parsing)
- Consider a simple undirected graph of 10 vertices. If the graph is disconnected, then the maximum number of edges it… NAT · 1 mark · Graph Theory
- Consider a relation R(A, B, C, D, E) with the following three functional dependencies. AB C;\ BC D;\ C E; The number… NAT · 1 mark · Normalization
- The number of arrangements of six identical balls in three identical bins is \ \ \ \ \ \ . NAT · 1 mark · Combinatorics
- A cache memory that has a hit rate of 0.8 has an access latency 10 ns and miss penalty 100 ns. An optimization is done… NAT · 1 mark · Cache Memory
- The value of the following limit is \ \ \ \ \ \ \ \ \ \ . lim x 0 + x 1 - e 2 x NAT · 1 mark · Calculus
- Consider the resolution of the domain name www.gate.org.in by a DNS resolver. Assume that no resource records are… NAT · 1 mark · Application Layer
- Which one of the following is the closed form for the generating function of the sequence \ a n\ n 0 defined below? a… MCQ · 2 marks · Combinatorics
- Consider a simple undirected unweighted graph with at least three vertices. If A is the adjacency matrix of the graph,… MCQ · 2 marks · Graph Theory
- Which one of the following statements is FALSE? MCQ · 2 marks · Virtual Memory
- Let R i(z) and W i(z) denote read and write operations on a data element z by a transaction T i, respectively.… MCQ · 2 marks · Transactions & Concurrency Control
- Consider a digital display system (DDS) shown in the figure that displays the contents of register X. A 16-bit code… MCQ · 2 marks · Combinational Circuits
- Consider three floating point numbers A, B and C stored in registers R A, R B and R C, respectively as per IEEE-754… MCQ · 2 marks · Number Systems
- Consider four processes P, Q, R, and S scheduled on a CPU as per round robin algorithm with a time quantum of 4 units.… MCQ · 2 marks · CPU Scheduling
- What is printed by the following ANSI C program? code MCQ · 2 marks · Arrays
- What is printed by the following ANSI C program? code ASCII encoding for relevant characters is given below A B C ...… MCQ · 2 marks · C Programming Fundamentals
- Consider solving the following system of simultaneous equations using LU decomposition. aligned x 1 + x 2 - 2x 3 &= 4… MCQ · 2 marks · Linear Algebra
- Which of the following is/are undecidable? MSQ · 2 marks · Decidability
- Consider the following languages: L 1 = \ a n w a n w \ a,b\ \ L 2 = \ w x w R w, x \ a,b\ , w , x 0\ Note that w R is… MSQ · 2 marks · Regular Languages & Finite Automata
- Consider the following languages: L 1 = \ ww w \ a,b\ \ L 2 = \ a n b n c m m, n 0\ L 3 = \ a m b n c n m, n 0\ Which… MSQ · 2 marks · Context Free Languages
- Consider a simple undirected weighted graph G, all of whose edge weights are distinct. Which of the following… MSQ · 2 marks · Greedy Algorithms
- The following simple undirected graph is referred to as the Peterson graph. Which of the following statements is/are… MSQ · 2 marks · Graph Theory
- Consider the following recurrence: aligned f(1) &= 1; \\ f(2n) &= 2f(n) - 1, for n 1; \\ f(2n+1) &= 2f(n) + 1, for n… MSQ · 2 marks · Discrete Mathematics
- Which of the properties hold for the adjacency matrix A of a simple undirected unweighted graph having n vertices? MSQ · 2 marks · Graph Theory
- Which of the following is/are the eigenvector(s) for the matrix given below? pmatrix -9 & -6 & -2 & -4 \\ -8 & -6 & -3… MSQ · 2 marks · Linear Algebra
- Consider a system with 2 KB direct mapped data cache with a block size of 64 bytes. The system has a physical address… MSQ · 2 marks · Cache Memory
- Consider routing table of an organization's router shown below: Subnet Number Subnet Mask Next Hop --- --- ---… MSQ · 2 marks · Network Layer & IP
- Consider the relational database with the following four schemas and their respective instances. Student(sNo, sName,… NAT · 2 marks · SQL
- Consider a network with three routers P, Q, R shown in the figure below. All the links have cost of unity. The routers… NAT · 2 marks · Routing Algorithms
- Let G(V, E) be a directed graph, where V = \ 1, 2, 3, 4, 5\ is the set of vertices and E is the set of directed edges,… NAT · 2 marks · Graph Theory
- Consider a 100 Mbps link between an earth station (sender) and a satellite (receiver) at an altitude of 2100 km. The… NAT · 2 marks · Data Link Layer
- Consider the data transfer using TCP over a 1 Gbps link. Assuming that the maximum segment lifetime (MSL) is set to 60… NAT · 2 marks · Transport Layer
- A processor X 1 operating at 2 GHz has a standard 5-stage RISC instruction pipeline having a base CPI (cycles per… NAT · 2 marks · Pipelining
- Consider the queues Q 1 containing four elements and Q 2 containing none (shown as the Initial State in the figure).… NAT · 2 marks · Stacks and Queues
- Consider two files systems A and B, that use contiguous allocation and linked allocation, respectively. A file of size… NAT · 2 marks · File Systems
- Consider a demand paging system with four page frames (initially empty) and LRU page replacement policy. For the… NAT · 2 marks · Virtual Memory
- Consider the following grammar along with translation rules. aligned S & S 1 \ T & \ S.val = S 1.val T.val\ \\ S & T &… NAT · 2 marks · Semantic Analysis
GATE 2021 · set1
- The ratio of boys to girls in a class is 7 to 3. Among the options below, an acceptable value for the total number of… MCQ · 1 mark · Numerical Ability
- A polygon is convex if, for every pair of points, P and Q belonging to the polygon, the line segment PQ lies… MCQ · 1 mark · Spatial Aptitude
- Consider the following sentences: (i) Everybody in the class is prepared for the exam. (ii) Babu invited Danish to his… MCQ · 1 mark · Verbal Ability
- A circular sheet of paper is folded along the lines in the directions shown. The paper, after being punched in the… MCQ · 1 mark · Spatial Aptitude
- is to surgery as writer is to Which one of the following options maintains a similar logical relation in the above… MCQ · 1 mark · Verbal Ability
- We have 2 rectangular sheets of paper, M and N, of dimensions 6 cm x 1 cm each. Sheet M is rolled to form an open… MCQ · 2 marks · Numerical Ability
- Items Cost (₹) Profit % Marked Price (₹) --- --- --- --- P 5,400 --- 5,860 Q --- 25 10,000 Details of prices of two… MCQ · 2 marks · Numerical Ability
- There are five bags each containing identical sets of ten distinct chocolates. One chocolate is picked from each bag.… MCQ · 2 marks · Numerical Ability
- Given below are two statements 1 and 2, and two conclusions I and II. Statement 1: All bacteria are microorganisms.… MCQ · 2 marks · Analytical Reasoning
- Some people suggest anti-obesity measures (AOM) such as displaying calorie information in restaurant menus. Such… MCQ · 2 marks · Verbal Ability
- Suppose that L 1 is a regular language and L 2 is a context-free language. Which one of the following languages is NOT… MCQ · 1 mark · Context Free Languages
- Let P be an array containing n integers. Let t be the lowest upper bound on the number of comparisons of the array… MCQ · 1 mark · Searching and Sorting
- Consider the following three functions. f 1 = 10 n f 2 = n log n f 3 = n n Which one of the following options arranges… MCQ · 1 mark · Asymptotic Notation
- Consider the following statements. S 1 : The sequence of procedure calls corresponds to a preorder traversal of the… MCQ · 1 mark · Runtime Environments
- Consider the following statements. S 1 : Every SLR(1) grammar is unambiguous but there are certain unambiguous… MCQ · 1 mark · Syntax Analysis (Parsing)
- Let the representation of a number in base 3 be 210. What is the hexadecimal representation of the number? MCQ · 1 mark · Number Systems
- Let p and q be two propositions. Consider the following two formulae in propositional logic. S 1 : ( p (p q)) q S 2 :… MCQ · 1 mark · Discrete Mathematics
- Consider the following two statements. S 1 : Destination MAC address of an ARP reply is a broadcast address. S 2 :… MCQ · 1 mark · Network Layer & IP
- Consider the following array. 23 32 45 69 72 73 89 97 --- --- --- --- --- --- --- --- Which algorithm out of the… MCQ · 1 mark · Searching and Sorting
- A binary search tree T contains n distinct elements. What is the time complexity of picking an element in T that is… MCQ · 1 mark · Binary Search Trees
- In the context of operating systems, which of the following statements is/are correct with respect to paging? MSQ · 1 mark · Memory Management
- Let M denote an encoding of an automaton M. Suppose that = \ 0, 1\ . Which of the following languages is/are NOT… MSQ · 1 mark · Decidability
- Suppose a database system crashes again while recovering from a previous crash. Assume checkpointing is not done by… MSQ · 1 mark · Transactions & Concurrency Control
- Which of the following standard C library functions will always invoke a system call when executed from a… MSQ · 1 mark · Processes & Threads
- Consider a linear list based directory implementation in a file system. Each directory is a list of nodes, where each… MSQ · 1 mark · File Systems
- In an undirected connected planar graph G, there are eight vertices and five faces. The number of edges in G is . NAT · 1 mark · Graph Theory
- Consider the following undirected graph with edge weights as shown: The number of minimum-weight spanning trees of the… NAT · 1 mark · Graph Algorithms
- The lifetime of a component of a certain type is a random variable whose probability density function is exponentially… NAT · 1 mark · Probability & Statistics
- There are 6 jobs with distinct difficulty levels, and 3 computers with distinct processing speeds. Each job is… NAT · 1 mark · Combinatorics
- Consider the following expression. lim x -3 2x+22 -4 x+3 The value of the above expression (rounded to 2 decimal… NAT · 1 mark · Calculus
- Consider the following sequence of operations on an empty stack. push(54); push(52); pop(); push(55); push(62); s =… NAT · 1 mark · Stacks and Queues
- Consider a computer system with a byte-addressable primary memory of size 2 32 bytes. Assume the computer system has a… NAT · 1 mark · Cache Memory
- A relation r(A, B) in a relational database has 1200 tuples. The attribute A has integer values ranging from 6 to 20,… NAT · 1 mark · Query Processing
- Consider the following representation of a number in IEEE 754 single-precision floating point format with a bias of… NAT · 1 mark · Number Systems
- Three processes arrive at time zero with CPU bursts of 16, 20 and 10 milliseconds. If the scheduler has prior… NAT · 1 mark · CPU Scheduling
- Consider the following grammar (that admits a series of declarations, followed by expressions) and the associated… MCQ · 2 marks · Semantic Analysis
- The following relation records the age of 500 employees of a company, where empNo (indicating the employee number) is… MCQ · 2 marks · Relational Model
- Consider a 3-bit counter, designed using T flip-flops, as shown below: Assuming the initial state of the counter given… MCQ · 2 marks · Sequential Circuits
- Assume that a 12-bit Hamming codeword consisting of 8-bit data and 4 check bits is d 8d 7d 6d 5c 8d 4d 3d 2c 4d 1c 2c… MCQ · 2 marks · Data Link Layer
- Consider the following recurrence relation. T(n) = cases T(n/2) + T(2n/5) + 7n & if n 0 \\ 1 & if n = 0 cases Which… MCQ · 2 marks · Divide and Conquer
- Consider the following context-free grammar where the set of terminals is \ a, b, c, d, f\ . aligned S & d\,a\,T R\,f… MCQ · 2 marks · Syntax Analysis (Parsing)
- Let r i(z) and w i(z) denote read and write operations respectively on a data item z by a transaction T i. Consider… MCQ · 2 marks · Transactions & Concurrency Control
- Consider the relation R(P,Q,S,T,X,Y,Z,W) with the following functional dependencies. PQ X;\ P YX;\ Q Y;\ Y ZW Consider… MCQ · 2 marks · Normalization
- Let G be a group of order 6, and H be a subgroup of G such that 1 < H < 6. Which one of the following options is… MCQ · 2 marks · Discrete Mathematics
- Consider the two statements. S 1 : There exist random variables X and Y such that ( E [(X - E (X))\ (Y - E (Y)) ] ) 2… MCQ · 2 marks · Probability & Statistics
- Let G = (V, E) be an undirected unweighted connected graph. The diameter of G is defined as: diam(G) = max u,v V \ the… MCQ · 2 marks · Graph Theory
- Consider the following ANSI C program. code Which one of the following options is correct? MCQ · 2 marks · C Programming Fundamentals
- Consider the following language. L = \ w \ 0,1\ w ends with the substring 011\ Which one of the following… MCQ · 2 marks · Regular Languages & Finite Automata
- For a Turing machine M, M denotes an encoding of M. Consider the following two languages. L 1 = \ M M takes more than… MCQ · 2 marks · Decidability
- Define R n to be the maximum amount earned by cutting a rod of length n meters into one or more pieces of integer… MSQ · 2 marks · Dynamic Programming
- An articulation point in a connected graph is a vertex such that removing the vertex and its incident edges… MSQ · 2 marks · Graph Algorithms
- Consider the following Boolean expression. F = (X + Y + Z)( X + Y)( Y + Z) Which of the following Boolean expressions… MSQ · 2 marks · Boolean Algebra
- A relation R is said to be circular if aRb and bRc together imply cRa. Which of the following options is/are correct? MSQ · 2 marks · Discrete Mathematics
- A TCP server application is programmed to listen on port number P on host S. A TCP client is connected to the TCP… MSQ · 2 marks · Transport Layer
- Consider two hosts P and Q connected through a router R. The maximum transfer unit (MTU) value of the link between P… MSQ · 2 marks · Network Layer & IP
- Consider the following pseudocode, where S is a semaphore initialized to 5 in line 2 and counter is a shared variable… MSQ · 2 marks · Process Synchronization
- Consider a dynamic hashing approach for 4-bit integer keys: 1. There is a main hash table of size 4. 2. The 2 least… MSQ · 2 marks · Hashing
- Consider the following ANSI C function: code Let Z be an array of 10 elements with Z[i]=1, for all i such that 0 i 9.… NAT · 2 marks · C Programming Fundamentals
- Consider the sliding window flow-control protocol operating between a sender and a receiver over a full-duplex… NAT · 2 marks · Data Link Layer
- Consider the following C code segment: code In a compiler, this code segment is represented internally as a directed… NAT · 2 marks · Code Optimization
- In a pushdown automaton P = (Q, , , , q 0, F), a transition of the form, where p, q Q, a \ \ , and X, Y \ \ ,… NAT · 2 marks · Pushdown Automata
- Consider the following matrix. pmatrix 0 & 1 & 1 & 1 \\ 1 & 0 & 1 & 1 \\ 1 & 1 & 0 & 1 \\ 1 & 1 & 1 & 0 pmatrix The… NAT · 2 marks · Linear Algebra
- A five-stage pipeline has stage delays of 150, 120, 150, 160 and 140 nanoseconds. The registers that are used between… NAT · 2 marks · Pipelining
- A sender (S) transmits a signal, which can be one of the two kinds: H and L with probabilities 0.1 and 0.9… NAT · 2 marks · Probability & Statistics
- Consider the following instruction sequence where registers R1, R2 and R3 are general purpose and MEMORY[X] denotes… NAT · 2 marks · Machine Instructions & Addressing Modes
GATE 2021 · set2
- Gauri said that she can play the keyboard her sister. MCQ · 1 mark · Verbal Ability
- A transparent square sheet shown above is folded along the dotted line. The folded sheet will look like . MCQ · 1 mark · Spatial Aptitude
- If is the angle, in degrees, between the longest diagonal of the cube and any one of the edges of the cube, then, cos = MCQ · 1 mark · Spatial Aptitude
- If (x- 1 2 ) 2- (x- 3 2 ) 2=x+2, then the value of x is: MCQ · 1 mark · Numerical Ability
- Pen : Write :: Knife : Which one of the following options maintains a similar logical relation in the above? MCQ · 1 mark · Verbal Ability
- Listening to music during exercise improves exercise performance and reduces discomfort. Scientists researched whether… MCQ · 2 marks · Verbal Ability
- A jigsaw puzzle has 2 pieces. One of the pieces is shown above. Which one of the given options for the missing piece… MCQ · 2 marks · Spatial Aptitude
- The number of students in three classes is in the ratio 3:13:6. If 18 students are added to each class, the ratio… MCQ · 2 marks · Numerical Ability
- The number of units of a product sold in three different years and the respective net profits are presented in the… MCQ · 2 marks · Data Interpretation
- Six students P, Q, R, S, T and U, with distinct heights, compare their heights and make the following observations.… MCQ · 2 marks · Analytical Reasoning
- Let G be a connected undirected weighted graph. Consider the following two statements. S 1 : There exists a minimum… MCQ · 1 mark · Greedy Algorithms
- Let H be a binary min-heap consisting of n elements implemented as an array. What is the worst case time complexity of… MCQ · 1 mark · Heaps
- Consider the following ANSI C program: code Which one of the following phases in a seven-phase C compiler will throw… MCQ · 1 mark · Semantic Analysis
- The format of the single-precision floating-point representation of a real number as per the IEEE 754 standard is as… MCQ · 1 mark · Number Systems
- Which one of the following circuits implements the Boolean function given below? f(x, y, z) = m 0 + m 1 + m 3 + m 4 +… MCQ · 1 mark · Combinational Circuits
- Consider the following statements S1 and S2 about the relational data model: S1: A relation scheme can have at most… MCQ · 1 mark · Relational Model
- Consider the three-way handshake mechanism followed during TCP connection establishment between hosts P and Q. Let X… MCQ · 1 mark · Transport Layer
- What is the worst-case number of arithmetic operations performed by recursive binary search on a sorted array of size n? MCQ · 1 mark · Searching and Sorting
- Let L \ 0,1\ be an arbitrary regular language accepted by a minimal DFA with k states. Which one of the following… MCQ · 1 mark · Regular Languages & Finite Automata
- Consider the following ANSI C program. code What is the output of the above program? MCQ · 1 mark · C Programming Fundamentals
- Consider the following sets, where n 2: S 1: Set of all n n matrices with entries from the set \ a, b, c\ S 2: Set of… MSQ · 1 mark · Discrete Mathematics
- Let L 1 be a regular language and L 2 be a context-free language. Which of the following languages is/are context-free? MSQ · 1 mark · Context Free Languages
- In the context of compilers, which of the following is/are NOT an intermediate representation of the source program? MSQ · 1 mark · Intermediate Code Generation
- Which of the following statement(s) is/are correct in the context of CPU scheduling? MSQ · 1 mark · CPU Scheduling
- Choose the correct choice(s) regarding the following propositional logic assertion S: S : ((P Q) R) ((P Q) (Q R)) MSQ · 1 mark · Discrete Mathematics
- Consider a complete binary tree with 7 nodes. Let A denote the set of first 3 elements obtained by performing… NAT · 1 mark · Trees
- Consider the following deterministic finite automaton (DFA). The number of strings of length 8 accepted by the above… NAT · 1 mark · Regular Languages & Finite Automata
- If x and y are two decimal digits and (0.1101) 2 = (0.8xy5) 10 , the decimal value of x + y is . NAT · 1 mark · Number Systems
- Consider a set-associative cache of size 2KB (1KB = 2 10 bytes) with cache block size of 64 bytes. Assume that the… NAT · 1 mark · Cache Memory
- Consider a computer system with DMA support. The DMA module is transferring one 8-bit character in one CPU cycle from… NAT · 1 mark · I/O Organization
- A data file consisting of 1,50,000 student-records is stored on a hard disk with block size of 4096 bytes. The data… NAT · 1 mark · Indexing & Hashing
- For a given biased coin, the probability that the outcome of a toss is a head is 0.4. This coin is tossed 1,000 times.… NAT · 1 mark · Probability & Statistics
- Consider the following ANSI C function: code The value returned by SomeFunction(15, 255) is . NAT · 1 mark · Recursion
- Suppose that P is a 4 5 matrix such that every solution of the equation Px = 0 is a scalar multiple of [2\ \ 5\ \ 4\ \… NAT · 1 mark · Linear Algebra
- Suppose that f: R R is a continuous function on the interval [-3, 3] and a differentiable function in the interval… NAT · 1 mark · Calculus
- Consider the string abbccddeee. Each letter in the string must be assigned a binary code satisfying the following… MCQ · 2 marks · Greedy Algorithms
- Assume a two-level inclusive cache hierarchy, L1 and L2, where L2 is the larger of the two. Consider the following… MCQ · 2 marks · Cache Memory
- Suppose we want to design a synchronous circuit that processes a string of 0's and 1's. Given a string, it produces… MCQ · 2 marks · Sequential Circuits
- In an examination, a student can choose the order in which two questions (QuesA and QuesB) must be attempted. - If the… MCQ · 2 marks · Probability & Statistics
- Consider the following ANSI C code segment: code Assume that the variable y points to a struct (allocated on the heap)… MCQ · 2 marks · Code Optimization
- The relation scheme given below is used to store information about the employees of a company, where empId is the key… MCQ · 2 marks · SQL
- Let S be the following schedule of operations of three transactions T 1, T 2 and T 3 in a relational database system:… MCQ · 2 marks · Transactions & Concurrency Control
- A bag has r red balls and b black balls. All balls are identical except for their colours. In a trial, a ball is… MCQ · 2 marks · Probability & Statistics
- Consider the cyclic redundancy check (CRC) based error detecting scheme having the generator polynomial X 3+X+1.… MCQ · 2 marks · Data Link Layer
- Consider the following ANSI C program: code Which one of the statements below is correct about the program? MCQ · 2 marks · Linked Lists
- Consider the following two statements about regular languages: S 1: Every infinite regular language contains an… MCQ · 2 marks · Regular Languages & Finite Automata
- For two n-dimensional real vectors P and Q, the operation s(P,Q) is defined as follows: s(P,Q) = i=1 n (P[i] Q[i]) Let… MCQ · 2 marks · Linear Algebra
- For a statement S in a program, in the context of liveness analysis, the following sets are defined: USE(S) : the set… MCQ · 2 marks · Code Optimization
- For constants a 1 and b 1, consider the following recurrence defined on the non-negative integers: T(n) = a T ( n b )… MCQ · 2 marks · Divide and Conquer
- Suppose the following functional dependencies hold on a relation U with attributes P, Q, R, S, and T: P QR RS T Which… MSQ · 2 marks · Normalization
- For a string w, we define w R to be the reverse of w. For example, if w = 01101 then w R = 10110. Which of the… MSQ · 2 marks · Context Free Languages
- Consider the following multi-threaded code segment (in a mix of C and pseudo-code), invoked by two processes P1 and… MSQ · 2 marks · Processes & Threads
- Consider a computer system with multiple shared resource types, with one instance per resource type. Each instance can… MSQ · 2 marks · Deadlock
- If the numerical value of a 2-byte unsigned integer on a little endian computer is 255 more than that on a big endian… MSQ · 2 marks · Number Systems
- Consider a computer network using the distance vector routing algorithm in its network layer. The partial topology of… MSQ · 2 marks · Routing Algorithms
- Consider the following directed graph: Which of the following is/are correct about the graph? MSQ · 2 marks · Graph Algorithms
- Which of the following regular expressions represent(s) the set of all binary numbers that are divisible by three?… MSQ · 2 marks · Regular Languages & Finite Automata
- Consider a three-level page table to translate a 39-bit virtual address to a physical address as shown below. The page… NAT · 2 marks · Memory Management
- Consider the following ANSI C program. code The output of the program upon execution is NAT · 2 marks · Recursion
- Let S be a set consisting of 10 elements. The number of tuples of the form (A, B) such that A and B are subsets of S,… NAT · 2 marks · Combinatorics
- Consider the following augmented grammar with \ \ , @, <, , a, b, c\ as the set of terminals. aligned S' & S \\ S & S… NAT · 2 marks · Syntax Analysis (Parsing)
- Consider a Boolean function f(w,x,y,z) such that f(w,0,0,z) = 1 f(1,x,1,z) = x+z f(w,1,y,z) = wz+y The number of… NAT · 2 marks · Minimization (K-Map)
- Consider a pipelined processor with 5 stages, Instruction Fetch (IF), Instruction Decode (ID), Execute (EX), Memory… NAT · 2 marks · Pipelining
- Consider a network using the pure ALOHA medium access control protocol, where each frame is of length 1,000 bits. The… NAT · 2 marks · MAC & LAN
- In a directed acyclic graph with a source vertex s, the quality-score of a directed path is defined to be the product… NAT · 2 marks · Graph Algorithms
GATE 2020
- Raman is confident of speaking English six months as he has been practising regularly the last three weeks. MCQ · 1 mark · Verbal Ability
- His knowledge of the subject was excellent but his classroom performance was . MCQ · 1 mark · Verbal Ability
- Select the word that fits the analogy: Cook : Cook :: Fly : MCQ · 1 mark · Verbal Ability
- The dawn of the 21st century witnessed the melting glaciers oscillating between giving too much and too little to… MCQ · 1 mark · Verbal Ability
- There are multiple routes to reach from node 1 to node 2, as shown in the network. The cost of travel on an edge… MCQ · 1 mark · Analytical Reasoning
- Goods and Services Tax (GST) is an indirect tax introduced in India in 2017 that is imposed on the supply of goods and… MCQ · 2 marks · Verbal Ability
- If P = 3, R = 27, T = 243, then Q + S = . MCQ · 2 marks · Analytical Reasoning
- The figure below shows an annular ring with outer and inner radii as b and a, respectively. The annular space has been… MCQ · 2 marks · Numerical Ability
- Two straight lines are drawn perpendicular to each other in X-Y plane. If and are the acute angles the straight lines… MCQ · 2 marks · Numerical Ability
- The total revenue of a company during 2014-2018 is shown in the bar graph. If the total expenditure of the company in… MCQ · 2 marks · Data Interpretation
- Consider the functions I. e -x II. x 2 - sin x III. x 3 + 1 Which of the above functions is/are increasing everywhere… MCQ · 1 mark · Calculus
- For parameters a and b, both of which are (1), T(n) = T(n 1/a ) + 1, and T(b) = 1. Then T(n) is MCQ · 1 mark · Asymptotic Notation
- Consider the following statements. I. Daisy chaining is used to assign priorities in attending interrupts. II. When a… MCQ · 1 mark · I/O Organization
- Consider the following data path diagram. Consider an instruction: R0 ← R1 + R2. The following steps are used to… MCQ · 1 mark · ALU & Data Path
- The preorder traversal of a binary search tree is 15, 10, 12, 11, 20, 18, 16, 19. Which one of the following is the… MCQ · 1 mark · Binary Search Trees
- What is the worst case time complexity of inserting n 2 elements into an AVL-tree with n elements initially? MCQ · 1 mark · Binary Search Trees
- Consider the following statements. I. If L 1 L 2 is regular, then both L 1 and L 2 must be regular. II. The class of… MCQ · 1 mark · Regular Languages & Finite Automata
- Consider the following statements. I. Symbol table is accessed only during lexical analysis and syntax analysis. II.… MCQ · 1 mark · Semantic Analysis
- Consider the language L = \ a n n 0\ \ a n b n n 0\ and the following statements. I. L is deterministic context-free.… MCQ · 1 mark · Context Free Languages
- Consider allocation of memory to a new process. Assume that none of the existing holes in the memory will exactly fit… MCQ · 1 mark · Memory Management
- Consider the following statements about process state transitions for a system using preemptive scheduling. I. A… MCQ · 1 mark · Processes & Threads
- Consider a relational database containing the following schemas. The primary key of each table is indicated by… MCQ · 1 mark · SQL
- Which one of the following is used to represent the supporting many-one relationships of a weak entity set in an… MCQ · 1 mark · ER Model
- Consider the following statements about the functionality of an IP based router. I. A router does not modify the IP… MCQ · 1 mark · Network Layer & IP
- What is the worst case time complexity of inserting n elements into an empty linked list, if the linked list needs to… MCQ · 1 mark · Linked Lists
- Let R be the set of all binary relations on the set \ 1,2,3\ . Suppose a relation is chosen from R at random. The… NAT · 1 mark · Discrete Mathematics
- Let G be a group of 35 elements. Then the largest possible size of a subgroup of G other than G itself is . NAT · 1 mark · Discrete Mathematics
- A multiplexer is placed between a group of 32 registers and an accumulator to regulate data movement such that at any… NAT · 1 mark · Combinational Circuits
- If there are m input lines and n output lines for a decoder that is used to uniquely address a byte addressable 1 KB… NAT · 1 mark · Combinational Circuits
- A direct mapped cache memory of 1 MB has a block size of 256 bytes. The cache has an access time of 3 ns and a hit… NAT · 1 mark · Cache Memory
- Consider the following C program. code The output of the program is . NAT · 1 mark · C Programming Fundamentals
- Consider a double hashing scheme in which the primary hash function is h 1(k) = k 23, and the secondary hash function… NAT · 1 mark · Hashing
- Consider the following grammar. S aSB d B b The number of reduction steps taken by a bottom-up parser while accepting… NAT · 1 mark · Syntax Analysis (Parsing)
- Assume that you have made a request for a web page through your web browser to a web server. Initially the browser… NAT · 1 mark · Application Layer
- Which of the following languages are undecidable? Note that M indicates encoding of the Turing machine M. L 1 = \ M… MCQ · 2 marks · Decidability
- Let A and B be two n n matrices over real numbers. Let rank(M) and det(M) denote the rank and determinant of a matrix… MCQ · 2 marks · Linear Algebra
- Consider the Boolean function z(a, b, c). Which one of the following minterm lists represents the circuit given above? MCQ · 2 marks · Combinational Circuits
- Consider three registers R1, R2, and R3 that store numbers in IEEE-754 single precision floating point format. Assume… MCQ · 2 marks · Number Systems
- A computer system with a word length of 32 bits has a 16 MB byte-addressable main memory and a 64 KB, 4-way set… MCQ · 2 marks · Cache Memory
- Let G = (V, E) be a weighted undirected graph and let T be a Minimum Spanning Tree (MST) of G maintained using… MCQ · 2 marks · Graph Algorithms
- Consider the following languages. L 1 = \ wxyx w, x, y (0 + 1) +\ L 2 = \ xy x, y (a + b) , x = y , x y\ Which one of… MCQ · 2 marks · Context Free Languages
- Consider the productions A PQ and A XY. Each of the five non-terminals A, P, Q, X, and Y has two attributes: s is a… MCQ · 2 marks · Semantic Analysis
- Each of a set of n processes executes the following code using two semaphores a and b initialized to 1 and 0,… MCQ · 2 marks · Process Synchronization
- Consider the following five disk access requests of the form (request id, cylinder number) that are present in the… MCQ · 2 marks · I/O Systems
- Consider a relational table R that is in 3NF, but not in BCNF. Which one of the following statements is TRUE? MCQ · 2 marks · Normalization
- Consider a schedule of transactions T 1 and T 2: Here, RX stands for "Read(X)" and WX stands for "Write(X)". Which one… MCQ · 2 marks · Transactions & Concurrency Control
- An organization requires a range of IP addresses to assign one to each of its 1500 computers. The organization has… MCQ · 2 marks · Network Layer & IP
- Which one of the following predicate formulae is NOT logically valid? Note that W is a predicate formula without any… MCQ · 2 marks · Discrete Mathematics
- Let G = (V, E) be a directed, weighted graph with weight function w: E R . For some function f: V R , for each edge… MCQ · 2 marks · Graph Algorithms
- In a balanced binary search tree with n elements, what is the worst case complexity of reporting all elements in range… MCQ · 2 marks · Binary Search Trees
- The number of permutations of the characters in LILAC so that no character appears in its original position, if the… NAT · 2 marks · Combinatorics
- Consider a non-pipelined processor operating at 2.5 GHz. It takes 5 clock cycles to complete an instruction. You are… NAT · 2 marks · Pipelining
- A processor has 64 registers and uses 16-bit instruction format. It has two types of instructions: I-type and R-type.… NAT · 2 marks · Machine Instructions & Addressing Modes
- For n 2, let a \ 0,1\ n be a non-zero vector. Suppose that x is chosen uniformly at random from \ 0,1\ n. Then, the… NAT · 2 marks · Probability & Statistics
- Consider the following C functions. code code The return value of fun2(5) is . NAT · 2 marks · C Programming Fundamentals
- Consider the array representation of a binary min-heap containing 1023 elements. The minimum number of comparisons… NAT · 2 marks · Heaps
- Consider the following C functions. code code The value returned by pp(3,4) is . NAT · 2 marks · C Programming Fundamentals
- Consider a graph G = (V, E), where V = \ v 1, v 2, , v 100 \ , E = \ (v i, v j) 1 i < j 100\ , and weight of the edge… NAT · 2 marks · Graph Algorithms
- Consider the following set of processes, assumed to have arrived at time 0. Consider the CPU scheduling algorithms… NAT · 2 marks · CPU Scheduling
- Consider the following language. L = \ x \ a, b\ number of a's in x is divisible by 2 but not divisible by 3\ The… NAT · 2 marks · Regular Languages & Finite Automata
- Graph G is obtained by adding vertex s to K 3,4 and making s adjacent to every vertex of K 3,4 . The minimum number of… NAT · 2 marks · Graph Theory
- Consider a paging system that uses 1-level page table residing in main memory and a TLB for address translation. Each… NAT · 2 marks · Virtual Memory
- Consider a database implemented using B+ tree for file indexing and installed on a disk drive with block size of 4 KB.… NAT · 2 marks · Indexing & Hashing
- Consider a TCP connection between a client and a server with the following specifications: the round trip time is 6… NAT · 2 marks · Transport Layer