Question 71Asked in Bihar STET Paper 2 Computer Science (Class 11-12), 12 Sep 2023, Shift 1 + 1 more paper

For a DFA accepting binary numbers whose decimal equivalent is divisible by 3, what are all the possible remainders?द्विआधारी संख्याओं को स्वीकार करने वाले DFA के लिए, जिसका दशमलव समतुल्य 3 से विभाज्य है, सभी संभावित शेषफल क्या होते हैं?

द्विआधारी संख्याओं को स्वीकार करने वाले DFA के लिए, जिसका दशमलव समतुल्य 3 से विभाज्य है, सभी संभावित शेषफल क्या होते हैं?
  1. A00
  2. B0,20,2
  3. C0,1,20,1,2
  4. D0,1,2,30,1,2,3
Show answerHide answer

Correct answer: (C) 0,1,20,1,2

Explanation

A number mod 3 can only leave remainder 0, 1 or 2, so the DFA has three states. The state for remainder 0 is the accepting one.किसी संख्या का mod 3 केवल शेषफल 0, 1 या 2 छोड़ सकता है, इसलिए DFA में तीन अवस्थाएँ होती हैं। शेषफल 0 वाली अवस्था स्वीकार करने वाली (accepting) होती है।

From Bihar STET Paper 2 Computer Science (Class 11-12) PYQ, 12 Sep 2023, Shift 1

This is question 71 of Bihar STET Paper 2 Computer Science (Class 11-12) PYQ, 12 Sep 2023, Shift 1. See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.

Asked in 2 papers