Python Cert - Day 5 (AM)

Python Cert - Day 5 (AM)

12th Grade

37 Qs

quiz-placeholder

Similar activities

AP CSP Unit 1

AP CSP Unit 1

9th - 12th Grade

40 Qs

BASIS DATA KELAS XII KUIZZ

BASIS DATA KELAS XII KUIZZ

12th Grade

41 Qs

PARTS OF COMPUTER TEST

PARTS OF COMPUTER TEST

12th Grade

36 Qs

Pemodelan Perangkat Lunak

Pemodelan Perangkat Lunak

11th - 12th Grade

40 Qs

AutoCAD Final Exam

AutoCAD Final Exam

9th - 12th Grade

40 Qs

Sistema Operativo

Sistema Operativo

8th Grade - University

40 Qs

BAB 2 : UKURAN DATA

BAB 2 : UKURAN DATA

7th - 12th Grade

34 Qs

1 teori kejuruan TKJ

1 teori kejuruan TKJ

10th - 12th Grade

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?