
Python Arrays 1D
Quiz
•
Computers
•
9th - 11th Grade
•
Practice Problem
•
Medium
Mr Abbas
Used 8+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these is a list?
fruit = ["apples", "oranges", "bananas"]
fruit = "apples", "oranges", "bananas"
fruit = {"apples", "oranges", "bananas"}
fruit = ("apples", "oranges", "bananas")
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Each item in a list has an "address" or index. The first index in a Python list is what?
1
0
a
A
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the position of the name 'Paula' in the following list:
names = ["Paul","Phillip","Paula","Phillipa"]
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What output will this code produce?
['France', 'Wales', 'England']
France
France Wales England
France
France, Wales, England
Wales
['France', 'Wales', 'England']
Wales
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In programming, lists are often known as...
Arrays
Elements
Indexes
Data
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
List items have an index number. In the following list, which item has the index number of 3?
["John", "Harry", "Jesse", "John", "Harry", "Harry"]
"John"
"Harry"
"Jesse"
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
How do i remove something from a list?
variable.append()
variable.delete()
variable.remove()
variable=(new variable)
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
14 questions
Bài 29. Nhận biết lỗi chương trình
Quiz
•
9th - 12th Grade
12 questions
Spreadsheet
Quiz
•
5th - 11th Grade
10 questions
Цикл з лічильником
Quiz
•
8th - 10th Grade
11 questions
Basic Python Bug Squashing
Quiz
•
9th Grade
10 questions
PTS Kelas 9
Quiz
•
9th Grade
10 questions
Materiales naturales y sintéticos en la informática.
Quiz
•
9th Grade
11 questions
GCSE Computer Science Paper 2: Topic 2.1
Quiz
•
10th Grade
13 questions
Python - I
Quiz
•
10th - 11th 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
