MCQOPTIONS
Saved Bookmarks
| 1. |
For a string w, we define wR to be the reverse of w. For example, if w = 01101 then wR = 10110.Which of the following languages is/are context-free? |
| A. | {wxxRwR | w, x ∈ {0, 1}*} |
| B. | {wxwR | w, x ∈ {0, 1}*} |
| C. | {wxwRxR | w, x ∈ {0, 1}*} |
| D. | {wwRxxR | w, x ∈ {0, 1}*} |
| Answer» B. {wxwR | w, x ∈ {0, 1}*} | |