What is the output of the following code?
print(0.1 + 0.2 == 0.3)

Test3

Quiz
•
Information Technology (IT)
•
9th - 12th Grade
•
Hard
Rares Hampi
Used 2+ times
FREE Resource
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
True
False
0.3
Error
2.
MULTIPLE SELECT QUESTION
2 mins • 1 pt
Which of the following statements about None is true?
None is a built-in constant that represents the absence of a value.
None is the same as 0.
A function without a return statement returns None by default.
None can be used as a variable name without any side effects.
3.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What is the result of the following code?
print("5" + 5)
10
"55"
TypeError
NOne
4.
MULTIPLE SELECT QUESTION
2 mins • 1 pt
Which of the following are valid ways to define a multiline string?
'''This is a string'''
"""This is a string"""
"This is a string" (split over multiple lines without escape)
'This is a string
5.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What will the following code print?
a = [1, 2, 3]
print(a[1:1])
[2]
[]
[1,2]
[1]
6.
MULTIPLE SELECT QUESTION
2 mins • 1 pt
Which of the following are valid Python keywords?
elif
elseif
pass
yield
7.
MULTIPLE SELECT QUESTION
2 mins • 1 pt
Select all bitwise operators in Python:
&
|
^
&&
Create a free account and access millions of resources
Similar Resources on Quizizz
26 questions
Programming CFE Review #1

Quiz
•
10th Grade
31 questions
Python for Beginners Quiz (Grok Academy Modules 1-10)

Quiz
•
10th Grade
30 questions
Python MCQs: Data Structures

Quiz
•
12th Grade
30 questions
Python Multiple Choice Questions

Quiz
•
12th Grade
33 questions
RETURN 8-БӨЛІМ

Quiz
•
11th Grade
25 questions
Code HS Computer SCi 114.1.1 JavaScript Final Exam Pt. 1

Quiz
•
9th - 12th Grade
25 questions
2-semestr Yakuniy Nazorat

Quiz
•
10th Grade
30 questions
Проверка знаний по Python

Quiz
•
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 Information Technology (IT)
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

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

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University