Question

85 Exercises EXERCISE 1 on for each of the following languages. Give a regular expression for each of the follow ke the machiplease tell me how to do (p), (s), (t).

0 0
Add a comment Improve this question Transcribed image text
Answer #1

(P){xchaft / no. of as in x iz odd} 2. Sa, aaa, aaaaa, - - - - } &- alaalt (S fan, Inis divisible by atleast one of numbers 2

60 freda, bet no two coneccutive as} The regular expression for this can be written as: ore ( 6* (67ab)*** +a) So, which gen

Add a comment
Know the answer?
Add Answer to:
please tell me how to do (p), (s), (t). 85 Exercises EXERCISE 1 on for each...
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. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Give a regular expression for each of the following languages. e. {axb | x∈{a, b}*} f....

    Give a regular expression for each of the following languages. e. {axb | x∈{a, b}*} f. {(ab)n​ ​} g. {x ∈ {a, b}* | x contains at least three consecutive as} h. {x ∈ {a, b}* | the substring bab occurs somewhere in x} i. {x ∈ {a, b}* | x starts with at least three consecutive as}

  • Please answer c,d,f. also please explain the answers for me to understand. For each of the...

    Please answer c,d,f. also please explain the answers for me to understand. For each of the languages below, draw the state diagram for a nondeterministic finite automaton (NFA) to accept the language. In order to get full marks, your NFA must have the number of states specified, and it must take advantage of nondeterminism. [There must be at least one case where the machine has a choice between two or more next states on some input symbol, or a case...

  • 1) 2) Give formal descriptions (5-tuples) for the DFAs shown in figure below: 3) Give the...

    1) 2) Give formal descriptions (5-tuples) for the DFAs shown in figure below: 3) Give the state diagrams of DFAs recognizing the following languages over ? = {0, 1}: a) LÆ b) L? c) {e, 1001} d) {e, 101, 1001} e) {w : w has prefix 10} f) {w : w does not contain the substring 011} 4) Give the state diagrams of DFAs recognizing the following languages over ? = {0, 1}: a) {w: |w| ? 5} b) {w...

  • Hi can you please show how you get the answers using the long way just so I can see how you worke...

    Hi can you please show how you get the answers using the long way just so I can see how you worked it out even if you can label which properties you've used Thank you 1. (a) (i) A student claims that if p and q are odd integers then the evaluation of the expression (p 1)(g2 - 1) will always be a multiple of 8. Give 3 numerical examples you would 2 marks) 3 marks) use to check this...

  • can u tell me if these answers are correct please!??!!! Choose the best answer for the...

    can u tell me if these answers are correct please!??!!! Choose the best answer for the following questions. Place your answer on the line. If your answer is not on the line.it does not count 1 Mender's discovery that characteristics are inherited due to the transmission of hereditary factors resulted from his (1) dissections to determine how fertilization occurs in pea plants (2analysis of the offspring produced from many pea plant crosses (3) careful microscopic examinations of genes and chromosomes...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT