Python PCEP  Day 3Flashcard

Python PCEP Day 3Flashcard

Assessment

Flashcard

Computers

6th - 8th Grade

Hard

Created by

Quizizz Content

FREE Resource

Student preview

quiz-placeholder

24 questions

Show all answers

1.

FLASHCARD QUESTION

Front

What symbols do we use to represent a list in Python? ( ) [ ] { } < >

Back

[ ]

2.

FLASHCARD QUESTION

Front

What symbols do we use to represent a tuple in Python?

Back

( )

3.

FLASHCARD QUESTION

Front

What is a mutable data type?

Back

A data type that can have its values changed, added or removed.

4.

FLASHCARD QUESTION

Front

To remove an item from a list, what command can we use? Options: append(), insert(), split(), remove()

Back

remove()

5.

FLASHCARD QUESTION

Front

To add an item to the end of a list, what command can we use?

Back

append()

6.

FLASHCARD QUESTION

Front

Which of the following is an example of a list? Options: ["apple", "pear", "banana", "strawberry"], ("apple", "pear", "banana", "strawberry"), {"apple", "pear", "banana", "strawberry"}, <"apple", "pear", "banana", "strawberry">

Back

["apple", "pear", "banana", "strawberry"]

7.

FLASHCARD QUESTION

Front

When might we use tuples instead of lists?

Back

When the data within it would never change.

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?