Python programming Grade 7
Quiz
•
Computers
•
7th Grade
•
Medium
Ahmed Numair
Used 29+ times
FREE Resource
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!'
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
51 questions
Yr 8 (IT3) - Hardware & Software
Quiz
•
5th - 9th Grade
50 questions
109上資訊科技期末考複習測驗
Quiz
•
7th Grade
50 questions
XIRPL2_PASQUIZZ
Quiz
•
1st Grade - Professio...
45 questions
Small Basic - G7 T1
Quiz
•
7th Grade
45 questions
Microsoft Excel - Basics
Quiz
•
7th Grade - University
50 questions
Quiz Latihan Soal-Soal UTS Keamanan Jaringan
Quiz
•
KG - University
50 questions
ICT KS3 ERC End of Year Quiz
Quiz
•
4th - 10th Grade
45 questions
GCSE Python Legends
Quiz
•
1st - 12th Grade
Popular Resources on Wayground
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Order of Operations
Quiz
•
5th Grade
20 questions
Halloween
Quiz
•
5th Grade
16 questions
Halloween
Quiz
•
3rd Grade
12 questions
It's The Great Pumpkin Charlie Brown
Quiz
•
1st - 5th Grade
20 questions
Possessive Nouns
Quiz
•
5th Grade
10 questions
Halloween Traditions and Origins
Interactive video
•
5th - 10th Grade
