Chapter 10 - Programming language translators

Chapter 10 - Programming language translators

11th Grade

20 Qs

quiz-placeholder

Similar activities

Python Recap

Python Recap

7th Grade - University

20 Qs

Lua Review Corona SDK with Notepad++

Lua Review Corona SDK with Notepad++

10th - 12th Grade

15 Qs

TIK VII YT, GC, VIDCOF

TIK VII YT, GC, VIDCOF

7th - 12th Grade

20 Qs

Yr7- Understanding computers Lessons 1-3

Yr7- Understanding computers Lessons 1-3

7th - 11th Grade

20 Qs

CSP Unit 13 Practice Test

CSP Unit 13 Practice Test

9th - 12th Grade

15 Qs

Hardware and Components

Hardware and Components

5th - 11th Grade

19 Qs

History of Computers

History of Computers

6th - 12th Grade

15 Qs

Chapter 10 - Programming language translators

Chapter 10 - Programming language translators

Assessment

Quiz

Computers

11th Grade

Practice Problem

Medium

Created by

Wayground Content

Used 3+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Media Image

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

Media Image

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?