

MCQOPTIONS
Saved Bookmarks
This section includes 5 Mcqs, each offering curated multiple-choice questions to sharpen your Automata Theory knowledge and support exam preparation. Choose a topic below to get started.
1. |
Generate a regular expression for the given language:l
|
A. | (0+01)* |
B. | (0+01)*1 |
C. | (0+01)*(1+01) |
D. | All of the mentioned |
Answer» D. All of the mentioned | |
2. |
The minimum number of states required in a DFA (along with a dumping state) to check whether the 3rd bit is 1 or not for |n|>=3 |
A. | 3 |
B. | 4 |
C. | 5 |
D. | 1 |
Answer» D. 1 | |
3. |
Generate a regular expression for the following problem statement:
|
A. | (1+0+e)6 |
B. | (10)6 |
C. | (1+0)(1+0)(1+0)(1+0)(1+0)(1+0) |
D. | More than one of the mentioned is correct |
Answer» B. (10)6 | |
4. |
Generate a regular expression for the following problem statement:
|
A. | ^(?=.*[a-z])(?=.*[A-Z])(?=.* d).{8,15}$ |
B. | ^(?=.*[a-z])(?=.*[A-Z])(?=.* d).{9,16}$ |
C. | ^(?=.[a-z])(?=.[A-Z])(?=. d).{8,15}$ |
D. | None of the mentioned |
Answer» B. ^(?=.*[a-z])(?=.*[A-Z])(?=.* d).{9,16}$ | |
5. |
The total number of states required to automate the given regular expression
|
A. | 3 |
B. | 4 |
C. | 5 |
D. | 6 |
Answer» D. 6 | |