πŸ“Š Computer
Q. Which one of the following is a programme that converts high level language to machine language?
  • (A) Linker
  • (B) Assembler
  • (C) Interpreter
  • (D) Compiler
βœ… Correct Answer: (D) Compiler

Explanation:

A compiler is a program that converts a high-level language (such as C, Java, or Python) into machine language (binary code) so that the computer can execute it. The compilation process happens before execution and translates the entire code at once.

Other Options Explained:

  • (A) Linker β†’ Combines multiple object files into a single executable file.
  • (B) Assembler β†’ Converts assembly language (low-level) into machine code, not high-level language.
  • (C) Interpreter β†’ Translates and executes line by line, unlike a compiler which translates the entire program at once.

Thus, the correct answer is (D) Compiler.

Explanation by: Mr. Dubey

A compiler is a program that converts a high-level language (such as C, Java, or Python) into machine language (binary code) so that the computer can execute it. The compilation process happens before execution and translates the entire code at once.

Other Options Explained:

  • (A) Linker β†’ Combines multiple object files into a single executable file.
  • (B) Assembler β†’ Converts assembly language (low-level) into machine code, not high-level language.
  • (C) Interpreter β†’ Translates and executes line by line, unlike a compiler which translates the entire program at once.

Thus, the correct answer is (D) Compiler.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
1250
Total Visits
πŸ“½οΈ
6 y ago
Published
πŸŽ–οΈ
Ranjeet
Publisher
πŸ“ˆ
98%
Success Rate