github

Made bySaurav Hathi

CSE - Mock Test - 12

Q1:

‘a’ in a-machine is :

Tags:
Section:
Theory Of Computation
Options:
Q2:

Which one of the following is true for the given?

A={(M, w)|M is a turing machine that accepts string w}

Tags:
Section:
Theory Of Computation
Options:
Q3:

Which of the following are decidable problems?

Tags:
Section:
Theory Of Computation
Options:
Q4:

It is less complex to prove the closure properties over regular languages using

Tags:
Section:
Theory Of Computation
Options:
Q5:

Which among the following can be an example of application of finite state machine(FSM)?

Tags:
Section:
Theory Of Computation
Options:
Q6:

Which of the following do we use to form an NFA from a regular expression?

Tags:
Section:
Theory Of Computation
Options:
Q7:

John is asked to make an automaton which accepts a given string for all the occurrence of ‘1001’ in it. How many number of transitions would John use such that, the string processing application works?

Tags:
Section:
Theory Of Computation
Options:
Q8:

Which of the following is an application of Finite Automaton?

Tags:
Section:
Theory Of Computation
Options:
Q9:

Which of the following the given language belongs to?
L={ambmcm| m>=1}

Tags:
Section:
Theory Of Computation
Options:
Q10:

What the does the given CFG defines?
S→aSbS|bSaS|e and w denotes terminal

Tags:
Section:
Theory Of Computation
Options:
Q11:

The intersection of context free language and regular language is _________

Tags:
Section:
Theory Of Computation
Options:
Q12:

Which of the following is not a negative property of Context free languages?

Tags:
Section:
Theory Of Computation
Options:
Q13:

Which among the following is a CFG for the given Language:
L={x ∈{0,1}*|number of zeroes in x=number of one’s in x}

Tags:
Section:
Theory Of Computation
Options:
Q14:

A grammar G=(V, T, P, S) is __________ if every production taken one of the two forms:
B→aC
B→a

Tags:
Section:
Theory Of Computation
Options:
Q15:

For the given Regular expression, the minimum number of terminals required to derive its grammar is:
(011+1)*(01)*

Tags:
Section:
Theory Of Computation
Options:
Q16:

For the given Regular expression, the minimum number of variables including starting variable required to derive its grammar is:
(011+1)*(01)*

Tags:
Section:
Theory Of Computation
Options:
Q17:

If L1 and L2 are context free languages, which of the following is context free?

Tags:
Section:
Theory Of Computation
Options:
Q18:

Which among the following is the correct option for the given grammar?
G→X111|G1,X->X0|00

Tags:
Section:
Theory Of Computation
Options:
Q19:

L→rLt|tLr|t|r

The given grammar produces a language which is:

Tags:
Section:
Theory Of Computation
Options:
Q20:

The language L ={ai2bi|i>=0} is:

Tags:
Section:
Theory Of Computation
Options: