HARD
HSSC Clerk
IMPORTANT
Earn 100

In bottom-up evaluation of a Syntax Directed Definition (SDD),inherited attribute can _____.

50% studentsanswered this correctly

Important Questions on Compiler Design

HARD
HSSC Clerk
IMPORTANT

Which of the following statements is incorrect about parsing?

(i)Top-down parsing expands the start symbol to there quired string needed whereas in bottom-up parsing reduces the syntax to the start-symbol.

(ii)Top-down parsing is implemented using the set of recursive procedures and implementation of bottom-up parsing is done using the stacks and input buffer.

(iii)Back tracking is required for the both bottom-up and top-down parsing implementation.

HARD
HSSC Clerk
IMPORTANT

What is the disadvantages of an operator precedence parsing?

(i) Operator precedence parsing is hard to handle tokens like the minus sign.

(ii) One cannot always be sure that the parser accepts exactly the desired language.

(iii) Only a small class of grammars can be parsed using operator precedence techniques.

HARD
HSSC Clerk
IMPORTANT
A hardware device that is capable of executing a sequence of instructions is known as _____.
HARD
HSSC Clerk
IMPORTANT
Which of the following derivations do a top-down parser use while parsing an input string? The input is assumed to be scanned in left to right order.
HARD
HSSC Clerk
IMPORTANT
The most powerful parsing method is _____.
HARD
HSSC Clerk
IMPORTANT
Which of the following feature cannot be captured by Context Free Grammer?
HARD
HSSC Clerk
IMPORTANT
What is the advantage of using assembly language rather than machine language?