Skip to content
Early access — you're among the first to try PYQLabs. Share feedback

GATE 2023 CSE & IT

53 questions across 1 session

PYQ 1

Kind : ___________ : : Often : Frequently (By word meaning)

General Aptitude·MCQ·easy·✓ keyed
PYQ 2

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\ge2$$. If $$F_6=37$$, and $$F_7=60$$, then what is $$F_1$$ ?

General Aptitude·MCQ·easy·✓ keyed
PYQ 3

A survey for a certain year found that 90% of pregnant women received medical care at least once before giving birth. Of these women, 60% received medical care from doctors, while...

General Aptitude·MCQ·easy·✓ keyed
PYQ 4

Looking at the surface of a smooth 3-dimensional object from the outside, which one of the following options is TRUE?

General Aptitude·MCQ·easy·✓ keyed
PYQ 5

The country of Zombieland is in distress since more than 75% of its working population is suffering from serious health issues. Studies conducted by competent health experts conclu...

General Aptitude·MCQ·easy·✓ keyed
PYQ 6

Consider two functions of time (t), $$f(t)=0.01\,t^2$$ $$g(t)=4\,t$$ where $$0 Now consider the following two statements : (i) For some $$t > 0,g(t) > f(t)$$. (ii) There exists a $...

General Aptitude·MCQ·easy·✓ keyed
PYQ 7

Which one of the following sentence sequences creates a coherent narrative? (i) Once on the terrace, on her way to her small room in the corner, she notices the man right away. (ii...

General Aptitude·MCQ·easy·✓ keyed
PYQ 8

$$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 following options is necessarily TRUE for al x and...

General Aptitude·MCQ·easy·✓ keyed
PYQ 9

Consider the following statements regarding the front-end and back-end of a compiler. S1: The front-end includes phases that are independent of the target hardware. S2: The back-en...

Compiler Design·MCQ·easy·✓ keyed
PYQ 10

Which one of the following sequences when stored in an array at locations $$A[1],....,A[10]$$ forms a max-heap?

Data Structures·MCQ·easy·✓ keyed
PYQ 11

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 head of the list. Similarly, let DLLdel be another function th...

Data Structures·MCQ·easy·✓ keyed
PYQ 12

The Lucas sequence $$L_n$$ is defined by the recurrence relation: $${L_n} = {L_{n - 1}} + {L_{n - 2}}$$, for $$n \ge 3$$, with $${L_1} = 1$$ and $${L_2} = 3$$. Which one of the opt...

Discrete Mathematics·MCQ·easy·✓ keyed
PYQ 13

Which one of the options given below refers to the degree (or arity) of a relation in relational database systems?

Database Management System·MCQ·easy·✓ keyed
PYQ 14

Suppose two hosts are connected by a point-to-point link and they are configured to use Stop-end-Wait protocol for reliable data transfer. Identify in which one of the following sc...

Computer Networks·MCQ·medium·✓ keyed
PYQ 15

Let $$A = \left[ {\matrix{ 1 & 2 & 3 & 4 \cr 4 & 1 & 2 & 3 \cr 3 & 4 & 1 & 2 \cr 2 & 3 & 4 & 1 \cr } } \right]$$ and $$B = \left[ {\matrix{ 3 & 4 & 1 & 2 \cr 4 & 1 & 2 & 3 \cr 1 &...

Discrete Mathematics·MCQ·easy·✓ keyed
PYQ 16

An algorithm has to store several keys generated by an adversary in a hash table. The adversary is malicious who tries to maximize the number of collisions. Let $$k$$ be the number...

Data Structures·MCQ·easy·✓ keyed
PYQ 17

Which one or more of the following need to be saved on a context switch from one thread (T1) of a process to another thread (T2) of the same process?

Operating Systems·MSQ·easy·✓ keyed
PYQ 18

Which one or more of the following options guarantee that a computer system will transition from user mode to kernel mode?

Operating Systems·MSQ·easy·✓ keyed
PYQ 19

Which of the following statements is/are INCORRECT about the OSPF (Open Shortest Path First) routing protocol used in the Internet?

Computer Networks·MSQ·easy·✓ keyed
PYQ 20

Geetha has a conjecture about integers, which is of the form $$\forall x\left( {P(x) \Rightarrow \exists yQ(x,y)} \right)$$, where P is a statement about integers, and Q is a state...

Discrete Mathematics·MSQ·medium·✓ keyed
PYQ 21

Which one or more of the following CPU scheduling algorithms can potentially cause starvation?

Operating Systems·MSQ·easy·✓ keyed
PYQ 22

Let $$f(x) = {x^3} + 15{x^2} - 33x - 36$$ be a real-valued function. Which of the following statements is/are TRUE?

Discrete Mathematics·MSQ·easy·✓ keyed
PYQ 23

The value of the definite integral $$\int\limits_{ - 3}^3 {\int\limits_{ - 2}^2 {\int\limits_{ - 1}^1 {(4{x^2}y - {z^3})dz\,dy\,dx} } } $$ is ___________. (Rounded off to the neare...

Discrete Mathematics·NAT·easy
PYQ 24

A particular number is written as 132 in radix-4 representation. The same number in radix-5 representation is ____________.

Digital Logic·NAT·easy
PYQ 25

Consider a 3-stage pipelined processor having a delay of 10 ns (nanoseconds), 20 ns, and 14 ns, for the first, second, and the third stages, respectively. Assume that there is no o...

Computer Organization·NAT·easy
PYQ 26

A keyboard connected to a computer is used at a rate of 1 keystroke per second. The computer system polls the keyboard every 10 ms (milli seconds) to check for a keystroke and cons...

Computer Organization·NAT·medium
PYQ 27

The integer value printed by the ANSI-C program given below is ___________. #include<stdio.h> int funcp(){ static int x = 1; x++ ; return x; } int main(){ int x,y; x = funcp(); y =...

Programming Languages·NAT·easy
PYQ 28

Consider the following program: int main ( ) { f1( ); f2(2); f3( ); return (0); } int f1( ) { return (1); } int f2 (int X) { f3( ); if (X==1) return f1 ( ); else return (X*f2(X$$-$...

Programming Languages·MCQ·easy·✓ keyed
PYQ 29

Consider the two functions incr and decr shown below. incr() { wait(s); X = X+1; signal(s); } decr() { wait(s); X = X-1; signal(s); } There are 5 threads each invoking incr once, a...

Operating Systems·MCQ·hard·✓ keyed
PYQ 30

Consider the IEEE-754 single precision floating point numbers P=0xC1800000 and Q=0x3F5C2EF4. Which one of the following corresponds to the product of these numbers (i.e., P $$\time...

Digital Logic·MCQ·medium·✓ keyed
PYQ 31

Let A be a priority queue for maintaining a set of elements. Suppose A is implemented using a max-heap data structure. The operation EXTRACT-MAX(A) extracts and deletes the maximum...

Data Structures·MCQ·easy·✓ keyed
PYQ 32

Let $$U = \{ 1,2,....,n\} $$, where n is a large positive integer greater than 1000. Let k be a positive integer less than n. Let A, B be subsets of U with $$|A| = |B| = k$$ and $$...

Discrete Mathematics·MCQ·medium·✓ keyed
PYQ 33

Let $$f:A \to B$$ be an onto (or surjective) function, where A and B are nonempty sets. Define an equivalence relation $$\sim$$ on the set A as $${a_1} \sim {a_2}$$ if $$f({a_1}) =...

Discrete Mathematics·MSQ·medium·✓ keyed
PYQ 34

Suppose you are asked to design a new reliable byte-stream transport protocol like TCP. This protocol, named myTCP, runs over a 100 Mbps network with Round Trip Time of 150 millise...

Computer Networks·MSQ·medium·✓ keyed
PYQ 35

Let X be a set and 2$$^X$$ denote the powerset of X. Define a binary operation $$\Delta$$ on 2$$^X$$ as follows: $$A\Delta B=(A-B)\cup(B-A)$$. Let $$H=(2^X,\Delta)$$. Which of the...

Discrete Mathematics·MSQ·medium·✓ keyed
PYQ 36

Suppose in a web browser, you click on the www.gate-2023.in URL. The browser cache is empty. The IP address for this URL is not cached in your local host, so a DNS lookup is trigge...

Computer Networks·MSQ·hard·✓ keyed
PYQ 37

Consider a random experiment where two fair coins are tossed. Let A be the event that denotes HEAD on both the throws, B be the event that denotes HEAD on the first throw, and C be...

Discrete Mathematics·MSQ·easy·✓ keyed
PYQ 38

Let G be a simple, finite, undirected graph with vertex set {$$v_1,...,v_n$$}. Let $$\Delta(G)$$ denote the maximum degree of G and let N = {1, 2, ...} denote the set of all possib...

Discrete Mathematics·MSQ·medium·✓ keyed
PYQ 39

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 $$A,B \in {2^U},(A,B)$$ is an edge in G if and on...

Discrete Mathematics·NAT·medium
PYQ 40

Consider the following two-dimensional array D in the C programming language, which is stored in row-major order: int D[128] [128]; Demand paging is used for allocating memory and...

Operating Systems·NAT·medium
PYQ 41

Consider a computer system with 57-bit virtual addressing using multi-level tree-structured page tables with L levels for virtual to physical address translation. The page size is...

Operating Systems·NAT·medium
PYQ 42

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 are performed on a stack S and a queue Q, both of which are initially e...

Data Structures·NAT·easy
PYQ 43

Consider the syntax directed translation given by the following grammar and semantic rules. Here N, I, F and B are non-terminals. N is the starting non-terminal, and #, 0 and 1 are...

Compiler Design·NAT·medium
PYQ 44

Consider the following table named Student in a relational database. The primary key of this table is rollNum. Student rollNum name gender marks 1 Naman M 62 2 Aliya F 70 3 Aliya F...

Database Management System·NAT·easy
PYQ 45

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 is sub-divided into TAG, INDEX, and BLOCK OFFSET. The number o...

Computer Organization·NAT·medium
PYQ 46

The forwarding table of a router is shown below. Subnet Number Subnet Mask Interface ID 200.150.0.0 255.255.0.0 1 200.150.64.0 255.255.224.0 2 200.150.68.0 255.255.255.0 3 200.150....

Computer Networks·NAT·medium
PYQ 47

We reached the station late, and ___________ missed the train.

General Aptitude·MCQ·easy·✓ keyed
PYQ 48

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 TRUE?

Algorithms·MSQ·easy·✓ keyed
PYQ 49

Consider functions Function_1 and Function_2 expressed in pseudocode as follows: Function 1 while n > 1 do for i = 1 to n do x = x + 1; end for n = n/2; end while Function 2 for...

Algorithms·MSQ·easy·✓ keyed
PYQ 50

Consider the following definition of a lexical token id for an identifier in a programming language, using extended regular expressions: $$\mathrm{letter\to[A-Za-z]}$$ $$\mathrm{le...

Theory of Computation·MCQ·medium·✓ keyed
PYQ 51

Which of the following statements is/are CORRECT?

Theory of Computation·MSQ·easy·✓ keyed
PYQ 52

Consider the context-free grammar G below $$\matrix{ S & \to & {aSb|X} \cr X & \to & {aX|Xb|a|b,} \cr } $$ where S and X are non-terminals, and a and b are terminal symbols. The st...

Theory of Computation·MCQ·medium·✓ keyed
PYQ 53

Consider the language L over the alphabet {0, 1}, given below: $$L = \{ w \in {\{ 0,1\} ^ * }|w$$ does not contain three or more consecutive $$1's\} $$. The minimum number of state...

Theory of Computation·NAT·easy