Guess the Output.
Python Quiz - Basics & Turtle

Quiz
•
Computers, Other
•
3rd - 8th Grade
•
Medium
Bowrna Vijayan
Used 11+ times
FREE Resource
12 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
4
5
6
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
x = 5
print(x == 2)
True
False
5
1
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
To convert all the characters of the string to Capital letters,we have to use __________ function.
lower()
upper()
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
__________ function starting from 0 by default, and increments by 1 (by default), and stops before a specified number
print()
range()
input()
random()
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the keyword needed to repeat code (iterate) in Python?
if
input
for
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
for i in range(5):
print(i)
0
1
2
3
4
0
1
2
3
4
5
1
2
3
4
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these functions gives a random integer from a range?
random.randint()
random.choice()
random.sample()
Create a free account and access millions of resources
Similar Resources on Quizizz
15 questions
Year 8 | Intro to Python | Quiz 1

Quiz
•
7th Grade
12 questions
9.1.6 - Starter Quiz

Quiz
•
8th - 9th Grade
12 questions
Python

Quiz
•
7th - 8th Grade
10 questions
Computer Hardware

Quiz
•
7th - 8th Grade
12 questions
Python - For Loop

Quiz
•
8th Grade
15 questions
python

Quiz
•
8th Grade
15 questions
Python Operator by Resha

Quiz
•
8th Grade
12 questions
Year 7 Python

Quiz
•
7th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
15 questions
Character Analysis

Quiz
•
4th Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
20 questions
Final Exam Vocabulary

Quiz
•
6th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
11 questions
Decimal/fraction conversions quick check

Quiz
•
5th - 7th Grade
10 questions
Identifying equations

Quiz
•
KG - University