Automata Questions with Answers Set-1

This post contains a computer network related to 20 multiple-choice questions (Automata SET-1) that help you to go through the subject and prepare you for Automata-related questions in competitive exams.

Automata MCQ Test Series Set-1

  • Total Number of Questions: 20

  • Each question carries equal marks i.e 1

  • No Negative Marking

Page 1 of 2

1. DFSA and NDFSA stand for ____________ and ________________ FSA respectively.
A.
B.
C.
D.
E.
2. Suppose that is a regular language and is a context-free language. Which one of the following languages is NOT necessarily context-free?
A.
B.
C.
D.
3. Which one of the following regular expressions represents the set of all binary strings with an odd number of 1’s?
A.
B.
C.
D.
4. if L is a regular language over which one of the following languages is NOT regular?
A.
B.
C.
D.
5. Which of the following is not context-free grammar components?
A.
B.
C.
D.
E.
6. Consider the following statements.
  1. If $L_1 U L_2$ is regular, then both $L_1 and L_2$ must be regular.
  2. The class of regular languages is closed under infinite union.
    Which of the above statements is/are TRUE?
A.
B.
C.
D.
7.

Let $\subseteq\left \{ 0,1 \right \}^*$ be an arbitrary regular language accepted by a minimal DFA with k states. Which one of the following languages must necessarily be accepted by a minimal DFA with k states?

A.
B.
C.
D.
8.

Consider the language $L={a^{n}|N\ge 0}\cup{a^{n}b^{n}|N\ge 0}$ and the following statements.

  1. L is deterministic and context-free.
  2. L is context-free but not deterministic context-free.
  3. L is not LL(k) for any k.
Which of the above statements is/are TRUE?
A.
B.
C.
D.
9.

Suppose we want to design a synchronous circuit that processes a string of 0’s and 1’s. Given a string, it produces another string by replacing the first 1 in any subsequence of consecutive 1’s by a 0. Consider the following example.
Input sequence : 00100011000011100
Output sequence : 00000001000001100
A mealy Machine is a state machine where both the next state and the output are functions of the present state and the current input.
The above-mentioned circuit can be designed as a two-state Mealy machine. The states in the Mealy machine can be represented using Boolean values 0 and 1. We denote the current state, the next state, the next incoming bit, and the output bit of the Mealy machine by the variables s, t, b and y respectively.
Assume the initial state of the Mealy machine is 0.
What are the Boolean expressions corresponding to t and y in terms of s and b?

A.
B.
C.
D.
10.

Which of the following languages are undecidable? Note that (M) indicates the encoding of the Turing machine M.

$L_{1} = \left\{\lt M \gt |L{M}=\emptyset\right\}$

$L_{2} = \left\{\lt M,w,q \gt | \text{M on input w reaches state q in exactly 100 steps}\right\} $

$L_{3} = \left\{ \lt M \gt |\text{L(M) is recursive} \right\}$

$L_{4}=\left\{ \lt M \gt |\text{L(M) Contains at least 21 members} \right\}$

 

 
A.
B.
C.
D.

 

Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments