Q4_Quiz2_CompSciLoyalty
Quiz
•
Computers
•
7th Grade
•
Medium
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

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple

Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
18 questions
Программирование на Python(модуль turtle)
Quiz
•
6th - 8th Grade
20 questions
Year 8 IT - Network Communication
Quiz
•
7th - 9th Grade
16 questions
Python Basics
Quiz
•
KG - University
16 questions
Klavye ve Tuşlar
Quiz
•
5th - 7th Grade
20 questions
Python Recap
Quiz
•
7th Grade - University
20 questions
Python 1
Quiz
•
7th - 9th Grade
18 questions
Networks
Quiz
•
4th - 12th Grade
20 questions
Computer Programming Language
Quiz
•
6th - 7th Grade
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
11 questions
NEASC Extended Advisory
Lesson
•
9th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade