info@jobexams.pk

MCQ Detailed View

Explore the question in detail with explanation, related questions, and community discussions.

1 PROGRAMMING MCQS

Which of the following is a type of language translator?

  • Compiler
  • JVM
  • JRE
  • None of these
Correct Answer: A. Compiler

Detailed Explanation

A compiler is a type of language translator used in programming. Its main job is to convert high-level programming code (like C, C++, or Java) into machine code (binary code) that a computer's processor can understand and execute.


In other words, when a programmer writes a program in a human-readable language, that code must be translated into machine language before it can run. The compiler reads the entire code, checks for errors, and then translates it all at once into executable code. If there are any errors in the source code, the compiler will show them before the program runs.

Discussion

Thank you for your comment! Our admin will review it soon.
No comments yet. Be the first to comment!

Leave a Comment