The context free grammar S → SS | 0S1 | 1S0 | ɛ generates
Bihar STET · PGT (Paper 2) · Computer Science · 2023
The context free grammar S → SS | 0S1 | 1S0 | ɛ generates
- A.
Equal number of 0’s and 1’s
- B.
Unequal number of 0’s and 1’s
- C.
Any number of 0’s followed by any number of 1’s
- D.
None of these
Attempted by 6 students.
Show answer
Correct answer: A
Explore the full course: Bihar Stet Paper Ii Computer Science
Loading lesson…