Day 2

Day 2

9th - 12th Grade

16 Qs

quiz-placeholder

Similar activities

Python Arrays

Python Arrays

9th - 12th Grade

13 Qs

List Manipulations

List Manipulations

11th Grade

20 Qs

Python Review

Python Review

9th - 12th Grade

16 Qs

Python Recap

Python Recap

9th - 11th Grade

19 Qs

Python list, if

Python list, if

6th - 12th Grade

20 Qs

Python:  Groups - Lists

Python: Groups - Lists

10th - 12th Grade

16 Qs

Python Lists v2

Python Lists v2

9th - 12th Grade

15 Qs

Python Lists

Python Lists

11th Grade

20 Qs

Day 2

Day 2

Assessment

Quiz

Computers

9th - 12th Grade

Medium

Created by

Nikki Serieux

Used 3+ times

FREE Resource

16 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Media Image

Select the data structures available in Python ...

List

Dictionary

String

Array

Tuple

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a data structure in Python?

A way of organizing and storing data in a specific format

A method for printing data in Python

A type of animal in Python

A way of encrypting data in Python

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these is the best description of a list in Python?

A list is a collection of data that has an order and can be changed

A list is a lot of variables

A list is used for shopping

A list is a collection of data that cannot hold duplicated data and cannot be changed

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these is the correct code for creating a list of names?

nameList = John, Harry, Jesse, John, Harry, Harry

nameList = ("John", "Harry", "Jesse", "John", "Harry", "Harry")

nameList = ["John", "Harry", "Jesse", "John", "Harry", "Harry"]

nameList = [John, Harry, Jesse, John, Harry, Harry]

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these pieces of code would return the name "Harry" from the following list?

nameList = ["John", "Harry", "Jesse", "John", "Harry", "Harry"]

nameList()

nameList[1]

NameList(4)

nameList["4"]

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What would this out put? print(users1)

error

sam, smith, 23

ben, smith, 78

ben

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What data type is this?
quiz = {"Do you help out at home? ":"yes",        
"Do you beleive in Santa? ":"yes"
}
list
string
dictionart
dictionary

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?