GATE 2020: TOC Rapid Mini Mock (App update required to attempt this test)
Attempt now to get your rank among 967 students!
Question 1
Find which of the following is not a BFS traversal of above graph with ‘A’ as starting vertex
Question 2
Question 3
If A becomes an non-accepting state, then how many strings ending with 0 will be accepted (Maximum length of the string is n)
Question 4
1) L = {(0+1)* | it has equal number of occurrences of 01 and 10 }
2) L = Set of palindromes on unary alphabet
3) L = {wwR | the strings of this language are limited upto length 100}
4) L = (0n1)*
How many of the above languages are regular _______.
Question 5
Consider the following languages.
L1 = { an bn cm| m >= 0 and n >= 0 }
L2 = { am bncn| n >= 0 and m >= 0 }
L3 = L1 ∪ L2 = { anbncm∪ ambncn| n >= 0, m >= 0 }
How many of the above language L1, L2, L3 are context free language?
Question 6
L1 = {ww|w∈{a,b} *}
L2 = {wwR|w∈{a, b}*, wRis the reverse of w}
L3 = {02i|i is a positive integer}
L3 = {|i is an integer}
Which of the languages are regular?
Question 7
Question 8
Which of the following are FALSE?
1. Complement of L(A) is context-free.
2. L(A) = L((11*0+0)(0 + 1)*0*1*)
3. For the language accepted by A, A is the minimal DFA.
4. A accepts all strings over {0, 1} of length at least 2.
Question 9
Question 10
Question 11
The order of a language is defined as the smallest such that Consider the language (over alphabet 0) accepted by the following automaton.
The order of is ___________.
Question 12
If the initial state is A = 0, B = 0, what is the minimum length of an input string which will take the machine to the state A= 0, B = 1 with Output = 1?
- 967 attempts
- 1 upvote
- 3 comments