Q1 Regular Language / FA Suppose for the DFA in the graph below, E = {0, 1}, Start state S = So, Final states F = {S2}. For each of the given input strings, decide whether the DFA would accept or reject the string. 1 So S1 1 1 S3 S2 1 Q1.1 0000 О Аccept O Reject Q1.2 1111 Ассept O Reject

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question

DO NOT COPY FROM OTHER WEBSITES

Correct and detailed answer will be Upvoted else downvoted. Thank you!

Q1 Regular Language / FA
Suppose for the DFA in the graph below, E = {0,1}, Start state S = So, Final states F =
{S2}. For each of the given input strings, decide whether the DFA would accept or reject the
string.
1
So
S1
1
1
S2
S3
1
Q1.1
0000
О Аccеpt
O Reject
Q1.2
1111
О Аccеpt
O Reject
Q1.3
010
О Аccept
O Reject
Transcribed Image Text:Q1 Regular Language / FA Suppose for the DFA in the graph below, E = {0,1}, Start state S = So, Final states F = {S2}. For each of the given input strings, decide whether the DFA would accept or reject the string. 1 So S1 1 1 S2 S3 1 Q1.1 0000 О Аccеpt O Reject Q1.2 1111 О Аccеpt O Reject Q1.3 010 О Аccept O Reject
Q1.4
10100110110
О Аcсеpt
Reject
Transcribed Image Text:Q1.4 10100110110 О Аcсеpt Reject
Expert Solution
Step 1

DFA or Deterministic Finite Automata is defined  a finite state machine which accepts a string if it reaches a final state, otherwise rejects it.

Here in the given Question initial state is S0 and final state is S2.

Question 1.1:

The given string is 0000.

For input 0000 the transition will occur from S to state S0. 

First input 0 will go from S to state S2 then again for input 0 transition will occur from S2 to S0 then again for input 0 transition will take place from S0 to S2 and the final 0 will transit from S2 to S0. Since the final transition ends at state S0 which is not final state. Hence the given string 0000 will not be accepted.

Therefore the correct answer is 

Reject.

steps

Step by step

Solved in 4 steps

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY