Computer Science Engineering (CSE) Exam  >  Computer Science Engineering (CSE) Questions  >  The following finite state machine accepts al... Start Learning for Free
The following finite state machine accepts all those binary strings in which the number of 1's and 0's are respectively.
  • a)
    divisible by 3 and 2
  • b)
    odd and even
  • c)
    even and odd
  • d)
    divisible by 2 and 3
Correct answer is option 'A'. Can you explain this answer?
Verified Answer
The following finite state machine accepts all those binary strings in...
Option (B) is eliminated because string 100 contains odd number of 1s and even number of 0s but is not accepted by the DFA. Option(C) is eliminated because string 011 contains even number of 1s and odd number of 0s but is not accepted by the DFA. Option (D) is eliminated because string 11000 has number of 1s divisible by 2 and number of 0s divisible by 3 but still not accepted by the DFA. Option (A) accepts all strings with number of 1s divisible by 3 and number of 0s divisible by 2.
Extra note: In any case where (no of 1s) MOD N= some integer k and (no of 0s) MOD M= some integer q the number of states in the DFA will be equal to N*M. (The product could be taken for all input alphabets.) E.g.: if we say no. of ones is even and no. of 0s is odd (we check if (no. of 1s) MOD 2=0 and (no. of 0s) MOD 2=0) so no. of states in the DFA=2*2=4. Hence option (B) and (C) can directly be eliminated as the DFA has 6 states and we can look only at the remaining two options.
View all questions of this test
Explore Courses for Computer Science Engineering (CSE) exam

Top Courses for Computer Science Engineering (CSE)

The following finite state machine accepts all those binary strings in which the number of 1's and 0's are respectively.a)divisible by 3 and 2b)odd and evenc)even and oddd)divisible by 2 and 3Correct answer is option 'A'. Can you explain this answer?
Question Description
The following finite state machine accepts all those binary strings in which the number of 1's and 0's are respectively.a)divisible by 3 and 2b)odd and evenc)even and oddd)divisible by 2 and 3Correct answer is option 'A'. Can you explain this answer? for Computer Science Engineering (CSE) 2024 is part of Computer Science Engineering (CSE) preparation. The Question and answers have been prepared according to the Computer Science Engineering (CSE) exam syllabus. Information about The following finite state machine accepts all those binary strings in which the number of 1's and 0's are respectively.a)divisible by 3 and 2b)odd and evenc)even and oddd)divisible by 2 and 3Correct answer is option 'A'. Can you explain this answer? covers all topics & solutions for Computer Science Engineering (CSE) 2024 Exam. Find important definitions, questions, meanings, examples, exercises and tests below for The following finite state machine accepts all those binary strings in which the number of 1's and 0's are respectively.a)divisible by 3 and 2b)odd and evenc)even and oddd)divisible by 2 and 3Correct answer is option 'A'. Can you explain this answer?.
Solutions for The following finite state machine accepts all those binary strings in which the number of 1's and 0's are respectively.a)divisible by 3 and 2b)odd and evenc)even and oddd)divisible by 2 and 3Correct answer is option 'A'. Can you explain this answer? in English & in Hindi are available as part of our courses for Computer Science Engineering (CSE). Download more important topics, notes, lectures and mock test series for Computer Science Engineering (CSE) Exam by signing up for free.
Here you can find the meaning of The following finite state machine accepts all those binary strings in which the number of 1's and 0's are respectively.a)divisible by 3 and 2b)odd and evenc)even and oddd)divisible by 2 and 3Correct answer is option 'A'. Can you explain this answer? defined & explained in the simplest way possible. Besides giving the explanation of The following finite state machine accepts all those binary strings in which the number of 1's and 0's are respectively.a)divisible by 3 and 2b)odd and evenc)even and oddd)divisible by 2 and 3Correct answer is option 'A'. Can you explain this answer?, a detailed solution for The following finite state machine accepts all those binary strings in which the number of 1's and 0's are respectively.a)divisible by 3 and 2b)odd and evenc)even and oddd)divisible by 2 and 3Correct answer is option 'A'. Can you explain this answer? has been provided alongside types of The following finite state machine accepts all those binary strings in which the number of 1's and 0's are respectively.a)divisible by 3 and 2b)odd and evenc)even and oddd)divisible by 2 and 3Correct answer is option 'A'. Can you explain this answer? theory, EduRev gives you an ample number of questions to practice The following finite state machine accepts all those binary strings in which the number of 1's and 0's are respectively.a)divisible by 3 and 2b)odd and evenc)even and oddd)divisible by 2 and 3Correct answer is option 'A'. Can you explain this answer? tests, examples and also practice Computer Science Engineering (CSE) tests.
Explore Courses for Computer Science Engineering (CSE) exam

Top Courses for Computer Science Engineering (CSE)

Explore Courses
Signup for Free!
Signup to see your scores go up within 7 days! Learn & Practice with 1000+ FREE Notes, Videos & Tests.
10M+ students study on EduRev