Chapter 10 - Programming language translators

Chapter 10 - Programming language translators

11th Grade

20 Qs

quiz-placeholder

Similar activities

Python

Python

11th Grade

20 Qs

Computer Science ALevel

Computer Science ALevel

10th - 12th Grade

15 Qs

1.2.2 Applications Generation

1.2.2 Applications Generation

11th Grade

20 Qs

GCSE - 2.3 Producing Robust Programs

GCSE - 2.3 Producing Robust Programs

9th - 11th Grade

15 Qs

Loops

Loops

10th - 12th Grade

17 Qs

2.3 Robust Programs MCQs L2

2.3 Robust Programs MCQs L2

10th - 11th Grade

20 Qs

Python Programming

Python Programming

11th Grade

25 Qs

Computer Language Quiz

Computer Language Quiz

9th Grade - University

16 Qs

Chapter 10 - Programming language translators

Chapter 10 - Programming language translators

Assessment

Quiz

Computers

11th Grade

Medium

Created by

Quizizz Content

Used 3+ times

FREE Resource

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?