Y9 List Introduction

Quiz
•
Computers
•
9th Grade
•
Medium
Dave Gwilt
Used 16+ times
FREE Resource
18 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Create an empty list called names
names = [ ]
names = { }
[ ] = names
names = "Empty"
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Display 42 from the list nums = [21, 42, 84]
print(nums[1])
print(nums[2])
print(nums(1))
print(nums(2))
3.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Display 5 from the list odds = [ 1, 3, 5 ]. Do not put any spaces in your answer.
4.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Complete the line of code to create an empty list called hobbies:
hobbies =
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Assign x to be the number of items in the list 'animals':
x = len(animals)
x = len[animals]
x = animals.count()
x = count(animals)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the index of the first item in a list?
0
1
It depends
-1
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the index of the last item in a list?
0
1
It depends
-1
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Python - тест

Quiz
•
1st - 12th Grade
16 questions
Python Review

Quiz
•
9th - 12th Grade
18 questions
CS1 Unit 8 Review

Quiz
•
9th - 12th Grade
15 questions
Hangman Game - Programming Questions

Quiz
•
7th - 11th Grade
15 questions
PYTHON LIST

Quiz
•
9th Grade
14 questions
Lists, Subroutines and Sequence in Pseudocode - Python

Quiz
•
1st - 11th Grade
13 questions
String Manipulation

Quiz
•
9th - 11th Grade
16 questions
Python массив

Quiz
•
9th 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