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
40 questions
PH-2 INTERNET, JARINGAN DAN KOMUNIKASI DATA

Quiz
•
8th Grade
40 questions
TSDE Semester Final Review

Quiz
•
8th Grade
45 questions
Word Processing

Quiz
•
7th - 9th Grade
45 questions
Prueba Ingresos HFA

Quiz
•
1st - 12th Grade
35 questions
Spreadsheets

Quiz
•
7th - 8th Grade
35 questions
Knowledge Pillars Review #1

Quiz
•
8th Grade
40 questions
9.3 Python Recall Quiz

Quiz
•
8th Grade
35 questions
CS Basics

Quiz
•
4th Grade - University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
15 questions
Acceptable Use Policy (Quiz)

Quiz
•
6th - 8th Grade
25 questions
Career Vs. Job

Quiz
•
6th - 8th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
30 questions
Introduction to Computers

Quiz
•
8th - 9th Grade
20 questions
Copyright and Fair Use

Quiz
•
6th - 8th Grade
15 questions
Computer Components Video

Interactive video
•
8th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade