wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

DECI-Week5-Quest2

Total questions: 3

Worksheet time: 2mins

Name
Class
Date
1.

What is a compiler in programming?

a)

a. A program that translates high-level code into machine code

b)

b. A tool for debugging code

c)

c. A program that executes code line by line

d)

d. A device used to compile physical code

2.

What is the primary output of a compiler?

a)

a. Source code

b)

b. Machine code or intermediate code

c)

c. Debugging information

d)

d. Execution logs

3.

Which of the following best describes the role of an interpreter?

a)

a. Translates source code to machine code and executes it

b)

b. Translates source code to machine code without execution

c)

c. Executes source code without translation

d)

d. Debugs source code