What is the difference between a compiler and an assembler? MCQ with Answer and Explanation

What is the difference between a compiler and an assembler?
A. Compiler is for machine code; assembler is for bytecode
B. They are the same
C. Compiler translates high-level; assembler translates assembly
D. Compiler translates assembly; assembler translates high-level
Answer: Option C
Solution (By JKSSB Mock Tests)
Compilers work on high-level languages, while assemblers work on assembly language.

Discuss this Question (0)

No comments yet. Be the first to start the discussion!

Practice More Computer Software Questions

Question #1
Which of the following is an example of a computational software?
A. Notepad
B. MS Paint
C. Chrome
D. Mathematica

Correct Answer: Option D


Explanation:
Mathematica is used for computational calculations and problem-solving.

This question belongs to: Computer Computer Software
Question #2
Software that can be altered or redistributed under a license requiring all modified versions to also be open-source and free is called:
A. Firmware Package Code
B. Proprietary Software
C. Commercial Shareware Kits
D. Copyleft / GNU General Public License Software

Correct Answer: Option D


Explanation:
Copyleft licenses (like the GPL) ensure that open-source software remains open source, requiring any derivatives or modifications to be distributed under the same open conditions.

This question belongs to: Computer Computer Software
Question #3
What is the purpose of a system configuration tool?
A. To edit images
B. To create documents
C. To change system startup settings
D. To manage files

Correct Answer: Option C


Explanation:
Tools like msconfig adjust boot options and services.

This question belongs to: Computer Computer Software