Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Introduction To Programming

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

What is a program?

a)

A type of computer network

b)

A type of computer software

c)

A set of instructions that tells a computer what to do

d)

A type of computer hardware

2.

Which of the following is an example of a low-level language?

a)

Python

b)

C++

c)

Java

d)

Machine Language

3.

What is the advantage of using assembly language over machine language?

a)

Easier to read and modify

b)

Machine-independent

c)

Readily understood by computers

d)

Easier to learn and understand

4.

Which programming language paradigm is based on the concept of modular programming?

a)

Object-oriented

b)

Logic

c)

Procedural

d)

Functional

5.

What is the function of an interpreter in language translation?

a)

Translates high-level source code into machine code, one line at a time

b)

Translates assembly language into machine code

c)

Translates high-level source code into machine code

d)

Translates the entire source code into machine code

6.

Which of the following is an example of a high-level language?

a)

Assembly Language

b)

Machine Language

c)

Java

d)

C++

7.

What is the focus of the logic programming language paradigm?

a)

Data manipulation

b)

Facts and rules about some problem domain

c)

Object and classes

d)

Modular programming

8.

What is the function of a compiler in language translation?

a)

Translates high-level source code into assembly language

b)

Translates the entire high-level source code into machine code

c)

Translates assembly language into machine code

d)

Translates high-level source code into machine code, one line at a time

9.

Which type of language translator translates instructions written in assembly language into machine code?

a)

Compiler

b)

Linker

c)

Assembler

d)

Interpreter

10.

What is the main advantage of using high-level language over low-level languages?

a)

Readily understood by computers

b)

Easier to read and modify

c)

Easier to learn and understand

d)

Machine-independent