GATE 2022 Computer Science and Information Technology (CS) Questions with Solutions

GATE 2022

65 questions

MCQ 32 · MSQ 15 · NAT 181-mark 30 · 2-mark 35

Questions 36–40 of 65

Q36Recurrence2 marksMCQ−0.67 if wrong
Which one of the following is the closed form for the generating function of the sequence {an}n≥0\{a_n \}_{n \geq 0} defined below?
an={n+1,n is odd1,otherwisea_n= \left \{ \begin{matrix} n+1, &n \text{ is odd} \\ 1,& \text{otherwise} \end{matrix} \right.

Q37Graph Theory2 marksMCQ−0.67 if wrong
Consider a simple undirected unweighted graph with at least three vertices. If AA is the adjacency matrix of the graph, then the number of 3-cycles in the graph is given by the trace of

Q38Memory Management2 marksMCQ−0.67 if wrong
Which one of the following statements is FALSE?

Q39Transaction2 marksMCQ−0.67 if wrong
Let Ri(z)R_i(z) and Wi(z)W_i(z) denote read and write operations on a data element zz by a transaction TiT_i, respectively. Consider the schedule SS with four transactions.

S: R4(x)R2(x)R3(x)R1(y)W1(y)W2(x)W3(y)R4(y)R_4(x)R_2(x)R_3(x)R_1(y)W_1(y)W_2 (x)W_3 (y)R_4(y)

Which one of the following serial schedules is conflict equivalent to SS?

Q40ALU Data Path and Control Unit2 marksMCQ−0.67 if wrong
Consider a digital display system (DDS) shown in the figure that displays the contents of register X. A 16-bit code word is used to load a word in X, either from S or from R. S is a 1024-word memory segment and R is a 32-word register file. Based on the value of mode bit M, T selects an input word to load in X. P and Q interface with the corresponding bits in the code word to choose the addressed word. Which one of the following represents the functionality of P, Q, and T?
Code Word MS-addressR-address PQ SR T XDDS