Recent questions tagged gatecse-2023

34 34 votes
6 6 answers
19.1k
19.1k views
Consider the given $\text{C}$-code and its corresponding assembly code, with a few operands $\text{U1-U4}$ being unknown. Some useful information as well as the semantics...
48 48 votes
5 5 answers
17.0k
17.0k views
A $4$ kilobyte $\text{(KB)}$ byte-addressable memory is realized using four $1 \mathrm{~KB}$ memory blocks. Two input address lines $\text{(IA4 and IA3)}$ are connected t...
32 32 votes
3 3 answers
23.7k
23.7k views
Consider a sequential digital circuit consisting of $\mathrm{T}$ flip-flops and $\mathrm{D}$ flip-flops as shown in the figure. $\text{CLKIN}$ is the clock input to the c...
61 61 votes
12 answers 12 answers
31.5k
31.5k views
A Boolean digital circuit is composed using two $4$-input multiplexers $\text{(M1 and M2)}$ and one $2$-input multiplexer $\text{(M3)}$ as shown in the figure. $\text{X0-...
45 45 votes
6 6 answers
29.4k
29.4k views
Consider the $\textsf{IEEE-754}$ single precision floating point numbers $\text{P} = \textsf{0xC1800000}$ and $\text{Q} = \textsf{0x3F5C2EF4}.$Which one of the following ...
26 26 votes
3 3 answers
16.8k
16.8k views
Let $A$ be a priority queue for maintaining a set of elements. Suppose $A$ is implemented using a max-heap data structure. The operation $\text{EXTRACT-MAX} (A)$ extracts...
33 33 votes
6 6 answers
18.9k
18.9k views
Consider the $\text{C}$ function $\text{foo}$ and the binary tree shown.typedef struct node { int val; struct node *left, *right; } node; int foo(node *p) { int retval; i...
54 54 votes
5 5 answers
18.4k
18.4k views
Let $U=\{1,2, \ldots, 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|...
58 58 votes
9 9 answers
17.4k
17.4k views
Let $f: A \rightarrow 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_{...
36 36 votes
10 10 answers
28.3k
28.3k views
Suppose you are asked to design a new reliable byte-stream transport protocol like $\text{TCP}.$ This protocol, named $\textsf{myTCP}$, runs over a $100 \mathrm{~Mbps}$ n...
43 43 votes
6 answers 6 answers
16.9k
16.9k views
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) \text {. }\]Let $H=\left(2^{...
76 76 votes
5 5 answers
32.5k
32.5k views
Suppose in a web browser, you click on the $\textsf{www. gate-2023.in}\; \text{URL}$. The browser cache is empty. The $\text{IP address}$ for this $\text{URL}$ is not cac...
30 30 votes
5 5 answers
16.9k
16.9k views
Consider a random experiment where two fair coins are tossed. Let $A$ be the event that denotes $\text{HEAD}$ on both the throws, $B$ be the event that denotes $\text{HEA...
67 67 votes
6 answers 6 answers
35.9k
35.9k views
Consider functions $\textsf{Function_1}$ and $\textsf{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⌋...
49 49 votes
7 7 answers
20.8k
20.8k views
Let $G$ be a simple, finite, undirected graph with vertex set $\left\{v_{1}, \ldots, v_{n}\right\}$. Let $\Delta(G)$ denote the maximum degree of $G$ and let $\mathbb{N}=...
53 53 votes
4 4 answers
18.9k
18.9k views
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$...
79 79 votes
9 answers 9 answers
30.7k
30.7k views
Consider the following two-dimensional array $\text{D}$ in the $\text{C}$ programming language, which is stored in row-major order:int D[128][128];Demand paging is used f...
48 48 votes
2 2 answers
29.2k
29.2k views
Consider a computer system with $57$-bit virtual addressing using multi-level tree-structured page tables with $\mathrm{L}$ levels for virtual to physical address transla...
23 23 votes
4 4 answers
15.8k
15.8k views
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,$ b...
19 19 votes
2 2 answers
16.4k
16.4k views
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, an...
33 33 votes
3 3 answers
15.5k
15.5k views
Consider the following table named $\text{Student}$ in a relational database. The primary key of this table is $\text{rollNum}.$$\text{Student}$$\begin{array}{|c|l|c|c|}\...
61 61 votes
4 4 answers
32.3k
32.3k views
Consider a database of fixed-length records, stored as an ordered file. The database has $25,000$ records, with each record being $100$ bytes, of which the primary key oc...
25 25 votes
5 5 answers
24.0k
24.0k views
Consider the language $L$ over the alphabet $\{0,1\}$, given below:\[L=\left\{w \in\{0,1\}^{*} \mid w \text { does not contain three or more consecutive } 1 \text { 's }\...
41 41 votes
8 8 answers
31.7k
31.7k views
An $8$-way set associative cache of size $64 \mathrm{~KB} \;(1 \mathrm{~KB}=1024\; \text{bytes})$ is used in a system with $32$-bit address. The address is sub-divided in...
33 33 votes
9 9 answers
29.0k
29.0k views
The forwarding table of a router is shown below.$$\begin{array}{|l|l|c|}\hline \textbf{Subnet Number} & \textbf{Subnet Mask} & \textbf{Interface ID} \\\hline 200.150 .0 ....
14 14 votes
5 answers 5 answers
17.8k
17.8k views
We reached the station late, and _______ missed the train.nearnearlyutterlymostly
15 15 votes
3 3 answers
22.8k
22.8k views
Kind : _______ : : Often : Frequently (By word meaning)MeanTypeCruelKindly
23 23 votes
2 2 answers
18.8k
18.8k views
A series of natural numbers $F_1, F_2, F_3, F_4, F_5, F_6, F_7, \ldots$ obeys $F_{n+1}=F_n+F_{n-1}$ for all integers $n \geq 2$.If $F_6=37,$ and $F_7=60,$ then what is $F...
20 20 votes
3 3 answers
12.7k
12.7k views
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...
29 29 votes
4 4 answers
22.3k
22.3k views
Looking at the surface of a smooth $3$-dimensional object from the outside, which one of the following options is $\text{TRUE}?$The surface of the object must be concave ...