Python Cert - Day 5 (AM)

Python Cert - Day 5 (AM)

12th Grade

37 Qs

quiz-placeholder

Similar activities

[SMP-VII] Soal ASAS 2024 Ganjil

[SMP-VII] Soal ASAS 2024 Ganjil

7th Grade - University

40 Qs

Final Revision G12_2T

Final Revision G12_2T

12th Grade

37 Qs

PRE TEST_OS_MIDTERMS

PRE TEST_OS_MIDTERMS

12th Grade

40 Qs

Latihan SAS Gasal Informatika TA 23/24

Latihan SAS Gasal Informatika TA 23/24

9th - 12th Grade

35 Qs

Evaluasi Topik 4 Pra-UAS Siskomnir BWC-PL

Evaluasi Topik 4 Pra-UAS Siskomnir BWC-PL

12th Grade

40 Qs

Exercise.2 - 12E - Produktif UNBK

Exercise.2 - 12E - Produktif UNBK

12th Grade

40 Qs

java

java

10th - 12th Grade

40 Qs

FA4 CANVA TEST

FA4 CANVA TEST

7th Grade - University

40 Qs

Python Cert - Day 5 (AM)

Python Cert - Day 5 (AM)

Assessment

Quiz

Computers

12th Grade

Practice Problem

Hard

Created by

Bobby Liu

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

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

37 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 6 pts

Media Image

The following snippet:

is erroneous

will output 4

will output None

will output 2

2.

MULTIPLE CHOICE QUESTION

1 min • 6 pts

Media Image

What is the output of the following snippet?

2

the snippet is erroneous and will cause SyntaxError

4

6

3.

MULTIPLE CHOICE QUESTION

1 min • 6 pts

Media Image

What is the output of the following piece of code if the user enters two lines containing 3 and 2 respectively?

2

1

0

3

Answer explanation

4.

MULTIPLE CHOICE QUESTION

1 min • 6 pts

Media Image

What will be the output of the following snippet?

1 0

0 1

1 1

0 0

5.

MULTIPLE CHOICE QUESTION

20 sec • 2 pts

An operator able to check whether two values are NOT EQUAL is coded as:

!=

not ==

<>

=/=

6.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

How many elements does the lst list contain?

lst = [i for i in range(-1, -2)]

one

zero

two

three

7.

MULTIPLE CHOICE QUESTION

1 min • 6 pts

Media Image

What is the output of the following snippet?

[2, 1, 1, 2]

[1, 1, 1, 2]

[1, 2, 1, 2]

[1, 2, 2, 2]

Access all questions and much more by creating a free account

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?