Python Quiz - 6
Quiz
•
Computers
•
6th - 8th Grade
•
Hard
Priyanka R.D
Used 16+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which two statements are used to implement iteration?
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which kind of loop would be used?
I need a program that will keep letting me add money to a piggy bank until I get to £100.
FOR Loop
WHILE Loop
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is the definition of Indentation in terms of programming
Repetition of a sequence, usually with some change
A gap at the start of a line of code
A line of code that includes a condition, followed by lines of code that only run if the condition is met
Repetition of the first letter at the start of each word in a sentence
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will happen when this program runs
It will display numbers 0-10 on separate lines
It will display numbers 0-9 on separate lines
It will crash
It will display 0s in an infinite loop
5.
MULTIPLE CHOICE QUESTION
30 sec • 12 pts
4
3
2
1
3
2
1
0
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In a While loop a code will be repeated until the condition becomes
FALSE
TRUE
User choice
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What would be the output of the following code:
for i in range(3):
print(5)
0 1 2
3 3 3 3 3
5 5 5
0 1 2 3 4
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
Already have an account?
Similar Resources on Wayground
13 questions
CODING QUIZZ
Quiz
•
8th Grade
10 questions
C# lesson10
Quiz
•
1st - 10th Grade
10 questions
Konsep Routing
Quiz
•
1st - 10th Grade
11 questions
TMK Tahun 6 - Pengaturcaraan -Unit 1
Quiz
•
5th - 6th Grade
11 questions
Jezik HTML
Quiz
•
7th Grade
13 questions
Quiz 3: Internet safety, cyber security and encryption
Quiz
•
7th - 8th Grade
15 questions
Cyber Security Homework 1
Quiz
•
7th - 9th Grade
12 questions
Revision quiz on Access
Quiz
•
8th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
