Python Programming L1 Quiz

Python Programming L1 Quiz

12th Grade

14 Qs

quiz-placeholder

Similar activities

PR2: RRL, Conceptual Framework and Methodology

PR2: RRL, Conceptual Framework and Methodology

12th Grade

15 Qs

BLUETOOTH CONNECTION

BLUETOOTH CONNECTION

8th Grade - University

18 Qs

Resume Quiz

Resume Quiz

12th Grade

12 Qs

Super Star

Super Star

12th Grade

10 Qs

Kuiz Kawad Kaki Kadet Bomba

Kuiz Kawad Kaki Kadet Bomba

1st - 12th Grade

10 Qs

uh kd 3.6

uh kd 3.6

12th Grade

10 Qs

Pendalaman Unsur Intrinsik Cerpen

Pendalaman Unsur Intrinsik Cerpen

9th Grade - Professional Development

15 Qs

Quiz 11 (Media Content - Random)

Quiz 11 (Media Content - Random)

12th Grade

10 Qs

Python Programming L1 Quiz

Python Programming L1 Quiz

Assessment

Quiz

Other

12th Grade

Practice Problem

Medium

Created by

Dina Chanthan

Used 9+ times

FREE Resource

AI

Enhance your content in a minute

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

14 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct way to create a variable in Python?

var x = 5

x = 5

int x = 5

x := 5

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What data type is the result of 3 / 2 in Python?

int

float

str

bool

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you convert a string s = "123" to an integer?

int(s)

str(s)

float(s)

bool(s)

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of float(5)?

5

5.0

"5"

None

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you add an element 5 to a list lst in Python?

lst.append(5)

lst.add(5)

lst.insert(5)

lst.extend(5)

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of len([1, 2, 3])?

2

3

4

None

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a tuple in Python?

[1, 2, 3]

{1, 2, 3}

(1, 2, 3)

1, 2, 3

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?