
QUIZ-A-THON PYTHON LEVEL 1

Quiz
•
Others
•
1st Grade
•
Medium
Kaustubh Pandey
Used 2+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following code? print(type(10))
A)
B)
C)
D)
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct way to create a variable x with the value 5 in Python?
A) int x = 5
B) x = int(5)
C) x == 5
D) x = 5
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following code? x = [1, 2, 3] print(x[3])
A) 3
B) 1
C) IndexError
D) None
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following code? print(bool(0))
A) True
B) False
C) 0
D) None
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is used to create a comment in Python?
A) // This is a comment
B) # This is a comment
C) /* This is a comment */
D)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code? print("2" + "3")
A) 5
B) 23
C) 6
D) Error
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the len() function do in Python?
A) Returns the length of a variable name
B) Returns the length of an integer
C) Returns the length of an object
D) Returns the sum of all elements in a list
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
TIK S2 Class 1

Quiz
•
1st - 5th Grade
15 questions
Pokemon Knowledge

Quiz
•
1st Grade
21 questions
English

Quiz
•
1st - 5th Grade
15 questions
Ambatukamm

Quiz
•
1st - 5th Grade
15 questions
CIUDADANÍA TEMA 3- FAMILIA

Quiz
•
1st Grade
15 questions
123 Bilangan

Quiz
•
1st - 5th Grade
16 questions
where is tank come from?

Quiz
•
1st - 5th Grade
20 questions
Test CM2B

Quiz
•
1st - 5th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Others
18 questions
D189 1st Grade OG 1c Concept 37-38

Quiz
•
1st Grade
20 questions
addition

Quiz
•
1st - 3rd Grade
20 questions
Subject and predicate in sentences

Quiz
•
1st - 3rd Grade
20 questions
Addition and Subtraction facts

Quiz
•
1st - 3rd Grade
20 questions
Place Value

Quiz
•
KG - 3rd Grade
10 questions
Exploring Properties of Matter

Interactive video
•
1st - 5th Grade
5 questions
Life at a pond

Quiz
•
1st Grade
14 questions
Plural Nouns Adding s and es

Quiz
•
1st - 2nd Grade