wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Introduction to Programming

Total questions: 10

Worksheet time: 6mins

Name
Class
Date
1.

What is programming?

a)

Commands given to animal

b)

Something on television

c)

Something on the radio

d)

Commands given to a computer

2.

SYNTAX in programming means . . .

a)
Set of rules defining the structure and format of a programming language
b)
The output of a program
c)
The process of writing code
d)
A type of error in programming
3.

What is the DIFFERENCE between a high-level and low-level programming language?

a)

A high-level programming language is more efficient than a low-level programming language.

b)

A high-level programming language is used for web development, while a low-level programming language is used for system programming.

c)

A high-level programming language is compiled, while a low-level programming language is interpreted.

d)

A high-level programming language is designed to be easily understood by humans and provides abstraction, while a low-level programming language is closer to machine language and provides more control over hardware resources.

4.

Which are high-level programming languages.

a)

Binary, Assembly

b)

Python, Java, JavaScript

5.

Which is NOT a programming language

a)

Microsoft

b)

javaScript

c)

Python

d)

Fortran

6.

What is the PURPOSE of a COMPILER in programming?

a)

The purpose of a compiler in programming is to convert machine code into high-level programming languages.

b)

The purpose of a compiler in programming is to optimize the performance of a program.

c)

The purpose of a compiler in programming is to translate high-level programming languages into machine code or lower-level code that can be executed by a computer.

d)

The purpose of a compiler in programming is to debug and fix errors in the code.

7.

Which is/are TRUE about a HIGH-LEVEL programming language? (Select more than 1)

a)

Almost all programs are written in high-level languages.

b)

Programs written in a high-level language must ne translated before they can be run.

c)

It's easier to program in a low-level language than a high-level language.

d)

High-level programs can only run on one kind of computer (you've to rewrite the program if you wnated to uise a different machine).

8.

A compiler converts a high-level program all at once, before executing any of the commands.

a)

TRUE

b)

FALSE

9.

What is the ROLE of an EXECUTOR?

a)

To translate the program line by line

b)

To copy the program from disk to memory and make the computer run the program.

c)

To translate the program all at once.

d)

To give an error message if something is preventing the code from being translated.

10.

Select AREAS where programming plays a major part

a)
network administration
b)

software development

c)

creating games

d)
accounting