wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Checkpoint 1 Revision 2023-2024-Term1

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

According to the code in the picture, the function name is:

a)

calculate

b)

answer

c)

return

2.

The process of removing unnecessary information and focusing on the important details:


a)

Decomposition

b)

Abstraction

c)

Algorithmic thinking

3.

According to the code, the loop will stop when:


a)

sum=0

b)

sum is more than 10

c)

sum is less than 10

4.

According to the code in the picture, if the input is “Ahmed”, the output will be:


a)

Good morning

b)

Hello, Ahmed

c)
  • Good morning sir


5.

According to the code in the picture, the first output is:


a)

Username

b)

passwprd

c)

Ahmed

6.

Function in python that allows the user to enter data or ask questions.


a)

input()

b)

print()

c)

if statement

7.

Python is not a case-sensitive programming language. 


a)

True

b)

False

8.

When you divide a complex problem into smaller ones that are easier to solve


a)

Abstraction

b)

Decomposition

c)

Loop

9.

To add a comment in a Python program we should use:


a)

@

b)

#

c)

%

10.

An algorithm is precise step-by-step solution to a problem that can be replicated by a human, a computer, or both.


a)

True

b)

False