Search Header Logo

Python List

Authored by reda mohamed

Computers

4th Grade - University

Used 106+ times

Python List
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Lists are used to store single item in a single variable.

True

False

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

List items are ordered, changeable, and allow duplicate values.

True

False

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

List items are indexed, the first item has index [1], the second item has index [2] etc.

True

False

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When we say that lists are ordered, it means that the items have a defined order, and that order will not change.

True

False

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

List items can be of any data type:

True

False

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If you add new items to a list, the new items will be placed at the end of the list.

True

False

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these is the correct code for creating a list of names?

nameList = John, Harry, Jesse, John, Harry, Harry

nameList = ("John", "Harry", "Jesse", "John", "Harry", "Harry")

nameList = ["John", "Harry", "Jesse", "John", "Harry", "Harry"]

nameList = [John, Harry, Jesse, John, Harry, Harry]

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?