TOC Assignment1 1
TOC Assignment1 1
Assignment-1
Semester III
Roll No:
Date:
Department:
Title of the Course: TOC
Course Code:
Section - A
Section - B
14. Design FA with ∑ = {0, 1} accepts even number of 0's and even number of 1's.
15. Design FA with ∑ = {0, 1} accepts odd number of 0's and even number of 1's.
16. Design FA with ∑ = {0, 1} accepts even number of 0's and odd number of 1's.
17. Design FA with ∑ = {0, 1} accepts odd number of 0's and odd number of 1's.
18. Design FA with ∑ = {0, 1} accepts the set of all strings with three consecutive
0's.
19. Design a DFA L(M) = {w | w ε {0, 1}*} and W is a string that does not contain
consecutive 1's.
20. Design a FA with ∑ = {0, 1} accepts the strings with an even number of 0's
followed by single 1.
21. NFA with ∑ = {0, 1} accepts all strings with 01.
22. NFA with ∑ = {0, 1} and accept all string of length atleast 2
23. Design a NFA for the transition table as given below:
24. Design an NFA with ∑ = {0, 1} accepts all string ending with 01.
25. Design an NFA with ∑ = {0, 1} in which double '1' is followed by double '0'.
26. Design an NFA in which all the string contain a substring 1110.
27. Design an NFA with ∑ = {0, 1} accepts all string in which the third symbol
from the right end is always 0.
28. Draw a DFA for the language accepting strings ending with ‘00’ over input
alphabets ∑={0, 1} ?
29. Draw a DFA for the language accepting strings ending with ‘0110’ over input
alphabets ∑ = {0, 1}?
30. Draw a DFA for the language accepting strings ending with ‘0011’ over input
alphabets ∑ = {0, 1}?
31. Draw a DFA for the language accepting strings with ‘0’ and ‘1’ only over input
alphabets ∑={0, 1} ?
32. Draw a DFA for the language accepting strings starting with ‘0110’ over input
alphabets ∑ = {0, 1}?
33. Design a DFA for Given Languages:
L1= {xϵ ∑*|x contains even no’s of 0’s}
L2= {xϵ ∑*|x contains odd no’s of 1’s}
34. Design a DFA for the given L = {w | w has exactly two “a” and at least two “b”}
35. Draw a DFA for the language accepting strings starting with ‘00’ or ’11’ over
input alphabets ∑ = {0, 1} ?
36. Draw a DFA for the language accepting odd binary numbers strings over
input alphabets ∑ = {0, 1}?
Shinnu Jangra TOC-Assigment-1 Submission Date: 26-July-2022
37. Draw a DFA for the language accepting odd or even binary numbers strings
over input alphabets ∑ = {0, 1}?
38. Example 20: Draw a DFA for the language accepting strings containg even
number of total zeros over input alphabets ∑ = {0, 1}?
39. Draw a DFA for the language accepting strings starting and ending with
different characters over input alphabets ∑ = {0, 1}?
40. Draw a DFA for the language accepting strings starting and ending with ‘0’
always over input alphabets ∑ = {0, 1} ?
41. Draw a DFA for the language accepting strings containing three consecutives
‘0’ always over input alphabets ∑ = {0, 1} ?
42. Draw a DFA for the language accepting strings containing at most two ‘0’
over input alphabets ∑ = {0, 1}?
43. Draw a DFA for the language accepting strings with ‘011’ as substring over
input alphabets ∑ = {0, 1}?
44. Draw a DFA for the language accepting strings ending in either ’01’, or ’10’
over input alphabets ∑ = {0, 1} ?
45. Construct DFA for binary integer divisible by 3 ?
46. Draw a DFA for the language accepting strings containing neither ’00’, nor
’11’ as substring over input alphabets ∑ = {0, 1} ?
47. Draw a non-deterministic finite automata which accept a string containing
“the” anywhere in a string of {a-z}, e.g., “there” but not “those”.
48. Draw a deterministic and non-deterministic finite automata which accept a
string containing “ing” at the end of a string in a string of {a-z}, e.g.,
“anything” but not “anywhere”.
49. Design a minimal DFA for set of all strings over {a,b} such that the 3rd symbol
from the RHS is “a”.
50. Design a minimal DFA for set of all strings over {a,b} such that the 4th symbol
from the RHS is “a”.