Multiple choice

Both compiler and assembler are similar in atleast one function. Which of the following options correctly indicates the similarity?

  1. Both converts high level language file in to object file.

  2. Both uses pre-processors before processing main program of the source program.

  3. Both converts the source program into machine language program.

  4. Both uses symbol table in second pass to convert the source into machine language.

  5. Both option 3 and option 4 are correct.

Reveal answer Fill a bubble to check yourself
E Correct answer
Explanation

Yes, both option 3 and 4 are correct.