PSP Week 5

PSP Week 5

University

10 Qs

quiz-placeholder

Similar activities

Python

Python

University

15 Qs

Python: Chapter 7 - True or False (Lists and Tuples)

Python: Chapter 7 - True or False (Lists and Tuples)

9th Grade - University

8 Qs

Python Basics

Python Basics

University

15 Qs

CSC305: TOPIC 7

CSC305: TOPIC 7

University

15 Qs

Python Quiz - 1

Python Quiz - 1

University

10 Qs

Python Sets

Python Sets

University

10 Qs

Python Variables

Python Variables

University

15 Qs

basic programming quiz

basic programming quiz

University

10 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?