Python VLQG 4

Python VLQG 4

9th - 12th Grade

20 Qs

quiz-placeholder

Similar activities

Informatika

Informatika

10th Grade

20 Qs

Traffic Light Project Quiz

Traffic Light Project Quiz

9th Grade

17 Qs

Quiz Inf X.B

Quiz Inf X.B

10th Grade - University

20 Qs

CSS - Computer Systems Services

CSS - Computer Systems Services

12th Grade

20 Qs

Yr7- Understanding computers Lessons 1-3

Yr7- Understanding computers Lessons 1-3

7th - 11th Grade

20 Qs

Hardware and Components

Hardware and Components

5th - 11th Grade

19 Qs

Arduino

Arduino

7th - 9th Grade

15 Qs

Bài 11. Tệp và quản lý tệp

Bài 11. Tệp và quản lý tệp

10th Grade

20 Qs

Python VLQG 4

Python VLQG 4

Assessment

Quiz

Computers

9th - 12th Grade

Practice Problem

Hard

Created by

Quốc Thư

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...

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output? print("2" * 3 + "5")

6 + 5

"555"

"2225"

Error

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will this code print? print(list(range(2,10,2)))

[2,4,6,8]

[2,3,4,5,6,7,8,9]

[2,10]

[2,4,6,8,10]

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which expression is True?

[1,2] == [1,2]

[1,2] is [1,2]

Both a and b

None

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result?

nums = [1,2,3]

print(nums[-1])

1

2

3

Error

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is printed? print(bool(0) or "Python")

True

False

0

"Python"

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which line creates a set with values 1,2,3?

{1,2,3}

set([1,2,3])

{1,2,2,3}

All of them

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output? print("PYTHON".lower().replace("o","0"))

python

pyth0n

PYTH0N

Error

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

Already have an account?