Q4_Quiz2_CompSciLoyalty

Q4_Quiz2_CompSciLoyalty

7th Grade

21 Qs

quiz-placeholder

Similar activities

Object and Coding Concepts Quiz

Object and Coding Concepts Quiz

7th Grade - University

21 Qs

Year 10 Online Quiz

Year 10 Online Quiz

7th Grade

20 Qs

Python Lists Quiz

Python Lists Quiz

7th Grade

20 Qs

Season 1 #Spaic Python Weekly Quiz

Season 1 #Spaic Python Weekly Quiz

KG - Professional Development

20 Qs

Өткен сабақты қайталау

Өткен сабақты қайталау

7th Grade

20 Qs

/Python_Quiz\

/Python_Quiz\

KG - Professional Development

20 Qs

Class 8A Unit 9.1 Python Basic

Class 8A Unit 9.1 Python Basic

6th - 8th Grade

20 Qs

Python Intermediate Quiz (Including pygame)

Python Intermediate Quiz (Including pygame)

3rd - 12th Grade

20 Qs

Q4_Quiz2_CompSciLoyalty

Q4_Quiz2_CompSciLoyalty

Assessment

Quiz

Computers

7th Grade

Medium

Created by

michael manalo

Used 4+ times

FREE Resource

21 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

It is a collection which is ordered and unchangeable, and written with round brackets.

List

Tuple

Set

Dictionary

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Tuple items are ordered, unchangeable, and allow duplicate values.

True

False

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Since tuples are indexed, they cannot have items with the same value.

True

False

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Tuples are unchangeable, meaning that we cannot change, but we can add or remove items after the tuple has been created.

True

False

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

To determine how many items a tuple has, use the _____ function.

type()

tuple()

append()

len()

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

You can access tuple items by referring to the _____, inside square brackets.

index number

key

value

data type

7.

MULTIPLE CHOICE QUESTION

20 sec • 2 pts

To print the fourth item in the tuple below, what should be the code?

car = ("Mazda", "Ford", "Nissan", "Cadillac", "BMW", "Ferrari")

print(car[4])

print(car[3])

print(thistuple[3])

print([car:4])

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?