Python list TIK

Quiz
•
Computers
•
8th Grade
•
Hard
Suela Malaj
Used 44+ times
FREE Resource
40 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which is not a definition about lists?
Lists are used to store multiple STRINGS in a single variable.
Lists are used to store multiple ITEMS in a single variable.
Lists are used to store multiple INTIGERS in a single variable.
Lists are used to store multiple ICONS in a single variable.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which is not a property of the lists?
Allow duplicates
Changeable
Ordered
Unchangeable
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which is the code to print the number of items in the list called "names" in Python:
names=["era", "beni", "hena","mikael", "ana" ]
print(list)
print(len(list))
cout>>list
cin<<list
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Use a range of indexes to print the third, fourth, and fifth item in the list.
fruits = ["apple", "banana", "cherry", "orange", "kiwi", "melon", "mango"]
print(fruits[2:5])
print(fruits[:5])
print(fruits[0:5])
print(fruits[5])
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Use negative indexing to print the last item in the list.
fruits = ["apple", "banana", "cherry"]
print(fruits[1])
print(fruits[0])
print(fruits[-1])
print(fruits[0:5])
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Use the remove method to remove "banana" from the fruits list.
fruits = ["apple", "banana", "cherry"]
fruits.remove
("banana")
fruits.remove
("apple")
fruits.remove
("kiwi")
fruits.remove
("mango")
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Change the value from "apple" to "kiwi", in the fruits list.
fruits = ["apple", "banana", "cherry"]
friuts[5]="kiwi"
friuts[2]="kiwi"
friuts[0]="kiwi"
friuts[1]="kiwi"
Create a free account and access millions of resources
Similar Resources on Wayground
45 questions
Level 1- 3 Test

Quiz
•
3rd Grade - University
40 questions
Latihan SAS Kelas 7 Informatika

Quiz
•
6th - 8th Grade
40 questions
HTML Final Quizz

Quiz
•
5th - 12th Grade
36 questions
8th Grade Spring 2025 Semester Exam Review

Quiz
•
6th - 8th Grade
35 questions
Binary, HTML, Networks

Quiz
•
8th Grade
45 questions
Y9 Data Lesson 2 (Lesson 1 Recap)

Quiz
•
8th Grade
44 questions
Searching & Sorting

Quiz
•
8th Grade
37 questions
ICF - MS Word Shortcut Keys

Quiz
•
8th Grade
Popular Resources on Wayground
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World

Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
20 questions
ELA Advisory Review

Quiz
•
7th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns

Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade