Search Header Logo

Python Programming Quiz Unit 2

Authored by Chayan Bhattacharjee

Information Technology (IT)

Professional Development

Used 1+ times

Python Programming Quiz Unit 2
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

70 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In Python, strings are:

Mutable

Immutable

Changeable

Partially mutable

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these creates a multi-line string in Python?

Triple quotes

Double quotes

Single quotes

Curly braces

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does len("Python") return?

5

6

7

Error

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In Python, lists are:

Immutable

Mutable

Static in size

Immutable but sortable

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which method is used to add a single element at the end of a list?

append()

extend()

insert()

add()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operator is used to repeat a string in Python?

+

*

%

**

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of "Hello" + "World"?

HelloWorld

Hello World

Hello+World

Error

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?