
Types of Program Translator
Authored by David Copeland
Computers
12th Grade
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
Optimizing code for performance
Improving code efficiency and speed
Translating code to machine code
Converting high-level language to low-level language
Executing code line by line
Interpreting code without prior compilation
Checking syntax errors.
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.
Access all questions and much more by creating a free account
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
Already have an account?
Similar Resources on Wayground
25 questions
Code HS 3.19 Intro to Programming w/Karel
Quiz
•
9th - 12th Grade
25 questions
STS 2 TIK KELAS 4 TAHUN 2024 - 2025
Quiz
•
4th Grade - University
30 questions
WEEK 5 - UTS KELAS KOMPUTER
Quiz
•
1st Grade - University
25 questions
Java Review
Quiz
•
9th Grade - University
25 questions
Game & Sim MidTerm Exam 2023
Quiz
•
9th - 12th Grade
35 questions
Code.org Unit 2 Web Development
Quiz
•
6th - 12th Grade
26 questions
Microsoft Word 2016 Advanced Unit
Quiz
•
9th - 12th Grade
30 questions
Unit 10: Web Development Fundamentals
Quiz
•
9th - 12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
10 questions
Probability Practice
Quiz
•
4th Grade
15 questions
Probability on Number LIne
Quiz
•
4th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
6 questions
Appropriate Chromebook Usage
Lesson
•
7th Grade
10 questions
Greek Bases tele and phon
Quiz
•
6th - 8th Grade