
Python programming Grade 7
Authored by Ahmed Numair
Computers
7th Grade
Used 29+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
46 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following program?
for i in range(0, 5):
print(i)
i=i+1
1 to 5 numbers
1 to 4 numbers
0 to 4 numbers
0 to 5 numbers
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
WHICH ONE OF THE FOLLOWING IS THE CORRECT EXTENSION OF THE PYTHON FILE ?
.py
.python
.p
None of these
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What would the outcome of this program be?
22
50
Nothing, it won't run due to errors in the code
38
4.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
What does this code do when run the following program:
name='Aluko'
print('Hello '+name)
hello aluko
Hello aluko
'Hello Aluko'
Hello Aluko
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Python program 3, can carry out calculations. The arithmetic operators we use to do this are: Addition, Subtraction, Multiplication & Division?
Plus, Subtract, Times & Divide
+ - * /
+ - x \
+ - * \
6.
MULTIPLE CHOICE QUESTION
30 sec • 3 pts
What would this code print
name='Poppy'
name='Beka'
print('Hello '+name)
Poppy
Liz
Hello Poppy
Hello Beka
7.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
What would this code do?
print('Hello World!')
hello world
Hello World!
hello world!
'Hello World!'
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?