21. |
What is the language generated by this regular expression?
a(a+b)*a
|
||||||||
Answer:
Option (d) |
22. |
In some programming languages, an identifier is permitted to be a letter followed by any number of letters or digits. If L and D denotes the set of letters and digit respectively. Which of the following expression defines an identifier?
|
||||||||
Answer:
Option (c) |
23. |
The regular expression corresponding to the language L where L = { x ϵ {0, 1}*|x ends with 1 and does not contain substring 00 } is:
|
||||||||
Answer:
Option (a) |
24. |
(a + b*c) most correctly represents:
|
||||||||
Answer:
Option (b) |
25. |
If r and s are two regular expression then expression r+s is:
|
||||||||
Answer:
Option (a) |
26. |
The finite automata is called NFA when there exists________ for a specific input from current state to next state
|
||||||||
Answer:
Option (b) |
27. |
Number of states require to accept string ends with 10
|
||||||||
Answer:
Option (c) |
28. |
There are ________ tuples in finite state machine (FA).
|
||||||||
Answer:
Option (b) |
29. |
Transition function of FA maps:
|
||||||||
Answer:
Option (d) |
30. |
Extended transition function is:
|
||||||||
Answer:
Option (a) |