GATE 2021 (Session 2) Computer Science and Information Technology (CS) Questions with Solutions

GATE 2021 (Session 2)

64 questions

MCQ 33 · MSQ 13 · NAT 181-mark 29 · 2-mark 35

Questions 11–15 of 64

Q11Minimum Spanning Tree1 markMCQ−0.33 if wrong
Let G be a connected undirected weighted graph. Consider the following two statements.

S1: There exists a minimum weight edge in G which is present in every minimum spanning tree of G.
S2: If every edge in G has distinct weight, then G has a unique minimum spanning tree.

Which one of the following options is correct?

Q12Heap Tree1 markMCQ−0.33 if wrong
Let H be a binary min-heap consisting of n elements implemented as an array. What is the worst case time complexity of an optimal algorithm to find the maximum element in H?

Q14Number System1 markMCQ−0.33 if wrong
The format of the single-precision floating point representation of a real number as per the IEEE 754 standard is as follows:

signexponentmantissa\begin{array}{|c|c|c|} \hline \text{sign} & \text{exponent} & \text{mantissa} \\ \hline \end{array}

Which one of the following choices is correct with respect to the smallest normalized positive number represented using the standard?

Q15Combinational Circuit1 markMCQ−0.33 if wrong
Which one of the following circuits implements the Boolean function given below?

f(x,y,z)=m0+m1+m3+m4+m5+m6f(x,y,z) = m_0+m_1+m_3+m_4+m_5+m_6

where mim_i is the ithi^{th} minterm.
(A) 1 0 1 1 x 2 x' 3 4x1 Mux s1 s0 f y z (C) 1 0 1 1 x' 2 x 3 4x1 Mux s1 s0 f y z (B) x 0 1 1 x' 2 1 3 4x1 Mux s1 s0 f y z (D) x' 0 1 1 x 2 1 3 4x1 Mux s1 s0 f y z

Q16Relational Schema1 markMCQ−0.33 if wrong
Consider the following statements S1 and S2 about the relational data model:

S1: A relation scheme can have at most one foreign key.
S2: A foreign key in a relation scheme R cannot be used to refer to tuples of R.

Which one of the following choices is correct?