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

GATE 2017 (Session 2)

65 questions

MCQ 45 · NAT 201-mark 30 · 2-mark 35

Questions 31–35 of 65

Q31Lattice1 markNAT
Consider the set X={a, b,c,d,e} under the partial ordering R={(a,a),(a,b),(a,c),(a,d),(a,e),(b,b),(b,c),(b,e),(c,c),(c,e),(d,d),(d,e),(e,e)}.
The Hasse diagram of the partial order (X, R) is shown below.
e c b d a
The minimum number of ordered pairs that need to be added to R to make (X, R) a lattice is _____.

Q32Matrix Algebra1 markNAT
Let P=[11−12−343−23]P=\begin{bmatrix} 1 & 1&-1 \\ 2&-3 & 4\\ 3 &-2 & 3 \end{bmatrix} and Q=[−1−2−161265105]Q=\begin{bmatrix} -1 & -2&-1 \\ 6 & 12& 6\\ 5&10 & 5 \end{bmatrix} be two matrices. Then the rank of P +Q is _____________.

Q33Graph Theory1 markNAT
G is undirected graph with n vertices and 25 edges such that each vertex of G has degree at least 3. Then the maximum possible value of n is ___________.

Q34Number System1 markNAT
Consider a quadratic equation x2−13x+36=0x^{2} -13x +36 = 0 with coefficients in a base b. The solutions of this equation in the same base b are x = 5 and x = 6. Then b = ___________.

Q35Finite Automata1 markNAT
The minimum possible number of states of a deterministic automaton that accepts the regular language L={w1aw2∣w1,w2∈{a,b}∗,∣w1∣=2,∣w2∣≥3}L=\{w_{1}aw_{2}|w_{1},w_{2}\in \{a,b\}^{*},|w_{1}|=2,|w_{2}|\geq 3\} is ____