Search Header Logo

PSP Week 5

Authored by 过蒋 过蒋

Computers

University

Used 20+ times

PSP Week 5
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

20 sec • 1 pt

Sequences can have duplicates, while sets cannot.

True
False

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

In Python, the frist element of a list is at position 1.

True
False

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

A sequence is a collection of elements with no ordering.

True
False

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

In Python, the last element of a list is at position len(nameList). (the nameList is a python list)

True
False

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

In Python, indexing of lists is one-based.

True
False

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

The length of an empty list in Python is 0.

True
False

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

The append method in Python adds an item to the beginning of the list.

True
False

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?