What are the data items in the list called?

ITC106 Quiz 7 - Lists and Tuples

Quiz
•
Computers
•
University
•
Hard

Sudath Heiyanthuduwage
Used 19+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
data
elements
items
values
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which list will be referenced by the variable number after the execution of the following code?
number = range(0, 9, 2)
[0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
[1, 3, 5, 7, 9]
[2, 4, 6, 8]
[0, 2, 4, 6, 8]
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What would you use if an element is to be removed from a specific index?
del statement
remove method
index method
slice method
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the first negative index in a list?
0
-1
-0
Size of the string or list minus one
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What method can be used to place an item in the list at a specific index?
append
index
insert
Add
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What would be the value of the variable list after the execution of the following code?
list = [1, 2]
list = list * 3
[1, 2] * 3
[3, 6]
[1, 2, 1, 2, 1, 2]
[[1, 2], [1, 2], [1, 2]]
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What would be the value of the variable list after the execution of the following code?
list = [1, 2, 3, 4]
list[3] = 10
[1, 2, 3, 10]
[1, 2, 10, 4]
[1, 10, 10, 10]
invalid code
Create a free account and access millions of resources
Similar Resources on Quizizz
10 questions
Assembly Language

Quiz
•
University
8 questions
Python String Slicing

Quiz
•
University
12 questions
Python list starter

Quiz
•
10th Grade - University
10 questions
Python debugging

Quiz
•
University
10 questions
Computer Programming

Quiz
•
University
15 questions
Information Security Lab Quiz # 2

Quiz
•
University
10 questions
Session 2 | U

Quiz
•
University
10 questions
PDS - 04225 Intro to Data Structures and Algorithms - Chapter 2

Quiz
•
University
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade