
Chapter 10 - Programming language translators
Quiz
•
Computers
•
11th Grade
•
Practice Problem
•
Medium
Wayground Content
Used 3+ times
FREE Resource
Enhance your content in a minute
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the role of an assembler in programming language translation?
An assembler translates assembly code into machine code or intermediate bytecode.
An assembler translates high-level code into assembly language.
An assembler translates machine code into high-level language.
An assembler translates pseudo code into flowcharts.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Before an assembly code program can be executed, it must be translated into the equivalent machine code, or an intermediate form called ________.
bytecode
source code
hexadecimal code
object-oriented code
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is an example of a semantic error?
Using the wrong variable name in a calculation
Misspelling a keyword
Forgetting a semicolon
Incorrectly nesting loops
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What type of error is indicated by the interpreter in the screenshot?
SyntaxError: invalid syntax
TypeError: unsupported operand type(s)
NameError: name 'x' is not defined
IndentationError: unexpected indent
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following best describes how a library is invoked by a program?
By calling its functions or routines in the code
By copying its code into the program manually
By renaming the library file
By deleting the library after use
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are the three main stages shown in the diagram?
Input (Source code), Process (Compile), Output (Object code)
Input (Object code), Process (Compile), Output (Source code)
Input (Source code), Process (Execute), Output (Object code)
Input (Source code), Process (Debug), Output (Object code)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
According to the symbol table, what is the run-time address or value of 'pi'?
3.14159
0x7ffeefbff5c8
42
NULL
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
20 questions
Hardware and Software
Quiz
•
8th - 11th Grade
17 questions
Security and Ethics
Quiz
•
9th - 12th Grade
21 questions
Computer System
Quiz
•
9th - 11th Grade
20 questions
Design your website
Quiz
•
7th - 12th Grade
16 questions
OCR Sys Arch J277
Quiz
•
10th - 12th Grade
15 questions
Internet Basics
Quiz
•
5th Grade - University
20 questions
Jaringan Komputer
Quiz
•
9th - 12th Grade
20 questions
Colour Theory
Quiz
•
3rd Grade - University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
