Search Header Logo
Translators

Translators

Assessment

Presentation

Computers

9th - 10th Grade

Practice Problem

Medium

Created by

Calum Gordon

Used 35+ times

FREE Resource

10 Slides • 13 Questions

1

Translators

by BSN Computing

2

media

3

media

4

media

5

Multiple Choice

What is the role of a source code translator?

1

Convert program code into machine-readable machine code

2

Convert source code into another programming language

3

Convert one human language into another one

4

Executes the program source code

6

Multiple Choice

Why are source code translators needed?

1

Because most programmers program in a high-level language

2

Because most programmers program in a low-level language

3

Because there are many different human languages

7

media

8

Multiple Choice

Question image

What type of translator does this code need?

1

assembler

2

interpreter

3

compiler

9

Multiple Select

Question image

What type of translator does this code need?

1

assembler

2

interpreter or compiler

10

media

11

Multiple Choice

What is the input to a compiler program?

1

High-level source code

2

Low-level source code

3

Object code

4

Machine code

12

Multiple Choice

What is the input to an assembler program?

1

High-level source code

2

Assembly code

3

Object code

4

Machine code

13

Multiple Choice

What is the output of a compiler program?

1

High-level source code

2

Assembly code

3

Low-level source code

4

Machine code

14

media

15

Multiple Select

Choose all the advantages of a compiler over an intepreter ...

1

Program executes faster

2

Can keep source code secret

3

More portable as can produce intermediate bytecode

4

Debugging tends to be easier

16

Multiple Select

Choose all the advantages of an interpreter over an compiler...

1

Detects errors as they arise at run-time

2

Easier to keep source code secret

3

More portable as can produce intermediate bytecode

4

Debugging tends to be easier

17

Multiple Choice

Which is the best description of Just-in-time (JiT) compilation?

1

Source code is compiled at run-time

2

Source code is compiled before run-time

3

a combination of compiling and interpreting

4

Source code is compiled after run-time

18

media

19

Multiple Choice

What is the main criteria a programmer should use when choosing a programming language to use?

1

Nature of the task

2

Availablity of a compiler

3

Whether language is compiled or interpreted

4

Popularity of programming language

20

media

21

media

22

Open Ended

Question image

Thinking Hard:

What would be the hardest question you could ask someone on this topic? What would the answer be?

(press shift+Enter to take a new line ...)

23

Poll

How much of this lesson have you understood?

None of it

Some of it

Most of it

All of it

Translators

by BSN Computing

Show answer

Auto Play

Slide 1 / 23

SLIDE