Moderate

The table created by lexical analysis to describe all literals used in the source program, is________________?

Correct answer: B. Literal table

  • A. Reductions
  • B. Literal table
  • C. Identifier table
  • D. Terminal table

Explanation

A literal table records constants written directly in the source program, such as numeric or character literals, so the translator can reference them during code generation. An identifier table instead records names such as variables and labels.

Last updated

Practise Software Development Lifecycle

423 free Software Development Lifecycle MCQs from Software Engineering, each with the correct answer and an explanation. Unlimited attempts, no account needed.

Exams that ask Software Engineering questions like this

Software Engineering is on this paper prepared for on TestUstad, and all of them draw the same bank, so this question is worth knowing for it.

Related questions