Which of the following is not an intermediate code form?

2020

Which of the following is not an intermediate code form?

  1. A.

    Syntax trees

  2. B.

    Three address codes

  3. C.

    Quadrupules

  4. D.

    Post fix Notation

Attempted by 144 students.

Show answer & explanation

Correct answer: C

Answer: 'Quadrupules' is not an intermediate code form as written.

Explanation: The option text 'Quadrupules' is a misspelling and not a recognized term. The intended, correctly spelled term is 'quadruples', which actually is a valid intermediate representation (each quadruple typically contains operator, argument1, argument2, result). Because the choice is spelled incorrectly/unrecognized, it is the correct selection for "not an intermediate code form" in this exact wording.

  • Syntax trees: These (abstract syntax trees) represent program structure and are commonly used as an intermediate representation for semantic analysis and code generation.

  • Three-address codes: A standard intermediate code form where each instruction has at most one operator and up to three addresses (operands/results); useful for optimization and lowering to machine code.

  • Quadrupules (as written): Not a recognized term. If intended 'quadruples', those are a valid intermediate code form. The misspelling makes the option incorrect in its current form.

  • Postfix Notation: Also used as an intermediate representation (reverse Polish notation) for expression evaluation, particularly in stack-based code generation.

Conclusion: Because the listed term is misspelled and not a recognized intermediate code form as written, it is identified as the correct choice for "not an intermediate code form."

A video solution is available for this question — log in and enroll to watch it.

Explore the full course: Mppsc Assistant Professor