NEW
Font size
WorksheetsM1 Basic Programming Concepts Quiz
Total questions: 14
Worksheet time: 8mins
What is an algorithm?
A computer machine
A set of step-by-step commands to solve a problem
A programming language
Giving commands to a computer to perform tasks
Programming means __________.
A set of step-by-step commands to solve a problem
Playing games
Giving commands to a computer to perform tasks
Writing notes
What does sorting mean?
Deleting items
Arranging items in a specific order
Mixing items
Copying items
Which of the following is a sorted list?
[8, 3, 1, 5]
[5, 1, 8, 3]
[1, 3, 5, 8]
[3, 8, 5, 1]
Operators in Python are used to __________.
Store data
Perform actions or operations
Design images
Open files
Which of the following is an arithmetic operator?
>
=
<=
!=
What does BIDMAS help us with?
Writing programs
Sorting data
Solving math problems in the correct order
Comparing values
In BIDMAS, which operation is done first?
Division
Addition
Subtraction
Brackets
Python is a __________.
Game
Programming language
Computer virus
Machine
Which is NOT a key feature of Python?
Easy to learn
Free to use
Widely used
Only used for grammar
What will be the output?
a) a is greater than b
b) No output
c) b is greater than a
d) Error
What will be the output?
a) a is greater than b
b) No output
c) b is greater than a
d) Error
Which operator is used for multiplication in Python?
X
/
#
*
Relational operators are mainly used to __________.
a) Do calculations
b) Store values in decimal
c) Compare values and make decisions
d) Print output
