Write true (T) / false (F) for each of the following statements: A. Symbol…

PYQ Coal India Management Trainee CBT 2019Modified — slightly modified from the official paper; see the solution

Write true (T) / false (F) for each of the following statements:

A. Symbol table is used only in first phase of a compiler.
B. A pretty printer analyses a program and prints it in such a way that the structure of the program becomes clearly visible.
C. YACC build up LALR parsing table.
D. If a grammar is LALR(1), it is not necessarily SLR(1).

  1. A.

    TTFT

  2. B.

    FTTT

  3. C.

    TTTF

  4. D.

    FTTF

Attempted by 300 students.

Sign up free to check your answer

Sign up free

Explore the full course: Coal India Management Trainee

Loading lesson…