A directory of Objective Type Questions covering all the Computer Science subjects. Here you can access and discuss Multiple choice questions and answers for various compitative exams and interviews.

Discussion Forum

Que. Which of the following grammar rules violate the requirements of an operator grammar ?
P, Q, R are nonterminals, and r, s, t are terminals.

1. P → Q R
2. P → Q s R
3. P → ε
4. P → Q t R r
a. 1 only
b. 1 and 3 only
c. 2 and 3 only
d. 3 and 4 only
Answer:1 and 3 only
Confused About the Answer? Ask for Details Here
Know Explanation? Add it Here

Similar Questions: