
Test3

Quiz
•
Information Technology (IT)
•
9th - 12th Grade
•
Medium
Rares Hampi
Used 8+ times
FREE Resource
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What is the output of the following code?
print(0.1 + 0.2 == 0.3)
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 Wayground
25 questions
Code HS Computer SCi 114.1.1 JavaScript Final Exam Pt. 1

Quiz
•
9th - 12th Grade
28 questions
циклы и массивы

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

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

Quiz
•
10th Grade
29 questions
Trắc Nghiệm Câu Lệnh if & for

Quiz
•
10th Grade
25 questions
Python - Chapter 4 Practice Quiz

Quiz
•
12th Grade
35 questions
SAS GENAP KELAS XI TP 2024/2025

Quiz
•
11th Grade
25 questions
SUMMATIVE TEST IN MEDIA AND INFORMATION LITERACY

Quiz
•
12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Information Technology (IT)
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
24 questions
Scientific method and variables review

Quiz
•
9th Grade
20 questions
Biomolecules

Quiz
•
9th Grade
6 questions
Rule of Law

Quiz
•
6th - 12th Grade