wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

LLL & HLL

Total questions: 20

Worksheet time: 10mins

Name
Class
Date
1.

Which of the following is NOT a property of a High Level Language?

a)

Enables programs to be developed quickly

b)

Commands resemble "natural" language

c)

Commands are translated into machine code before they can be run

d)

Enable the programmer to directly control system hardware

2.

Which of the following statements about COMPILERS is TRUE?

a)

Each line of the program needs to be translated each time it is run

b)

Enables programs to be easily re-edited

c)

Outputs the finished code into a complete machine code program

d)

Each time an error is encountered, it stops the program and reports it

3.

Which one of the following statements is FALSE?

a)

Different types of microprocessors might have different instruction sets

b)

Not every type of high level language is suitable for every task

c)

Assembly language can be understood by computers

d)

Low level language programs require less memory than high level languages

4.

Which of the following is an example of a Low Level Language

a)

JavaScript

b)

Python

c)

Assembly

d)

C++

5.

Which of the following is not an example of a Translator?

a)

Compiler

b)

Editor

c)

Assembler

d)

Interpreter

6.

One advantage of programming in a high level language is.

a)

Eliminates bugs

b)

Easier to understand

c)

Executes faster than other levels

d)

Useful for programming device drivers

7.

Define the relationship between low and high level languages.

a)

One to One (One high level instruction = one low level)

b)

One to Two (Each high level instruction has two low level instructions)

c)

One to Many (Each high level instruction has many low level instructions)

d)

Many to One (Many high level instruction has only one low level instruction)

8.

What is used to translate assembly code.

a)

Assembler

b)

Compiler

c)

Interpreter

d)

Router

9.

What is used to translate the entire source code in one go.

a)

Assembler

b)

Compiler

c)

Interpreter

d)

Router

10.

QBasic, Java PASCAL are _______ level languages.

a)

High

b)

Low

c)

Assembly

11.

Assembly langauge is written using...

a)

Binary/hexadecimal

b)

English-like key words

c)

Plain English

d)

Abbreviated mnemonic keywords

12.

What must you do if "Syntax Error" appears?

a)

Check for flaws, edit, and rerun.

b)

It may be a programmer's error.

c)

Close the programme

Delete it

d)

None of the above

13.
The two categories of low level language are...
a)
Machine Code & Assembly
b)
Machine Code & Algorithms 
c)
Assembly & Algorithms
d)
Algorithms & Binary
14.

A program written originally by a programmer using a high level programming language is

a)

Object code

b)

Machine code

c)

Source program

d)

Interactive programs

15.
Process of finding and fixing errors in the syntax so the computer program will run properly
a)
Bugs
b)
Sequence
c)
Debugging
d)
Command
16.

Choose the BEST word to complete this sentence:


A high-level programming language lets the programmer write code with a large amount of _____________ from the actual machine instructions of the processor.

a)

memory

b)

lines

c)

abstraction

d)

complexity

17.

Choose the BEST word to complete this sentence:


Assembly code uses short, simple codes called ___________ to represent the instructions of a processor's instruction set.

a)

mnemonics

b)

opcodes

c)

acronyms

d)

abbreviations

18.

Select all the High-level programming languages ...

a)

Python

b)

C#

c)

PHP

d)

Assembly

19.

Select all the Low-level programming code ...

a)
b)
c)
d)
20.

What is another name for the original untranslated program code?

a)

Source code

b)

Object code

c)

Machine code

d)

Assembly code