Match the phases of compiler with its function. Phases Function I Intermediate…

2023

Match the phases of compiler with its function.

Phases

Function

I

Intermediate code generator

1

Keeps track of the names used by the program

II

Code generation

2

Create a stream of simple instructions

III

Table management

3

Produces the object code

  1. A.

    I - 1; II - 2; III - 3

  2. B.

    I - 1; II - 3; III - 2

  3. C.

    I - 2; II - 3; III - 1

  4. D.

    I - 2; II - 1; III - 3

Attempted by 73 students.

Show answer & explanation

Correct answer: C

The intermediate code generator creates simple intermediate instructions, code generation produces object code, and table management keeps track of program names. Therefore, the matching is I-2, II-3, III-1.

Explore the full course: Niacl Ao It Specialist