Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Consider the following automaton: a) Give an example of a string of length 6 containing 01 that is accepted by the following automaton. [2 marks]

image text in transcribedConsider the following automaton: a) Give an example of a string of length 6 containing 01 that is accepted by the following automaton. [2 marks] b) Give an example of a string of length 5 that is rejected by the following automaton. [2 marks] c) Describe the language of this automaton in terms of a Regular Expression. [3 marks] d) Re-draw this FSA with at most 4 states. The new FSA should accept all strings that this FSA accepts. In addition, it should reject all strings that this FSA rejects. [2 marks] e) Draw a FSA which accepts all binary strings which start with 0 , the length of the string is even but the number of 1's in the

6) Consider the following automaton: a) Give an example of a string of length 6 containing 01 that is accepted by the following automaton. [2 marks] b) Give an example of a string of length 5 that is rejected by the following automaton. [2 marks] c) Describe the language of this automaton in terms of a Regular Expression. [3 marks] d) Re-draw this FSA with at most 4 states. The new FSA should accept all strings that this FSA accepts. In addition, it should reject all strings that this FSA rejects. [2 marks] e) Draw a FSA which accepts all binary strings which start with 0 , the length of the string is even but the number of 1's in the string is odd. For example, 0111, 01 and 000111 should be accepted while 111 and 0011 should not. [3 marks]

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

Introduction To Database And Knowledge Base Systems

Authors: S Krishna

1st Edition

9810206208, 978-9810206208

More Books

Students also viewed these Databases questions

Question

7. What does practice at spontaneity and improvisation look like?

Answered: 1 week ago

Question

Which are non projected Teaching aids in advance learning system?

Answered: 1 week ago