wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

K3 MT Computer Programming Languages

Total questions: 100

Worksheet time: 51mins

Name
Class
Date
1.
A person who writes code and communicates instructions to a computer.
a)
Code
b)
Programmer
c)
Command
d)
Program
2.
Which generation would create the fastest code to execute?
a)
1st Generation (Low)
b)
2nd Generation (Low)
c)
3rd Generation (High)
3.
Machine Code uses mnemonics to represent instructions
a)
True
b)
False
4.
An advantage of programming in Low Level is
a)
Easier for us to understand
b)
Easier to debug
c)
Programs require less file space
5.

A disadvantage of programming in Low Level is

a)

No technical skill is required

b)

Needs to be translated before it can be executed

c)

Difficult for humans to learn and understand

6.
An advantage of programming in High Level is
a)
Easier for us to understand
b)
Useful for device drivers
c)
Programs execute faster than other generations
7.
A disadvantage of programming in High Level is
a)
A lot of code must be translated before it can be executed
b)
Difficult to debug
c)
High level of technical skill is required
8.

Which generation?

a)

Machine Code (1st Gen)

b)

Assembly Code (2nd Gen)

c)

High Level (3rd Gen)

9.
Which generation?
a)
Machine Code (1st Gen)
b)
Assembly Code (2nd Gen)
c)
High Level (3rd Gen)
10.

Which generation?

a)

Machine Code (1st Gen)

b)

Assembly Code (2nd Gen)

c)

High Level (3rd Gen)

11.

Computers must translate everything into binary

a)

True

b)

False

12.

High Level Code is easier for humans to understand as it is written in English

a)

True

b)

False

13.
What is a translator?
a)
A program that converts commands into machine code
b)
A program that converts HLL to assembly code
c)
A program that converts the inputs from a keyboard
d)
A program for writing code
14.
What is Assembly code?
a)
Another name for Pseudocode
b)
A programming language that uses mnemonic codes
c)
A program that joins pieces of code together
d)
Another name for machine code
15.
What is an interpreter?
a)
Converts source code one instruction at a time
b)
Converts source code between 2 HLLs
c)
Converts source code between HLL and Assembly
d)
Converts keyboard presses to an ASCII code
16.
What would you use to convert high-level source code to machine code?
a)
Linker
b)
Assembler
c)
Compiler
d)
IDE
17.
What is the only thing that computers understand?
a)
Machine Code
b)
Low Level Languages
c)
High Level Languages
d)
Algorithms
18.
Before a computer can understand a program it must be...
a)
Translated into its machine code.
b)
Translated into a high level language.
c)
Translated into a low level language.
d)
Converted into binary.
19.
A list of instructions that enable a computer to perform a specific task is a...
a)
Computer Program
b)
Algorithm
c)
Machine Code
d)
Binary Code
20.
When writing a computer program most program use...
a)
A High Level Language
b)
A Low Level Language
c)
A Machine Code
d)
An Algorithm 
21.
A language that is close to human language and which is easy to write, debug and maintain is known as...
a)
A High Level Language
b)
A Low Level Language
c)
An Algorithm
d)
Machine Code
22.
Which of the following is not a high level programming language?
a)
Assembly
b)
C++
c)
Java
d)
Python
23.
Languages that relate to the architecture and hardware of a specific computer are known as...
a)
High Level Languages
b)
Low Level Languages
c)
Simplex Languages
d)
Complex Languages
24.
The two categories of low level language are...
a)
Machine Code & Assembly
b)
Machine Code & Algorithms 
c)
Assembly & Algorithms
d)
Algorithms & Binary
25.
To write a program for a specific device such as an air conditioning unit, which type of language would be used?
a)
Low Level
b)
High Level
c)
Java
d)
Binary
26.
Which of the following is not an advantage of using a low level language? 
a)
Makes more efficient use of primary memory.
b)
Tailor a program to a specific piece of hardware.
c)
To perform a task very quickly.
d)
To enable the program to be run on multiple platforms.
27.
What is the name for the software used to convert an assembly language program into machine code?
a)
Assembler
b)
Interpreter
c)
Compiler
d)
Translator
28.
Which of the following commands would not be found in an assembly language?
a)
LOAD
b)
STORE
c)
ADD
d)
SORT
29.
The 3 main types of translators are...
a)
Assemblers, Compilers & Interpreters 
b)
Assemblers, Compilers & Converters 
c)
Assemblers, Scripters  & Interpreters 
d)
Converters, Scripters & Interpreters 
30.
Software that translates and executes a high level language program one line at a time is known as a?
a)
Compiler
b)
Interpreter
c)
Assembler
d)
Executor
31.

What is a computer program?

a)

a collection of instructions that performs a specific task when executed by a computer

b)

Something you can use to write a document

32.
What do code and program mean?
a)
Create a password
b)
Writing step by step the instructions that tell the computer what to do
33.

Prolog is an example of what type of programming paradigm?

a)

Logic

b)

Imperative

c)

Object oriented

d)

Procedural

34.

This paradigm tells how to do something rather than what to do:

a)

object-oriented

b)

procedural

c)

scripting

d)

functional

35.

This paradigm is relatively simple:

a)

object-oriented

b)

scripting

c)

procedural

d)

functional

36.

This paradigm is difficult to search for errors:

a)

object-oriented

b)

procedural

c)

scripting

d)

aspect-oriented

37.
The wrapping up of data and functions into a single unit is called
a)
overloading
b)
class
c)
object
d)
encapsulation 
38.

Java is...

a)

A Functional Programming Language

b)

An Object Oriented Programming Language

c)

A Procedural Programming Language

d)

A Weakly Typed Programming Language

39.

What is a Programming Paradigm?

a)

A collection of programming languages

b)

A general framework of designing and organizing program

c)

A type of computer

d)

A type of Cheese

40.

High level languages are easy to understand...

a)

True

b)

False

41.

Low level programming languages are... [2 answers]

a)

Easy to read, understand and modify

b)

Difficult to read, understand and modify

c)

Very simple to understand

d)

More memory efficient than high-level languages

42.

High level languages...

a)

Can be run directly from the code

b)

Need to be translated before execution

c)

Are targeted at a specific CPU

43.

Translates all of the source code into machine code in one go

a)

Assembler

b)

Compiler

c)

Interpreter

44.

Translates low level assembly language mnemonic into machine code

a)

Assembler

b)

Compiler

c)

Interpreter

45.

What is a MNEMONIC?

a)

A single action that can be performed by a computer.

b)

A symbol that represents an instruction in assembly code.

c)

A high level language keyword.

d)

A register used inside a CPU A register used inside a CPU.

46.

Program is translated line by line as the program is running

a)

Assembler

b)

Compiler

c)

Interpreter

47.

Translates source code from high level languages into object code and then into machine code

a)

Assembler

b)

Compiler

c)

Interpreter

48.

Which of the following is NOT a translator?

a)

Assembler

b)

Compiler

c)

Interpreter

d)

Executable

49.
Difficult to write in (but easier than Machine code)
a)
Interpreter
b)
Translator
c)
Compiler
d)
Assembly Langauge
50.
LOAD r1,
LOAD r2,
ADD r1,
DIV r1, #2
a)
Machine Code
b)
High Level
c)
Assembly Language
51.
Compilers, assemblers and interpreters are examples of this.
a)
Translator
b)
Run time environment
c)
Editor
d)
Error diagnostics
52.
This code is easy to read, understand a modify as it is designed to be understood by programmers.
a)
High level code
b)
Low level code
53.

_____ level language is faster for the humans to use. (However, these take longer for a CPU to calculate).

a)

Low

b)

High

54.

An example of a LOW level language would be:

a)

C#

b)

Python

c)

Assembler

d)

Scratch

55.

what is a compiler

a)

patrick star

b)

A program that converts instructions into a machine code or lower level form so that they can be read and executed by a programmer

c)

A program that takes basic computer instructions and converts them into a pattern of bits that the computers processors can use to perform its basic operations

d)

A computer program that directly executes instructions written in a programming or scripting language without requiring them previously to have been compiled into a machine language program

56.

Translates low level assembly language mnemonic into machine code

a)

Assembler

b)

Compiler

c)

Interpreter

57.

Program is translated line by line as the program is running

a)

Assembler

b)

Compiler

c)

Interpreter

58.

What is a MNEMONIC?

a)

A single action that can be performed by a computer.

b)

A symbol that represents an instruction in assembly code.

c)

A high level language keyword.

d)

A register used inside a CPU A register used inside a CPU.

59.
High and low-level programming languages can be understood by a computer.
a)
False
b)
True
60.
An example of a high-level programming language is:
a)
Python
b)
Assembly
c)
Machine code
d)
Cloud
61.
Machine code uses the binary number system.
a)
True
b)
False
62.
High-level languages need to be compiled into machine code before they can be used by a computer.
a)
True
b)
False
63.
Machine code is easy to understand by a human.
a)
False
b)
True
64.
The same machine code entered into one computer will be guaranteed to work on any other computer.
a)
False
b)
True
65.
Machine code can be represented in assembly language using:
a)
Mnemonics
b)
Pneumatics
c)
Nomanics
d)
Psychotics
66.
Assembly language is another name for machine code.
a)
True
b)
False
67.
Assembly language has mnemonics.
a)
True
b)
False
68.
High level languages have mnemonics
a)
True
b)
False
69.
Different CPUs require different assemblers.
a)
True
b)
False
70.
Assemblers translate high-level language into machine code.
a)
True
b)
False
71.
Compilers translate high-level language into machine code.
a)
True
b)
False
72.
Interpreters translate source code all at once.
a)
True
b)
False
73.
Interpreters translate source code line by line.
a)
True
b)
False
74.
Compilers produce executable files.
a)
True
b)
False
75.

Assembly is a...

a)

high level programming language

b)

low level programming language

76.

Machine code is a...

a)

high level programming language

b)

low level programming language

77.

Machine code is written using...

a)

Binary/hexadecimal

b)

English-like key words

c)

Plain English

d)

Abbreviated mnemonic keywords

78.

Assembly langauge is written using...

a)

Binary/hexadecimal

b)

English-like key words

c)

Plain English

d)

Abbreviated mnemonic keywords

79.

Advantages of low-level languages include... ( 2 answers)

a)

Direct access to the CPU

b)

Programs written will often be more efficient than high-level programs

c)

Easier to remember programming commands

d)

Can use subroutines and advanced data structures

80.

Assembly language is better than machine code because...(3 answers)

a)

it is easier for humans to read

b)

it is easier to remember the instructions

c)

a person is less likely to make mistakes in assembly language

d)

it is written using English-like words

81.

Which of these are high-level languages ? (2 answers)

a)

Java

b)

Assembly

c)

Machine code

d)

Ada

82.

Which of these is machine code?

a)

A

b)

B

83.

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

84.

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)

85.

What is used to translate assembly code.

a)

Assembler

b)

Compiler

c)

Interpreter

d)

Router

86.

What is the only thing that computers understand?

a)

Machine Code

b)

Low Level Language

c)

High Level Language

d)

Algorithm

87.

Before a computer can understand a program it must be...

a)

Translated into its machine code.

b)

Translated into a high level language.

c)

Translated into a low level language.

88.

Java, Python, Assembly and C++ are examples of

a)

high level languages

b)

Graphic arts languages

c)

medium level languages

d)

programming languages

89.

What is machine code?

a)

A programming language that a computer understands

b)

The make and model of a computer

c)

The serial number of a computer

90.

High level languages feature...(2 answers)

a)

English-like words

b)

Named subroutines

c)

No variables names

d)

Abbreviated command names

91.

The binary codes representing each of the instructions in the in the instruction set.

a)

Translator

b)

Machine code

c)

Source Code

d)

Assembly language

92.

A program that coverts source code into machine code

a)

Object code

b)

Interpreter

c)

Compiler

d)

A translator

93.

Python is an example of . . . . .

a)

A Visual programming language

b)

A Low level programming language

c)

A High level programming language

d)

Machine language

94.

A translator converts high-level language source code into object code, often machine code. The source code is translated all at once and saved to be executed later.

a)

Compiler

b)

Interpreter

c)

high level language

d)

Low level language

95.

A machine code program would look like. . . .

a)

Binary (ones and zeros)

b)

Written english

c)

a high level language

96.

A low level language written using mnemonics

a)

Machine code

b)

Assembly language

c)

High level language

d)

Source code

97.

"Contain both data and the procedures that read or manipulate that data". This statement describe which programming paradigm ?

a)

Logic

b)

Object Oriented

c)

Procedural

98.

Data is exposed to whole program, so no security for data. This statement refer to which paradigm ?

a)

Object-oriented

b)

Logic

c)

Procedural

99.

This programming paradigm is largely utilized in the construction of artificial intelligence (AI).

a)

Object-oriented

b)

Procedural

c)

Logic

100.

This programming paradigm uses bottom-up approach

a)

Procedural

b)

Object-oriented paradigm

c)

Logic