Test3

Test3

9th - 12th Grade

30 Qs

quiz-placeholder

Similar activities

SAS Dasar Program Keahlian RPL Kelas X

SAS Dasar Program Keahlian RPL Kelas X

10th Grade - University

25 Qs

Uji Pemahaman Algoritma dan Scratch

Uji Pemahaman Algoritma dan Scratch

9th Grade

25 Qs

BAB 4 BEKERJA DENGAN SUBPROGRAM KELAS 9

BAB 4 BEKERJA DENGAN SUBPROGRAM KELAS 9

9th Grade

25 Qs

(9) TF Informatika "Algoritma"

(9) TF Informatika "Algoritma"

10th Grade - University

25 Qs

Soal Labirin dan Berpikir Komputasional

Soal Labirin dan Berpikir Komputasional

7th Grade - University

25 Qs

SOAL INFORMATIKA KELAS XI

SOAL INFORMATIKA KELAS XI

11th Grade

30 Qs

SAS 1 Informatika 7

SAS 1 Informatika 7

7th Grade - University

25 Qs

Remidi PTS Gasal

Remidi PTS Gasal

12th Grade - University

25 Qs

Test3

Test3

Assessment

Quiz

Information Technology (IT)

9th - 12th Grade

Practice Problem

Medium

Created by

Rares Hampi

Used 8+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?