Python - Lists, Dictionaries and Loops
Flashcard
•
Computers
•
9th - 12th Grade
•
Hard
Wayground Content
FREE Resource
Student preview

40 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Does list[a:b] return the portion of list starting with index a and ending before index b?
Back
True
2.
FLASHCARD QUESTION
Front
What will be the value of last_jedi after the following code is run? Options: ["kylo", "rey", "finn", "luke"], ["kylo", "rey", "finn"], [3], [4]
Back
["kylo", "rey", "finn"]
3.
FLASHCARD QUESTION
Front
What will be the value of authors after the following code is run? Options: ["Martin", "Rowling", "Tolkien"], ["Martin"], ["Rowling"], ["Tolkien", "Rowling", "Martin"]
Back
["Martin", "Rowling", "Tolkien"]
4.
FLASHCARD QUESTION
Front
What will this code print? Options: 6, 1, pants, "pants": 6
Back
6
5.
FLASHCARD QUESTION
Front
What will be the value of colors after the following code is run?
Back
light blue, pink
6.
FLASHCARD QUESTION
Front
What is the correct syntax to write a for loop to iterate through the list grades?
Back
for variable in grades:
7.
FLASHCARD QUESTION
Front
What does the following code do? Options: It prints [0, 6]. It prints all numbers in range(0, 6) in a list. It prints all numbers in range(0, 6) separately. It prints True or False.
Back
It prints all numbers in range(0, 6) separately.
Create a free account and access millions of resources
Similar Resources on Wayground
42 questions
Final Exam 1st Period Fall 2024
Flashcard
•
9th - 12th Grade
38 questions
AP Computer Science Principles Practice Exam
Flashcard
•
9th - 12th Grade
33 questions
CS3 Week 1 Python Terms
Flashcard
•
9th - 12th Grade
32 questions
CS 1: Big Idea #3 Practice
Flashcard
•
9th Grade - University
30 questions
HTML UNIT REVIEW
Flashcard
•
9th - 12th Grade
28 questions
Quarter 4 Practice 1
Flashcard
•
9th - 12th Grade
42 questions
AP CSP Unit 4 Review
Flashcard
•
9th - 12th Grade
42 questions
coding advanced
Flashcard
•
9th - 12th 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