wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

iGCSE Computer Science: Programming Languages

Total questions: 20

Worksheet time: 12mins

Name
Class
Date
1.

Select all the High-level programming languages ...

a)

Python

b)

C#

c)

PHP

d)

Assembly

2.

Select all the Low-level programming code ...

a)
b)
c)
d)
3.

Select all the types of program translator ...

a)

Compiler

b)

Interpreter

c)

Assembler

d)

Parser

4.

What is another name for the original untranslated program code?

a)

Source code

b)

Object code

c)

Machine code

d)

Assembly code

5.

Which of these descriptions is of object code?

a)

the translated source code, which could be machine code or a type of intermediary code such as bytecode

b)

the code written by the programmer in the chosen programming language

c)

binary codes representing the native instructions in the processor's instruction set

d)

low-level code written using mnemonics that represent the machine instructions in a more meaningful form

6.

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

7.

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

8.

Choose all the valid examples of assembly language instructions ...

a)

LDA

b)

STR

c)

CMP

d)

BEQ

e)

PHP

9.

Choose all the reasons why programming in assembly code is difficult ....

a)

There is only a small range of instructions available to achieve even the largest task

b)

You have to decide how to represent and store ALL the data in the program, even WHERE it is stored in memory

c)

Difficult to debug a program, as a buggy program usually just crashes the computer

d)

Difficult to understand what instruction the mnemonics represent

10.

Choose all the examples of high-level language code ...

a)
b)
c)
d)
e)
11.

Select all the TRUE statements about high-level languages ...

a)

They use recognisable English language keywords

b)

They provide libraries of built-in functions for the programmer

c)

Code must be translated into binary machine code before it can be executed

d)

They are difficult to learn

12.

Select all the statements that are FALSE about programming in low-level languages ...

a)

It is easy to learn to program

b)

There are good debugging tools available

c)

Code runs very quickly

d)

You need a good knowledge of the processor architecture

13.

Which form of translator works by translating the entire program code into a seperate executable object code version?

a)

Interpreter

b)

Assembler

c)

Compiler

d)

Compressor

14.

Which type of program translator works by translating and executing a program one line at a time?

a)

Interpreter

b)

Assembler

c)

Compiler

d)

Compressor

15.

Which type of program translator works by converting the program instructions and data directly into their equivalent machine code version?

a)

Compiler

b)

Assembler

c)

Interpreter

d)

Compressor

16.

What form of program translation is used in most implementations of Python?

a)

Interpretation

b)

Ahead-of-time (AOT) compilation

c)

Just-in-time (JIT) compilation

d)

Assembled

17.

What does the acronym "REPL" stand for in programming language terms?

a)

Read-Evaluate-Print-Loop

b)

Really-Enormous-Programming-Language

c)

REality-PLus

d)

Ready-Enough-Program-Logic

18.

The formal description of a programming language is usually split into the two components of _______ (form) and ___________ (meaning).

a)

syntax and semantics

b)

semantics and syntax

c)

structure and translation

d)

grammar and logic

19.

Choose all the features of a modern high-level programming language ...

a)

English reserved keywords

b)

Built-in functions

c)

Library modules

d)

Code is interpreted or compiled

e)

Provides a variety of program control flow structures

20.

Select all the features you might expect to find in a modern IDE (Integrated Development Environment) ...

a)

Debugger

b)

Code highlighting

c)

Multi-language support

d)

Assembler toolkit