Consider a string s over (0+1) *. The number of 0's in s is denoted by no(s) and the number of 1's in s is denoted by n1(s) . The language that is not regular is
A) L = {s ? (0+1) * I for every prefix s' of s, I no(s') -n1(s') I ? 2}
B) L = {s ? (0+1) * I no(s) mod 7 = n1(s) mod 5 = 0}
C) L = {s ? (0+1) * I no(s) is a 3 digit prime}
D) L = {s ? (0+1) * I no(s) -n1(s) I ? 4
Correct Answer:
Verified
Q40: FSM can recognize
A)Any grammar
B)Only CG
C)Both (a) and
Q41: Basic limitation of FSM is that it
A)Cannot
Q42: Which of the following are decidable?
1) Whether
Q43: If L and L¯ are recursively enumerable,
Q44: Which of the following problems is undecidable?
A)Membership
Q45: Fred created a new automaton model which
Q46: Which of the following statements is/are FALSE?
(1)
Q48: Which one of the following is true
Q49: Which statement is true?
A)The PDA must have
Q50: TM is more powerful than FSM because
A)The
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents