Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Draw a FSM diagram that accepts(ends up at accepting state) the following language descriptions: Problem 3 16 marksl For of the alphabets, draw a FsM

Draw a FSM diagram that accepts(ends up at accepting state) the following language descriptions:
image text in transcribed
Problem 3 16 marksl For of the alphabets, draw a FsM diagram that accepts (ends u n accepting each given the following language descriptions: a) 131 Let fa, b, c)be the alphabet: The language of all strings with an even total number of a's and an even total number of b's. Both must be even. The number of c's can be anything. Examples: Your machine should accept (end up at an accepting state): abcabc, acca, abbcbba, ccccc, but reject: abc, cccaccc, bbabb. b) j [3] Let be the English alphabet (a,b,c,d, z): The language that accepts the only the string 'piano', pianist', or 'patio In this question, we are not looking for substrings. In this you may use the complement notation (for example means any input except for 'a') c) [3] Let (0, 1 be the alphabet: The language in which every odd position of the string is 1. For example, your machine should accept: 1010111111 (1's found in even positions are ok d) 13] Let (0, 1 )be the alphabet: The language that accepts the language that the number of 0's mod 3 is equal to the number of 1's mod 3. For example, the following string oo10010100110 will be accepted as there are five 1's and eight 0's and 5 mod 3 8 mod 3. e) [3] Let be the English alphabet (a,b,c,d, z): The language that ends with the string 'bob'. For example "chanbob', or 'abcbob' should be accepted but not 'bobbychan

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

What are the determinants of cash cycle ? Explain

Answered: 1 week ago