Question

Q2 [10 pts] Give DFA's accepting the following languages over the alphabet {0,1}: a) The set...

Q2 [10 pts] Give DFA's accepting the following languages
   over the alphabet {0,1}:

   a) The set of all strings whose 3rd symbol from the right end
      is a 0.

   b) The set of strings such that the number of 0's is divisible
      by 3 and the number of 1's divisible by 2.

Homework Answers

Answer #1

Thank you.please give thumbs up.

If you have any queries please comment me.

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Which one of the following languages over the alphabet {0,1} is described by the regular expression...
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)* ? a.The set of all strings that begin and end with either 0 or 1 b.The set of all strings containing at most two zeros c.The set of all strings containing at least two zeros. d.The set of all strings containing the substring 00
Give a regular expression for the set of all strings on the alphabet {0,1} with no...
Give a regular expression for the set of all strings on the alphabet {0,1} with no runs of length greater than 3(for example, no substrings 0^i or 1^i with i > 3)
Let F be the set of all finite languages over alphabet {0, 1}. Show that F...
Let F be the set of all finite languages over alphabet {0, 1}. Show that F is countable
Automata Theory and Formal Languages Instructions: Draw the DFA (Deterministic Finite Automaton) of the following: DFA...
Automata Theory and Formal Languages Instructions: Draw the DFA (Deterministic Finite Automaton) of the following: DFA which accepts strings of odd length Design a DFA over w ∈ {a,b}*such that number of a = 2 and there is no restriction over length of b DFA for Number of a(w) mod 2 = 0 and Number of b(w) mod 2 = 0 DFA for Number of a(w) mod 2 = 0 orNumber of b(w) mod 2 = 0 DFA for Number...
Automata Theory and Formal Languages Problems 1: Consider the following two grammars. Grammar G1- S →...
Automata Theory and Formal Languages Problems 1: Consider the following two grammars. Grammar G1- S → aSb / ∈ Grammar G2- S → aAb / ∈, A → aAb / ∈ a. is G1=G2 b. What is the grammar generated by the expression Problem 2: Let us consider the grammar. G2 = ({S, A}, {a, b}, S, {S → aAb, aA → aaAb, A → ε } ) Derive aaabbb Problem 3: Suppose we have the following grammar. G: N...
Give a regular expression for each of the following sets: a) set of all string of...
Give a regular expression for each of the following sets: a) set of all string of 0s and 1s beginning with 0 and end with 1. b) set of all string of 0s and 1s having an odd number of 0s. d) set of all string of 0s and 1s containing at least one 0. e) set of all string of a's and b's where each a is followed by two b's. f) set of all string of 0s and...
1.   The following data set is the number of hours that a sample of college students...
1.   The following data set is the number of hours that a sample of college students    spent studying for a test:           0, 0, 0 , 3, 3, 5, 6, 6, 8, 10, 12, 15 a)Find the 5-number summary for this data: Low, Q1.Q2,Q3 High     b) Use the 5-number summary to make a box-and-whisker plot for this set of data. Be sure to use a number line with an appropriate scale. c) Based on the box-and-whisker plot, is...
Give the name, give the symbol, or given the symbol, give the name for the following...
Give the name, give the symbol, or given the symbol, give the name for the following elements: Period 1, Period 2, Period 3, From Period 4: K, Ca, Cr, Mn, Fe, Co, Ni, Cu, Zn, Br, From period 5: Ag, Sn, I, From period 6: W, Au, Pb, From period 7: U 3. Identify elements by group number and period number. 4. Identify the alkali metals, alkaline earth metals, halogens, and noble gases. 5. Identify an element as a metal,...
6) (8 pts, 4 pts each) State the order of each ODE, then classify each of...
6) (8 pts, 4 pts each) State the order of each ODE, then classify each of them as linear/nonlinear, homogeneous/inhomogeneous, and autonomous/nonautonomous. A) Unforced Pendulum: θ′′ + γ θ′ + ω^2sin θ = 0 B) Simple RLC Circuit with a 9V Battery: Lq′′ + Rq′ +(1/c)q = 9 7) (8 pts) Find all critical points for the given DE, draw a phase line for the system, then state the stability of each critical point. Logistic Equation: y′ = ry(1 −...
1. (4 pts) Consider all bit strings of length six. a) How many begin with 01?...
1. (4 pts) Consider all bit strings of length six. a) How many begin with 01? b) How many begin with 01 and end with 10? c) How many begin with 01 or end with 10? d) How many have exactly three 1’s? 2. (8 pts) Suppose that a “word” is any string of six letters. Repeated letters are allowed. For our purposes, vowels are the letters a, e, i, o, and u. a) How many words are there? b)...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT