wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

M1 Basic Programming Concepts Quiz

Total questions: 14

Worksheet time: 8mins

Name
Class
Date
1.

What is an algorithm?

a)

A computer machine

b)

A set of step-by-step commands to solve a problem

c)

A programming language

d)

Giving commands to a computer to perform tasks

2.

Programming means __________.

a)

A set of step-by-step commands to solve a problem

b)

Playing games

c)

Giving commands to a computer to perform tasks

d)

Writing notes

3.

What does sorting mean?

a)

Deleting items

b)

Arranging items in a specific order

c)

Mixing items

d)

Copying items

4.

Which of the following is a sorted list?

a)

[8, 3, 1, 5]

b)

[5, 1, 8, 3]

c)

[1, 3, 5, 8]

d)

[3, 8, 5, 1]

5.

Operators in Python are used to __________.

a)

Store data

b)

Perform actions or operations

c)

Design images

d)

Open files

6.

Which of the following is an arithmetic operator?

a)

>

b)

=

c)

<=

d)

!=

7.

What does BIDMAS help us with?

a)

Writing programs

b)

Sorting data

c)

Solving math problems in the correct order

d)

Comparing values

8.

In BIDMAS, which operation is done first?

a)

Division

b)

Addition

c)

Subtraction

d)

Brackets

9.

Python is a __________.

a)

Game

b)

Programming language

c)

Computer virus

d)

Machine

10.

Which is NOT a key feature of Python?

a)

Easy to learn

b)

Free to use

c)

Widely used

d)

Only used for grammar

11.

What will be the output?

a)

a) a is greater than b

b)

b) No output

c)

c) b is greater than a

d)

d) Error

12.

What will be the output?

a)

a) a is greater than b

b)

b) No output

c)

c) b is greater than a

d)

d) Error

13.

Which operator is used for multiplication in Python?

a)

X

b)

/

c)

#

d)

*

14.

Relational operators are mainly used to __________.

a)

a) Do calculations

b)

b) Store values in decimal

c)

c) Compare values and make decisions

d)
  1. d) Print output