
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
20 questions
C Programming Quiz

Quiz
•
1st Grade
15 questions
CIUDADANÍA TEMA 2 TEORIA DE DERECHO

Quiz
•
1st Grade
15 questions
CIUDADANÍA TEMA 4- EL MATRIMONIO

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

Quiz
•
1st Grade
20 questions
Menganalisis Media Berbasis Teknologi Informasi Komputer (TIK)

Quiz
•
1st - 5th Grade
20 questions
informatika: analisis data

Quiz
•
1st Grade
20 questions
SASTRA INDONESIA XI

Quiz
•
1st Grade
20 questions
123 Geometri

Quiz
•
1st - 5th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade