adplus-dvertising
frame-decoration

Question

A parser with the valid prefix property is advantageous because it

a.

Detects error as soon as possible

b.

Detects errors as and when they occur

c.

Limits the amount of erroneous output passed to the text phase

d.

All of these

Posted under Systems Programming

Answer: (c).Limits the amount of erroneous output passed to the text phase

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. A parser with the valid prefix property is advantageous because it

Similar Questions

Discover Related MCQs

Q. YACC builds up

Q. The ultimate goal of a compiler is to,

Q. Which method is used for resolving data dependency conflict by the compiler itself?

Q. Inherited attribute is a natural choice in

Q. A grammar that produces more than one parse tree for some sentence is called

Q. Pee hole optimization

Q. The optimization which avoids test at every iteration is

Q. Advantage of panic mode of error recovery is that

Q. Which of the following is used for grouping of characters into tokens (in a computer)

Q. A compiler for a high-level language that runs on one machine and produces code for a different machine is called

Q. Cross-compiler is a compiler

Q. The __________ is a technique for building cross compilers for other machines.

Q. __________ was developed from the beginning as a cross compiler.

Q. If we compile the xyz.c file with the command “gcc -o xyz xyz.c”, then the executable file will be

Q. The output of lexical analyzer is

Q. For operator precedence parsing, which one is true?

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

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

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

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