NEW
Font size
WorksheetsRevision
Total questions: 17
Worksheet time: 9mins
Python is a program for
programming
draw
edit photo
look for information
if x > 5 : (x>5) called ................... statement
answer
question
condition
code
if x > 5 :
in python that sentence is called
while loop
if statement
for loop
Look at this picture , what is the answer?
5
10
15
20
x=8
if x > 5:
print(x)
this code will be excuted (run) for :
1 time
3 times
5 times
7 times
print(" my name! ")
the output for this sentence will be
samira
my name
my name !
error
x=2
while x > 3 :
print("hello ")
what is the output?
hello
23
output
error
who is in this photo
a man
a boy
a cat
a girl
while x > 3 :
what is the kind of loop ?
if loop
for loop
while loop
loop loop
for x in range(1,4,1):
print ("hi")
how many times "hi" will be printed
1
2
3
4
x=random.randint(5,10)
x could be equal to :
1
2
5
11
where is this masjed?
Abu Dhabi
Sharjah
Dubai
Ajman
for num in 1,2,3,4,5:
print("i like CS ")
how many times "I like CS" will be printed?
5
10
15
20
if x>0 :
print("big")
else:
print("small"
if (big) was output , x could be equal to:
x
-2
0
9
if x>0 :
print("big")
else:
print("small")
if (small) was the output , x could be equal to:
9
0
2
1
what is your computer teacher name?
Sumaya
Samia
Salwa
Samira
what is the name of programming language you studied this year?
Panther
Python
packet
panadol
