Review Lists in Python (before Lab 8)

Flashcard
•
Computers
•
9th - 12th Grade
•
Hard
Wayground Content
FREE Resource
Student preview

5 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Which of these is the correct code for creating a list of names? Options: 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]
Back
nameList = ["John", "Harry", "Jesse", "John", "Harry", "Harry"]
2.
FLASHCARD QUESTION
Front
Which of these pieces of code would return the name "John" from the following list? nameList = ["John", "Harry", "Jesse", "Pasquale", "Nick", "Joe"] Options: nameList[1], nameList[0], nameList["1"], nameList["0"]
Back
nameList[0]
3.
FLASHCARD QUESTION
Front
What is the position of the name "Robert" in the following list: 0, 1, 2, 3
Back
2
4.
FLASHCARD QUESTION
Front
To print a list called fruitList we use
Back
print(fruitList)
5.
FLASHCARD QUESTION
Front
What is the output of this code fragment?
Back
Calculates the average of the numbers in the list
Similar Resources on Wayground
10 questions
comparative adjectives and adverbs

Flashcard
•
12th Grade
10 questions
AP Euro - Reformation and Religious Wars

Flashcard
•
10th Grade
15 questions
breaking bad

Flashcard
•
KG
8 questions
Harry Potter and the Sorcerer's Stone, Ch. 5-7

Flashcard
•
9th - 12th Grade
10 questions
Christmas trivia

Flashcard
•
9th - 12th Grade
10 questions
Magical Grammar Quest: Spell Check!

Flashcard
•
10th Grade
11 questions
Meme flashcardz

Flashcard
•
KG - Professional Dev...
11 questions
World War 2: Pacific Front Review

Flashcard
•
11th Grade
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
10 questions
1.2 OSI & TCP IP Models Quiz

Quiz
•
10th Grade
20 questions
Digital Citizenship

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

Quiz
•
8th - 9th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade