
list 6th

Quiz
•
Computers
•
7th Grade
•
Medium
Ержан Ауезов
Used 1+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
numbers=[1,2,3,4,5]
print(numbers[-2])
2
4
3
5
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
10
5 5 5 5 5 5 5 5 5 5
10 10 10 10 10
5
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
numbers=[1,2,3,4,5]
numbers[2]=99
print(numbers)
[1, 99, 3, 4, 5]
[1, 2, 3, 99, 5]
[99, 2, 3, 4, 5]
[1, 2, 99, 4, 5]
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
thislist = ["apple", "banana", "cherry"]
thislist.append("orange")
print(thislist)
['apple', 'banana', 'cherry', 'orange']
['apple', 'banana', 'cherry', ]
[ 'orange', 'apple', 'banana', 'cherry']
[ 'apple', 'banana', 'orange']
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these is the correct code for creating a list of names?
nameList = John, Harry, Jesse, John, Harry, Harry
nameList = ("John", "Harry", "Jesse", "John", "Harry", "Harry")
nameList = ["John", "Harry", "Jesse", "John", "Harry", "Harry"]
nameList = [John, Harry, Jesse, John, Harry, Harry]
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these pieces of code would return the name "Harry" from the following list?
nameList = ["John", "Harry", "Jesse", "John", "Harry", "Harry"]
nameList()
nameList[1]
NameList(4)
nameList["4"]
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The list needs one more name added to the end - "Felipe". Which piece of code below would do this?
nameList = ["John", "Harry", "Jesse", "John", "Harry", "Harry"]
nameList.append(Felipe)
append(nameList,"Felipe")
nameList.append["Felipe",7]
nameList.append("Felipe")
Create a free account and access millions of resources
Similar Resources on Wayground
25 questions
Python Conditional Statements

Quiz
•
9th - 12th Grade
16 questions
Quiz on List and Tuples

Quiz
•
University
16 questions
Subroutines

Quiz
•
9th - 11th Grade
20 questions
Python Lists

Quiz
•
University
20 questions
Python Lists Quiz

Quiz
•
7th Grade
20 questions
GCSE J277 - 2.2.3 - Arrays

Quiz
•
7th Grade
20 questions
Lists in Python

Quiz
•
11th - 12th Grade
20 questions
8525 AQA GCSE 3.2.6 Data Structures

Quiz
•
10th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade