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

Minimum Number of states require to accept string ends with 101.101 के साथ समाप्त होने वाली स्ट्रिंग को स्वीकार करने के लिए आवश्यक अवस्थाओं की न्यूनतम संख्या है।

101 के साथ समाप्त होने वाली स्ट्रिंग को स्वीकार करने के लिए आवश्यक अवस्थाओं की न्यूनतम संख्या है।
  1. A33
  2. B22
  3. C11
  4. Dcan’t be representedनिरूपित नहीं की जा सकती है।
Show answerHide answer

Correct answer: (B) 22

Explanation

Note: the answer key gives (B), but a DFA (or NFA) for strings ending in "101" needs 4 states, tracking the progress ε, 1, 10, 101. Two states cannot remember the last three symbols.नोट: आधिकारिक उत्तर कुंजी (B) देती है, लेकिन "101" पर समाप्त होने वाली स्ट्रिंग के लिए DFA (या NFA) को 4 अवस्थाएँ चाहिए, जो प्रगति ε, 1, 10, 101 को ट्रैक करती हैं। दो अवस्थाएँ पिछले तीन प्रतीकों को याद नहीं रख सकतीं।

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

This is question 72 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