Recent questions tagged gatecse2025-set2

18 18 votes
3 3 answers
8.6k
8.6k views
​​​Processes $P 1, P 2, P 3, P 4$ arrive in that order at times $0,1,2$, and 8 milliseconds respectively, and have execution times of $10,13,6$, and 9 milliseconds respec...
37 37 votes
4 4 answers
10.6k
10.6k views
​​​​An audit of a banking transactions system has found that on an earlier occasion, two joint holders of account $A$ attempted simultaneous transfers of Rs. $10000$ each...
19 19 votes
8 8 answers
8.9k
8.9k views
​​​​Which of the following is/are part of an Instruction Set Architecture of a processor?The size of the cache memoryThe clock frequency of the processorThe number of cac...
34 34 votes
4 4 answers
14.8k
14.8k views
​​​​Which of the following statements regarding Breadth First Search (BFS) and Depth First Search (DFS) on an undirected simple graph $G$ is/are TRUE?A DFS tree of $G$ is...
17 17 votes
7 7 answers
6.9k
6.9k views
Consider the two lists List I and List II given below:\[\begin{array}{|l|l|}\hline \textbf{List I} & \textbf{List II} \\\hline \text{Context-free languages} & \text{Close...
12 12 votes
5 5 answers
8.2k
8.2k views
​Consider the following logic circuit diagram.Which is/are the CORRECT option(s) for the output function $F$ ?$\overline{X Y}$$\overline{X}+\overline{Y}+X \overline{Y}$$\...
18 18 votes
4 4 answers
12.9k
12.9k views
The following two signed $2$ 's complement numbers (multiplicand M and multiplier Q) are being multiplied using Booth's algorithm:M: $1100110111101101$ and Q: $1010010010...
19 19 votes
6 6 answers
6.4k
6.4k views
int x=126,y=105; do { if(x>y) x=x-y; else y=y-x; } while(x!=y); printf("%d",x);The output of the given C code segment is _________. (Answer in integer)
32 32 votes
4 4 answers
12.3k
12.3k views
In a $4$-bit ripple counter, if the period of the waveform at the last flip-flop is $64$ microseconds, then the frequency of the ripple counter in kHz is _________. (Answ...
18 18 votes
3 3 answers
6.9k
6.9k views
Suppose the values $10,-4,15,30,20,5,60,19$ are inserted in that order into an initially empty binary search tree. Let $T$ be the resulting binary search tree. The number...
16 16 votes
2 2 answers
8.9k
8.9k views
​​​​Suppose we are transmitting frames between two nodes using Stop-and-Wait protocol. The frame size is $3000$ bits. The transmission rate of the channel is $2000$ bps (...
24 24 votes
3 3 answers
8.0k
8.0k views
​​​​Let $\text{G}$ be an edge-weighted undirected graph with positive edge weights. Suppose a positive constant $\alpha$ is added to the weight of every edge.Which ONE of...
39 39 votes
5 5 answers
12.5k
12.5k views
​A meld operation on two instances of a data structure combines them into one single instance of the same data structure. Consider the following data structures:P. Unsort...
23 23 votes
7 7 answers
10.3k
10.3k views
​​​​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 size of each cache block is one byte. Assume th...
26 26 votes
6 6 answers
10.9k
10.9k views
​​Given a Context-Free Grammar $\text{G}$ as follows:\[\begin{array}{l}S \rightarrow A a|b A c| d c \mid b d a \\A \rightarrow d\end{array}\]Which ONE of the following st...
32 32 votes
8 8 answers
17.3k
17.3k views
​​An array $A$ of length $n$ with distinct elements is said to be bitonic if there is an index $1 \leq i \leq n$ such that $A[1 . . i]$ is sorted in the non-decreasing or...
30 30 votes
5 5 answers
6.9k
6.9k views
​​Let $\mathcal{F}$ be the set of all functions from $\{1, \ldots, n\}$ to $\{0,1\}$. Define the binary relation $\leqslant$ on $\mathcal{F}$ as follows:$\forall f, g \in...
17 17 votes
7 7 answers
7.3k
7.3k views
​​​​Given the following Karnaugh Map for a Boolean function $F(w, x, y, z)$ :Which one or more of the following Boolean expression(s) represent(s) $F$ ?$\bar{w} \bar{x} \...
43 43 votes
5 5 answers
11.9k
11.9k views
Consider a system of linear equations $P X=Q$ where $P \in \mathbb{R}^{3 \times 3}$ and $\mathrm{Q} \in \mathbb{R}^{3 \times 1}$. Suppose $P$ has an LU decomposition, $P=...
61 61 votes
5 5 answers
11.3k
11.3k views
​​​Consider a stack data structure into which we can PUSH and POP records. Assume that each record pushed in the stack has a positive integer key and that all keys are di...
21 21 votes
5 5 answers
9.1k
9.1k views
​​​​Consider the following relational schema along with all the functional dependencies that hold on them.\[\begin{array}{l}R 1(A, B, C, D, E):\{D \rightarrow E, E A \rig...
26 26 votes
4 4 answers
8.2k
8.2k views
​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 . The contents of the frames are as follows initial...
24 24 votes
5 5 answers
11.3k
11.3k views
$P=\left\{P_{1}, P_{2}, P_{3}, P_{4}\right\}$ consists of all active processes in an operating system.$R=\left\{R_{1}, R_{2}, R_{3}, R_{4}\right\}$ consists of single ins...
21 21 votes
6 6 answers
10.9k
10.9k views
Three floating point numbers $X, Y$, and $Z$ are stored in three registers $\mathrm{R}_{\mathrm{X}}, \mathrm{R}_{\mathrm{Y}}$, and $\mathrm{R}_{\mathrm{Z}}$, respectively...
25 25 votes
5 5 answers
9.3k
9.3k views
Which of the following Boolean algebraic equation(s) is/are CORRECT?$\bar{A} B C+A \bar{B} \bar{C}+\bar{A} \bar{B} \bar{C}+A \bar{B} C+A B C=B C+\bar{B} \bar{C}+\bar{A} \...
25 25 votes
5 5 answers
8.8k
8.8k views
Despite his initial hesitation, Rehman's ____________ to contribute to the success of the project never wavered. Select the most appropriate option to complete the above ...
8 8 votes
6 6 answers
5.4k
5.4k views
​​​​​Bird : Nest :: Bee : ______KennelHammockHiveLair 
17 17 votes
4 4 answers
13.1k
13.1k views
​​​​​​If $P \: e^{x} = Q \: e^{-x}$ for all real values of $x$, which one of the following statements is true?$P = Q = 0$$P = Q = 1$$P = 1; Q = -1$$\frac{P}{Q} = 0$ 
14 14 votes
4 4 answers
6.1k
6.1k views
The paper as shown in the figure is folded to make a cube where each square corresponds to a particular face of the cube. Which one of the following options correctly rep...
33 33 votes
5 5 answers
10.3k
10.3k views
​​​​​Let $p_1$ and $p_2$ denote two arbitrary prime numbers. Which one of the following statemetns is correct for all values of $p_1$ and $p_2$?$p_1 +p_2$ not a prime num...