Python list TIK
Quiz
•
Computers
•
8th Grade
•
Practice Problem
•
Hard
Suela Malaj
Used 45+ times
FREE Resource
Enhance your content in a minute
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"
Access all questions and much more by creating a free account
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
Already have an account?
Similar Resources on Wayground
36 questions
4 Six Weeks
Quiz
•
8th Grade
40 questions
Final Test
Quiz
•
8th Grade
40 questions
Programming Review Quiz
Quiz
•
8th Grade
40 questions
Spreadsheet Formulas,Charts,Formatting
Quiz
•
7th - 8th Grade
40 questions
Информатика -140: 2024 1-нұсқа талдау ақылы
Quiz
•
8th Grade
35 questions
Microsoft Office
Quiz
•
8th Grade
40 questions
Компьютерный мир
Quiz
•
1st - 11th Grade
40 questions
PENGAYAAN TKJ 1
Quiz
•
1st - 10th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
