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. Given the following expressions of a grammar

E --> E * F / F + E / F
F --> F - F / id

Which of the following is true ?
a. * has higher precedence than +
b. - has higher precedence than *
c. + and  - have same precedence
d. + has higher precedence than *
Answer:- has higher precedence than *

Similar Questions:



View All Questions on: Theory of Computation(TOC)


Start The Conversation: