
Python Arrays 1D

Quiz
•
Computers
•
9th - 11th Grade
•
Hard

Mr Abbas
Used 7+ times
FREE Resource
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
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)
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
grade XI Recapitulation

Quiz
•
11th - 12th Grade
12 questions
BJC Unit 2 Concepts Review

Quiz
•
10th Grade - University
9 questions
Python Lists

Quiz
•
7th - 11th Grade
15 questions
Python End of Topic Quiz

Quiz
•
8th Grade - University
14 questions
List Review Quiz

Quiz
•
9th - 12th Grade
10 questions
Arrays in Python

Quiz
•
8th - 10th Grade
15 questions
Computer Science - Python

Quiz
•
9th - 12th Grade
15 questions
Python Programming

Quiz
•
5th Grade - University
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
Discover more resources for Computers
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
40 questions
LSHS Student Handbook Review: Pages 7-9

Quiz
•
11th Grade
24 questions
Scientific method and variables review

Quiz
•
9th Grade
10 questions
Characteristics of Life

Quiz
•
9th - 10th Grade
19 questions
Mental Health Vocabulary Pre-test

Quiz
•
9th Grade