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 targets machine code; transpiler targets another source language
C. Compiler is for high-level; transpiler is for low-level
D. Compiler is faster; transpiler is slower
Answer: Option B
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 role of the kernel in an operating system?
A. Runs application software
B. Provides user interface
C. Manages network connections
D. Manages core hardware and system resources

Correct Answer: Option D


Explanation:
The kernel is the core of the OS, managing CPU, memory, and devices.

This question belongs to: Computer Computer Software
Question #2
Which of the following is a utility software for managing device drivers?
A. Control Panel
B. Device Manager
C. File Explorer
D. Task Manager

Correct Answer: Option B


Explanation:
Device Manager is used to view and manage hardware drivers.

This question belongs to: Computer Computer Software
Question #3
Which of the following is a file management utility?
A. Outlook
B. Chrome
C. Windows Explorer
D. Photoshop

Correct Answer: Option C


Explanation:
Windows Explorer (File Explorer) is a utility for browsing and managing files and folders.

This question belongs to: Computer Computer Software