gate questions
Consider Guwahati (G) and Delhi (D) whose temperatures can be classified as high (𝐻), medium (𝑀) and low (𝐿)

Q. Consider Guwahati (G) and Delhi (D) whose temperatures can be classified as high (𝐻), medium (𝑀) and low (𝐿). Let 𝑃(𝐻𝐺) denote the probability that Guwahati has high temperature. Similarly, 𝑃(𝑀𝐺) and 𝑃(𝐿𝐺) denotes the probability of Guwahati having medium and low temperatures respectively. ...

READ MORE +
Let G be a graph with 100! vertices, with each vertex labelled by a distinct permutation of the numbers 1,2, … , 100

Q. Let G be a graph with 100! vertices, with each vertex labelled by a distinct permutation of the numbers 1,2, … , 100. There is an edge between vertices 𝑒 and 𝑣 if and only if the label of 𝑒 can be obtained by swapping two adjacent numbers in the label of 𝑣. Let 𝑦 denote the degree of a vertex ...

READ MORE +
A lexical analyzer uses the following patterns to recognize three tokens T1, T2, and T3 over the alphabet {a,b,c}.

Q. A lexical analyzer uses the following patterns to recognize three tokens T1, T2, and T3 over the alphabet {a,b,c}. 𝑇1:   π‘Ž? (𝑏|𝑐)βˆ—π‘Ž 𝑇2:   π‘? (π‘Ž|𝑐)βˆ—π‘ 𝑇3:Β   𝑐? (𝑏|π‘Ž)βˆ—π‘ Note that β€˜x?’ means 0 or 1 occurrence of the symbol x. Note also that the analyzer outputs the ...

READ MORE +
Consider the following problems. 𝐿(𝐺) denotes the language generated by a grammar 𝐺

Q. Consider the following problems. 𝐿(𝐺) denotes the language generated by a grammar 𝐺. 𝐿(𝑀) denotes the language accepted by a machine 𝑀. I. For an unrestricted grammar 𝐺 and a string 𝑀, whether 𝑀 ∈ 𝐿(𝐺) II. Given a Turing machine M, whether L(M) is regular III. Given two grammars 𝐺1 and ...

READ MORE +
Gkseries.com
Logo
Register New Account