Theory of Computation
Finite Automata and Regular Language
Marks 1Marks 2Marks 5
Push Down Automata and Context Free Language
Marks 1Marks 2
Undecidability
Marks 1Marks 2
Recursively Enumerable Language and Turing Machine
Marks 1Marks 2
1
GATE CSE 1998
MCQ (Single Correct Answer)
+2
-0.6
Let $$L$$ be the set of all binary strings whose last two symbols are the same. The number of states in the minimum state deterministic finite-state automaton accepting $$L$$ is
A
$$2$$
B
$$5$$
C
$$8$$
D
$$3$$
2
GATE CSE 1997
MCQ (Single Correct Answer)
+2
-0.6
Which one of the following regular expressions over $$\left\{ {0,\,\,1} \right\}$$ denotes the set of all strings not containing $$100$$ as substring?
A
$${0^ * }{\left( {1 + 0} \right)^ * }$$
B
$${0^ * }\,\,{1010^ * }$$
C
$${0^ * }\,\,{1^ * }\,\,{01^ * }$$
D
$${0^ * }{\left( {10 + 1} \right)^ * }$$
3
GATE CSE 1995
MCQ (Single Correct Answer)
+2
-0.6
A finite state machine with the following state table has a single input $$X$$ and a single out $$Z$$. GATE CSE 1995 Theory of Computation - Finite Automata and Regular Language Question 79 English

If the initial state is unknown, then the shortest input sequence to reach the final state $$C$$ is here, since initial make unknown $$m$$ $$10$$ input we can each final state $$C$$ with shortest path.

A
$$01$$
B
$$10$$
C
$$101$$
D
$$110$$
4
GATE CSE 1995
MCQ (Single Correct Answer)
+2
-0.6
Which of the following definitions below generates the same language as $$L$$
Where $$L = {\left\{ x \right.^n}{y^n}\left| {n \ge \left. 1 \right\}} \right.$$
i) $$\,\,E \to xEy\left| {xy} \right.$$
ii) $$\,\,xy\left| {\left( {{x^ + }xy{y^ + }} \right)} \right.$$
iii) $${\,\,{x^ + }{y^ + }}$$
$$L = \left\{ {xn\,{y^n}\left| {n \ge 1} \right.} \right\} - $$ generates string where equal no. of $$x$$ and equal no. of $$y's.$$
$$E \to XBy\left| {xy\,abo} \right.$$ generators tips same.
A
(i) only
B
(i) and (ii)
C
(ii) and (iii)
D
(ii) only
GATE CSE Subjects
Theory of Computation
Operating Systems
Algorithms
Digital Logic
Database Management System
Data Structures
Computer Networks
Software Engineering
Compiler Design
Web Technologies
General Aptitude
Discrete Mathematics
Programming Languages
Computer Organization