What is the main difference between a compiler and a transpiler? MCQ with Answer and Explanation

What is the main difference between a compiler and a transpiler?
A. No difference
B. Compiler is faster; transpiler is slower
C. Compiler targets machine code; transpiler targets another source language
D. Compiler is for high-level; transpiler is for low-level
Answer: Option C
Solution (By JKSSB Mock Tests)
Transpilers convert code from one high-level language to another.

Discuss this Question (0)

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

Practice More Computer Software Questions

Question #1
What is the purpose of a system restore utility?
A. To revert system files to an earlier state
B. To format disk
C. To backup user data
D. To install drivers

Correct Answer: Option A


Explanation:
System Restore creates restore points to undo system changes without affecting user files.

This question belongs to: Computer Computer Software
Question #2
Which of the following is a type of programming software?
A. Debugger
B. Email client
C. Spreadsheet
D. Media player

Correct Answer: Option A


Explanation:
A debugger is a tool used by programmers to test and fix code.

This question belongs to: Computer Computer Software
Question #3
Which software component acts as a translator between an operating system and a specific physical peripheral device, such as a printer or graphics card?
A. Device Driver
B. Utility Toolkit
C. System Loader
D. Application Interface

Correct Answer: Option A


Explanation:
Device drivers are specialized system software programs that allow the operating system to communicate effectively with external hardware components.

This question belongs to: Computer Computer Software