MCQOPTIONS
Saved Bookmarks
| 1. |
A CFG(Context Free Grammar) is said to be in Chomsky Normal Form (CNF), if all the productions are of the form A -> BC or A -> a. Let G be a CFG in CNF. To derive a string of terminals of length x, the number of products to be used is |
| A. | 2x-1 |
| B. | 2x |
| C. | 2x+1 |
| D. | 2x |
| Answer» B. 2x | |