Search Header Logo

PYTHON_CHAPTER 8

Authored by Marliana (AS)

Computers

University

Used 1+ times

PYTHON_CHAPTER 8
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A _____ is an object that contains multiple data items.

dictionary

list

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Lists are mutable, which means that their contents _____.

CAN be changed during a program’s execution

CANNOT be changed during a program’s execution

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Each element or value that is inside of a list is called an _____.

index

item

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

List literals are written within _____.

square brackets [ ]

curly brackets { }

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Uses square brackets [ ] to access data, with the first element at _____.

index 0

index 1

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Create an empty list named CC3.

CC3=[ ]

CC3={ }

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Choose the suitable method for the following statement:

CC3._____(3,"MUHAMMAD AMAR AQASHA").

insert

append

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?