arrow
arrow
arrow
For the given two machines which of the following is correct?
Question



For the given two machines which of the following is correct?

A.

both Machines are DFAs

B.

both are non-equivalent Machines

C.

both are equivalent Machines

D.

cannot be determined

Correct option is C


To determine if the two given machines (finite automata) are equivalent, we need to check if they accept the same language. This means both machines should accept the same set of strings over the same alphabet. So, let us analyze the given machines:
Machine 1:
· States: A, B
· Alphabet: {a, b}
· Transitions:
1. From state A:
a → A
b → B
2. From state B:
a → B
b → B
· Final state: B
Machine 2:
· States: A, B, C
· Alphabet: {a, b}
· Transitions:
1. From state A:
a → B
2. From state B:
a → B
b → C
3. From state C:
a → B
b → C
· Final state: C
By analyzing step-by-step we get:
1. Machine 1:
· Starting at state A:
· On input a, remains in state A.
· On input b, moves to state B (final state).
· Starting at state B (final state):
· On input a, remains in state B.
· On input b, remains in state B.
· Language accepted: Strings that contain at least one 'b'.
2. Machine 2:
· Starting at state A:
· On input a, moves to state B.
· Starting at state B:
· On input a, remains in state B.
· On input b, moves to state C (final state).
· Starting at state C (final state):
· On input a, moves to state B.
· On input b, remains in state C.
· Language accepted: Strings that contain at least one 'b'.
By comparing we get that, both machines accept the same language: strings that contain at least one 'b'. Therefore , both machines are equivalent.

Free Tests

Free
Must Attempt

Basics of Education: Pedagogy, Andragogy, and Hutagogy

languageIcon English
  • pdpQsnIcon10 Questions
  • pdpsheetsIcon20 Marks
  • timerIcon12 Mins
languageIcon English
Free
Must Attempt

UGC NET Paper 1 Mock Test 1

languageIcon English
  • pdpQsnIcon50 Questions
  • pdpsheetsIcon100 Marks
  • timerIcon60 Mins
languageIcon English
Free
Must Attempt

Basics of Education: Pedagogy, Andragogy, and Hutagogy

languageIcon English
  • pdpQsnIcon10 Questions
  • pdpsheetsIcon20 Marks
  • timerIcon12 Mins
languageIcon English

Similar Questions

test-prime-package

Access ‘UGC NET Computer Science’ Mock Tests with

  • 60000+ Mocks and Previous Year Papers
  • Unlimited Re-Attempts
  • Personalised Report Card
  • 500% Refund on Final Selection
  • Largest Community
students-icon
354k+ students have already unlocked exclusive benefits with Test Prime!
Our Plans
Monthsup-arrow