PSP Week 5

PSP Week 5

University

10 Qs

quiz-placeholder

Similar activities

Python Generators

Python Generators

10th Grade - University

10 Qs

PSP Week 4

PSP Week 4

University

15 Qs

Splitting, Concatenating, and Joining Strings in Python

Splitting, Concatenating, and Joining Strings in Python

University

6 Qs

Python Lists Quiz

Python Lists Quiz

University

10 Qs

Activity 2

Activity 2

University

10 Qs

Python Programming Intermediate-1

Python Programming Intermediate-1

University

15 Qs

Java Collections

Java Collections

University

10 Qs

CSE 102 Exam 2 Practice

CSE 102 Exam 2 Practice

University

15 Qs

PSP Week 5

PSP Week 5

Assessment

Quiz

Computers

University

Medium

Created by

过蒋 过蒋

Used 15+ times

FREE Resource

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. (the nameList is a python list)

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?