24. OCR A Level (H046-H446) SLR5 – 1.2 Translators

24. OCR A Level (H046-H446) SLR5 – 1.2 Translators

11th Grade

15 Qs

quiz-placeholder

Similar activities

Computer Science Edexcel GCSE iGCSE

Computer Science Edexcel GCSE iGCSE

9th - 12th Grade

10 Qs

Computer Languages

Computer Languages

KG - University

10 Qs

Programming Languages

Programming Languages

9th - 12th Grade

12 Qs

ICT Class 11

ICT Class 11

11th Grade

20 Qs

8.1 Programming Overview

8.1 Programming Overview

9th - 11th Grade

14 Qs

High and low level languages

High and low level languages

10th - 12th Grade

17 Qs

Hardware & Software

Hardware & Software

11th - 12th Grade

10 Qs

Programming Translators AS Level Computer Science

Programming Translators AS Level Computer Science

11th Grade

20 Qs

24. OCR A Level (H046-H446) SLR5 – 1.2 Translators

24. OCR A Level (H046-H446) SLR5 – 1.2 Translators

Assessment

Quiz

Computers

11th Grade

Easy

Created by

James Cole

Used 5+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of translators in programming?

To protect source code from unauthorized access

To enhance the speed of program execution

To debug programs

To convert source code into machine code

Answer explanation

Translators in programming are used to convert source code into machine code, making it understandable by the computer for execution.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT a type of translator?

Interpreter

Compiler

Debugger

Assembler

Answer explanation

The correct choice is 'Debugger' because it is not a type of translator. Interpreters, compilers, and assemblers are all types of translators used in computing.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is source code?

A special code used by compilers only

A type of machine code

Binary code that machines understand

Code written by programmers in a programming language

Answer explanation

Source code refers to the code written by programmers in a programming language, which is then translated into machine code by compilers.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is machine code?

Code used by interpreters

Pure binary form that machines can execute

Code written by programmers

High-level programming language

Answer explanation

Machine code is the pure binary form that machines can directly execute, representing instructions and data in a format that the computer's central processing unit (CPU) can understand and process.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does an assembler translate?

Machine code to source code

High-level language to machine code

Source code to high-level language

Assembly code to machine code

Answer explanation

An assembler translates assembly code to machine code, making it the correct choice among the options provided.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How does an interpreter translate high-level language code?

In its entirety at once

Converts it directly to assembly code

Only after checking all syntax errors

One line at a time

Answer explanation

The interpreter translates high-level language code one line at a time, executing each line before moving on to the next, allowing for immediate feedback and error detection.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the role of a compiler?

To translate machine code into source code

To convert entire source code into machine code at once

To interpret high-level language into assembly code

To execute code line by line

Answer explanation

The role of a compiler is to convert entire source code into machine code at once.

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?