adplus-dvertising
frame-decoration

Question

Which is the correct statement(s) for Non Recursive predictive parser?

S1: First(α) = {t | α => * t β for some string β } => *tβ
S2: Follow(X) = { a | S => * αXa β for some strings α and β }

a.

Both statements S1 and S2 are incorrect

b.

S1 is incorrect and S2 is correct

c.

S1 is correct and S2 is incorrect

d.

Both statements S1 and S2 are correct

Answer: (d).Both statements S1 and S2 are correct

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which is the correct statement(s) for Non Recursive predictive parser? S1: First(α) = {t | α => * t β for some string β } => *tβ S2: Follow(X) = { a | S => * αXa β for some...

Similar Questions

Discover Related MCQs

Q. From the point of view of the programmer, what are the major advantages of using a high-level language rather than internal machine code or assembly language ?

Q. The scheme of which interpreter translates the source program is known as

Q. Portable program means

Q. Object modules generated by assembler that contains unresolved external references are resolved for two or more object module by a/an

Q. A special software that is used to create a job queue is called

Q. Which of the following permanent database that has an entry for each terminal symbol ?

Q. In which way(s) a macroprocessor for assembly language can be implemented ?

Q. Which of the following can be accessed by transfer vector approach of linking ?

Q. Block or Buffer caches are used to

Q. Object code is the output of ……………

Q. ‘Macro’ in an assembly level program is …………..

Q. Grammar of the programming is checked at …………… phase of compiler.

Q. Macro-processors are ………….

Q. The dynamic allocation of storage areas with VSAM files is accomplished by

Q. Which of the following command the file names in multiple columns?

Q. In an absolute loading scheme, which loader function is accomplished by a loader?

Q. Consider the following left associative operators in decreasing order of precedence:

– subtraction (highest precedence)
* multiplication
$ exponentiation (lowest precedence)

What is the result of the following expression?

3 – 2 * 4 $ | * 2**3

Q. Which of the following is the most general phase structured grammar?

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

Q. P: “Program is a step by step execution of the instructions”. Given P, which of the following is true?