Test3

Test3

9th - 12th Grade

30 Qs

quiz-placeholder

Similar activities

 Python Basic (Grade9)

Python Basic (Grade9)

9th Grade

34 Qs

Form 4 - CSEC Information Technology Quiz

Form 4 - CSEC Information Technology Quiz

10th Grade - University

30 Qs

REMEDIAL ASESMEN SUMATIF AKHIR SEM-GANJIL MULOK 2024

REMEDIAL ASESMEN SUMATIF AKHIR SEM-GANJIL MULOK 2024

12th Grade

30 Qs

Kiểm Tra Giữa Kỳ Lập Trình Python

Kiểm Tra Giữa Kỳ Lập Trình Python

9th Grade

30 Qs

Computer Science Examination Paper A - Allowed Items

Computer Science Examination Paper A - Allowed Items

12th Grade

33 Qs

2-semestr  Yakuniy Nazorat

2-semestr Yakuniy Nazorat

10th Grade

25 Qs

UJIAN MID SMT GENAP INFORMATIKA KLS X TP. 2024/2025

UJIAN MID SMT GENAP INFORMATIKA KLS X TP. 2024/2025

10th Grade

30 Qs

Python - Chapter 3 Practice Quiz

Python - Chapter 3 Practice Quiz

12th Grade

25 Qs

Test3

Test3

Assessment

Quiz

Information Technology (IT)

9th - 12th Grade

Medium

Created by

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?