List 1

List 1

12th Grade

9 Qs

quiz-placeholder

Similar activities

Week 3 - User Input

Week 3 - User Input

5th - 12th Grade

7 Qs

List 4

List 4

12th Grade

10 Qs

Culinary Terms and Concepts

Culinary Terms and Concepts

9th - 12th Grade

10 Qs

Python- Text file handling Quiz 2

Python- Text file handling Quiz 2

12th Grade

10 Qs

list 7

list 7

12th Grade

10 Qs

snakes

snakes

3rd Grade - University

10 Qs

Python Strings and Variables

Python Strings and Variables

5th Grade - University

8 Qs

Unit 1.2 (How to research)

Unit 1.2 (How to research)

12th Grade

12 Qs

List 1

List 1

Assessment

Quiz

Other

12th Grade

Medium

Created by

Amy Austin

Used 1+ times

FREE Resource

AI

Enhance your content

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

9 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What data type is used in Python to store multiple items in a single variable?

Array

List

Dictionary

Tuple

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which Python collection is ordered and changeable?

Tuple

List

Dictionary

Set

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can you add new items to a Python list?

Using the add() method

Using the append() method

Using the insert() method

Items cannot be added once a list is created

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which method is used to determine how many items a list has in Python?

count()

length()

len()

size()

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct way to create a list in Python?

list('apple', 'banana', 'cherry')

list['apple', 'banana', 'cherry']

['apple', 'banana', 'cherry']

list=('apple', 'banana', 'cherry')

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which collection type allows duplicate members in Python?

Set

List

Dictionary

All of the above

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a Python collection data type?

Array

List

Set

Dictionary

8.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you copy a list in Python?

Lists cannot be copied

Using the clone() method

Using the duplicate() method

Using the copy() method

9.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which Python version started treating dictionaries as ordered?

Python 3.5

Python 3.6

Python 3.7

Python 2.7