PSP Week 5

PSP Week 5

University

10 Qs

quiz-placeholder

Similar activities

Data visualization

Data visualization

10th Grade - University

12 Qs

Fundamental of Python

Fundamental of Python

University

10 Qs

Introduction to Python

Introduction to Python

University

15 Qs

Python - from 0 to HERO

Python - from 0 to HERO

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

Techno India University Python Quiz Contest

Techno India University Python Quiz Contest

University

10 Qs

Python Language Programming

Python Language Programming

University

15 Qs

Python Data Types Quiz

Python Data Types Quiz

10th Grade - University

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