
Types of Program Translator
Quiz
•
Computers
•
12th Grade
•
Medium

David Copeland
Used 3+ times
FREE Resource
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A program that converts assembly language into machine code is called a(n) ______.
Compiler
Interpreter
Assembler
Linker
Answer explanation
An assembler is a program that translates assembly language, which is a low-level programming language, into machine code, the binary code that a computer's processor can execute. Thus, the correct answer is 'Assembler'.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the main difference between a compiler and an interpreter?
A) A compiler translates code all at once, while an interpreter translates code line by line.
B) A compiler is faster than an interpreter.
C) An interpreter translates code all at once, while a compiler translates code line by line.
D) An interpreter is faster than a compiler.
Answer explanation
The main difference is that a compiler translates the entire code at once into machine code, while an interpreter translates it line by line during execution. Therefore, option A is correct.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
An assembler is a type of ______.
Compiler
Interpreter
Program translator
Text editor
Answer explanation
An assembler translates assembly language into machine code, making it a type of program translator. Unlike compilers and interpreters, which handle higher-level languages, assemblers work directly with low-level code.
4.
DRAG AND DROP QUESTION
30 sec • 1 pt
The role of an Assembler in programming languages is to convert (a) to machine code.
Answer explanation
An assembler translates assembly code, which is a low-level programming language, into machine code that a computer's processor can execute. This makes the correct answer "Converts assembly code to machine code."
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the primary function of a Compiler?
Executes code line by line
Translates entire code to machine code at once
Converts machine code to high-level code
Converts bytecode to source code.
Answer explanation
The primary function of a compiler is to translate the entire source code into machine code at once, allowing the program to be executed efficiently. This distinguishes it from interpreters, which execute code line by line.
6.
MATCH QUESTION
30 sec • 1 pt
Match the following roles with their descriptions.
Identifying grammatical mistakes in code
Checking syntax errors.
Converting high-level language to low-level language
Optimizing code for performance
Interpreting code without prior compilation
Executing code line by line
Improving code efficiency and speed
Translating code to machine code
Answer explanation
The correct choice is 'Executing code line by line' because a compiler translates code into machine code, optimizes it, and checks for syntax errors, but it does not execute the code. That is the role of an interpreter.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the relationship between assembly language instructions and machine code instructions in an assembler?
1-to-2
1-to-1
2-to-1
1-to-3
Answer explanation
Assembly language instructions correspond directly to machine code instructions, meaning each assembly instruction translates to exactly one machine code instruction. Therefore, the relationship is 1-to-1.
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple

Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
25 questions
Types of Network and Defensive Design
Quiz
•
9th - 12th Grade
25 questions
Software - Quiz # 2 for 9/11
Quiz
•
11th Grade - University
25 questions
Γ Γυμνασίου κεφ 1.4 και1.5 (Προγραμματισμός)
Quiz
•
12th Grade
25 questions
Microsoft Word: Module 2
Quiz
•
9th - 12th Grade
25 questions
Advanced Web Designing
Quiz
•
12th Grade
25 questions
Unit 2 - Turtle Graphics Quiz for Python Computer Programming I
Quiz
•
9th - 12th Grade
25 questions
Algorithms are not magic - AQA A Level Computer Science
Quiz
•
8th Grade - University
25 questions
Computer Knowledge
Quiz
•
11th - 12th Grade
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
11 questions
NEASC Extended Advisory
Lesson
•
9th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade