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

GATE 2019

65 questions

MCQ 41 · NAT 241-mark 30 · 2-mark 35

Questions 56–60 of 65

Q56Binary Tree2 marksNAT
Let T be a full binary tree with 8 leaves. (A full binary tree has every level full.) Suppose two leaves a and b of T are chosen uniformly and independently at random. The expected value of the distance between a and b in T (i.e., the number of edges in the unique path between a and b) is (rounded off to 2 decimal places) ___________ .

Q57Probability Theory2 marksNAT
Suppose Y is distributed uniformly in the open interval (1,6). The probability that the polynomial 3x2+6xY+3Y+63x^2+6xY+3Y+6 has only real roots is (rounded off to 1 decimal place) _________.

Q58Finite Automata2 marksNAT
Let Σ\Sigma be the set of all bijections from {1,...,5} to {1,...,5}, where idid denotes the identity function, i.e. id(j)=j,∀jid(j)=j,\forall j. Let ∘\circ denote composition on functions. For a string x=x1x2...xn∈Σn,n≥0x = x_1x_2 ... x_n \in \Sigma ^n, n \geq 0, let π(x)=x1∘x2∘...∘xn\pi(x) = x_1\circ x_2\circ ... \circ x_n. Consider the language L={x∈Σ∗∣π(x)=id}L = \{x \in \Sigma ^* | \pi(x) = id\}. The minimum number of states in any DFA accepting L is _________ .

Q60Boolean Algebra2 marksNAT
What is the minimum number of 2-input NOR gates required to implement 4-variable function expressed in sum-of-minterms from as f=Σ(0,2,5,7,8,10,13,15)f = \Sigma (0, 2, 5, 7, 8, 10, 13, 15)? Assume that all the inputs and their complements are available. Answer ________ .