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
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
40 questions
ASAS SAINS KOMPUTER T2 [ULANGKAJI]
Quiz
•
1st Grade - University
35 questions
Scratch coding
Quiz
•
7th - 9th Grade
44 questions
MICROSOFT OFFICE ICON
Quiz
•
KG - 12th Grade
45 questions
UTS INFORMATIKA KELAS 8
Quiz
•
8th Grade
40 questions
SOAL UJIAN TIK
Quiz
•
8th Grade
40 questions
AI: Purpose
Quiz
•
8th Grade
39 questions
Ulangkaji ASK T2 Bab 3.2 Struktur Kod Arahan
Quiz
•
1st - 12th Grade
38 questions
Second Semester – Grade 8 Revision Sheet
Quiz
•
8th Grade
Popular Resources on Wayground
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
4 questions
Activity set 10/24
Lesson
•
6th - 8th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
How to Email your Teacher
Quiz
•
Professional Development
15 questions
Order of Operations
Quiz
•
5th Grade
30 questions
October: Math Fluency: Multiply and Divide
Quiz
•
7th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
14 questions
Email your Teacher
Quiz
•
6th - 8th Grade
40 questions
Programming with Karel
Quiz
•
6th - 8th Grade
20 questions
Binary Numbers Quiz
Quiz
•
6th - 8th Grade
10 questions
Exploring Computer Hardware and Software Components
Interactive video
•
6th - 10th Grade
