11. |
If
|
||||||||
Answer:
Option (a) |
12. |
Which of the following regular expression identity is true?
|
||||||||
Answer:
Option (c) |
13. |
Regular expression for all strings starts with ab and ends with bba is.
|
||||||||
Answer:
Option (b) |
14. |
Given the language L = {ab, aa, baa}, which of the following strings are in L*?
|
||||||||
Answer:
Option (d) |
15. |
Which one of the following languages over the alphabet {0,1} is described by the regular expression: (0+1)*0(0+1)*0(0+1)*?
|
||||||||
Answer:
Option (c) |
16. |
Regular expression for even length string:
|
||||||||
Answer:
Option (d) |
17. |
Reverse of (0+1)* will be
|
||||||||
Answer:
Option (c) |
18. |
Which of the following regular expressions describes the language over {0, 1} consisting of strings that contain exactly two 1's?
|
||||||||
Answer:
Option (a) |
19. |
The string 1101 does not belong to the set represented by
|
||||||||
Answer:
Option (b) |
20. |
Regular expression for all binary string with at least 3 characters and 3rd character should be zero
|
||||||||
Answer:
Option (b) |