adplus-dvertising
frame-decoration

Question

Which one of the following statements is FALSE ?

a.

Context-free grammar can be used to specify both lexical and syntax rules.

b.

Type checking is done before parsing.

c.

High-level language programs can be translated to different Intermediate Representations.

d.

Arguments to a function can be passed using the program stack.

Answer: (b).Type checking is done before parsing.

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which one of the following statements is FALSE ?

Similar Questions

Discover Related MCQs

Q. A lexical analyzer uses the following patterns to recognize three tokens T1, T2, and T3 over the alphabet {a,b,c}.

T1: a?(b∣c)*a
T2: b?(a∣c)*b
T3: c?(b∣a)*c

Note that ‘x?’ means 0 or 1 occurrence of the symbol x. Note also that the analyzer outputs the token that matches the longest possible prefix. If the string bbaacabc is processes by the analyzer, which one of the following is the sequence of tokens it outputs?

Q. The output of a lexical analyzer is

Q. The number of tokens in the following C statement is printf("i=%d, &i=%x", i&i);

Q. Consider the following statement:

if (expression)
statement
else
statement

Which of the following describes the above statement?

Q. Removal of left recursion is necessary because?

Q. A parse tree showing attribute value at each node is called?

Q. The traversal method translation schema adapted to execute the action is

Q. The role of predictive parsing is

Q. Which of the following checks are included with static checking?

Q. If an error is detected within a statement, the type assigned to the statement is?

Q. If conversion from one type to another type is done automatically by the compiler then, it is called?

Q. What is the postfix notation of y+j where y is real and j is an integer?

Q. The flow of control in a program of activation tree can be represented by

Q. The optional access link in the activation record is used for?

Q. Approaches used to implement dynamic scope is/are?

Q. Where does the compiler keep track of all the scope and binding information about identifiers??

Q. In linear list data structure of symbol table the search for a name proceeds

Q. What technique is used for parameter passing in case of in-line expansion?

Q. Access time is minimum for accessing the symbol table which uses?

Q. Which of the following technique can be used as intermediate code generation?