GATE CSE Theory of Computation – Full Comprehensive Mock Test-1

Questions 1-5 of 100

0% completed (0/100 answered)
Your score 0/100 0 answered
Correct 0 Incorrect 0 Unanswered 100 Accuracy 0%

Question 1

MCQ · Single Correct 1 mark

What is the minimum number of states in a DFA accepting the language $L = {w$ in {a, b}* | w contains 'aba' as a substring}?

Answers for question 1

Question 2

MCQ · Single Correct 1 mark

Which of the following regular expressions represents all binary strings ending with '101'?

Answers for question 2

Question 3

MCQ · Single Correct 1 mark

Let L1 be a regular language and L2 be a context-free language. Which of the following is ALWAYS regular?

Answers for question 3

Question 4

MCQ · Single Correct 1 mark

What is the result of Arden's Theorem for the equation $R = Q + RP$ where P does not contain $\epsilon$?

Answers for question 4

Question 5

MCQ · Single Correct 1 mark

Minimum number of states in a DFA accepting binary numbers divisible by 5 is:

Answers for question 5
Scroll to Top