adplus-dvertising
frame-decoration

Question

Which concept of grammar is used in the compiler ?

a.

Lexical analysis

b.

Parser

c.

Code generation

d.

Code optimization

Answer: (b).Parser

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which concept of grammar is used in the compiler ?

Similar Questions

Discover Related MCQs

Q. A compiler program written in a high level language is called

Q. System program such a compiler are designed so that they are

Q. Which of the following is not feature of compiler?

Q. (a,b) what is a?

Q. (a,b) what is b?

Q. The smallest set A such that A ∪ {1, 2} = {1, 2, 3, 5, 9} is

Q. If a set A has n elements, then the total number of subsets of A is

Q. If A ∩ B = B, then

Q. Empty set is a

Q. If A, B and C are any three sets, then A – (B ∪ C) is equal to

Q. A = {x: x ≠ x }represents

Q. If A, B, C be three sets such that A ∪ B = A ∪ C and A ∩ B = A ∩ C, then

Q. The number of proper subsets of the set {1, 2, and 3} is

Q. If A and B are any two sets, then A ∪ (A ∩ B) is equal to

Q. If A, B and C are any three sets, then A × (B ∪ C) is equal to

Q. __________ a part of a compiler that is responsible for recognizing syntax.

Q. The process of forming tokens from an input stream of characters is called_____.

Q. Which grammar defines Lexical Syntax ?

Q. Which of the following statements is false?

Q. 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