What symbol is used for commenting out code in Python?
Milestone Exkul SMP SMA - Q5_2022_Basic Python Syntax

Quiz
•
Computers
•
6th - 8th Grade
•
Medium
KKT Perbu
Used 4+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
#
%
&
*
2.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Which of the following is a valid variable name in Python?
my-variable
1variable
my_variable
my variable
3.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Which statement is used to display output in Python?
print()
input()
scan()
read()
4.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What is the result of the following Python code?
x = 3
y = 5
print(x+y)
8
15
"8"
"15"
5.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Which of the following is not a Python data type?
float
string
boolean
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What is the correct way to declare a Python list?
list = [1, 2, 3]
list = (1, 2, 3)
list = {1, 2, 3}
list = "1, 2, 3"
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What is the output of the following code?
x = "hello"
print(x[1])
"h"
"e"
"l"
"o"
Create a free account and access millions of resources
Similar Resources on Quizizz
15 questions
python

Quiz
•
8th Grade
10 questions
Python

Quiz
•
7th Grade
20 questions
Python Assessment

Quiz
•
7th Grade
12 questions
Year 7 Python

Quiz
•
7th Grade
20 questions
Python First Steps Homework Quiz

Quiz
•
7th - 9th Grade
16 questions
Python programming

Quiz
•
6th - 12th Grade
20 questions
Basics Python

Quiz
•
8th - 10th Grade
14 questions
Python Basics - Year 8

Quiz
•
7th - 9th 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
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
44 questions
El fin del año- 7th

Quiz
•
7th - 12th Grade
40 questions
Word Study Assessment: Roots, Prefixes, Suffixes, and Vocabulary

Quiz
•
8th Grade
49 questions
How Well Do You Know Your 6th Grade Teachers?

Quiz
•
6th Grade