
Understanding Lists and Mutability in Coding

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

11 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Which is the correct way to access the first element of a list 'myList'? Options: myList[1], myList[0], myList.first(), myList[None]
Back
myList[0]
2.
FLASHCARD QUESTION
Front
What is the output of the following code? Options: hello, world, ['hello','world'], [1]
Back
world
3.
FLASHCARD QUESTION
Front
Which is the correct way to access the second element of a list 'myList'? Options: myList[1], myList[0], myList.first(), myList[None]
Back
myList[1]
4.
FLASHCARD QUESTION
Front
What is the output of the following code?
Back
2
5.
FLASHCARD QUESTION
Front
What is the output of the following code?
Back
5
6.
FLASHCARD QUESTION
Front
What will be the output of the following code?
Options:
[1, 10, 3, 4, 5],
[1, 2, 3, 4, 5],
[10, 2, 3, 4, 5],
[1, 2, 10, 4, 5]
Back
[1, 10, 3, 4, 5]
7.
FLASHCARD QUESTION
Front
What does the term 'mutable' mean?
Back
It can be changed
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
CS Python Fundamentals Flashcard 4 Practice

Flashcard
•
9th - 12th Grade
10 questions
AP CSP Semester Exam Review

Flashcard
•
9th - 12th Grade
10 questions
AP CSP Semester Exam

Flashcard
•
9th - 12th Grade
7 questions
IST Practice JS

Flashcard
•
9th - 12th Grade
10 questions
Python Lists

Flashcard
•
9th - 12th Grade
9 questions
Python Review 5/23

Flashcard
•
9th - 12th Grade
6 questions
Code.org CSP Unit 4 Review

Flashcard
•
9th - 12th Grade
6 questions
More Python Conditionals

Flashcard
•
9th - 12th Grade
Popular Resources on Wayground
12 questions
Unit Zero lesson 2 cafeteria

Lesson
•
9th - 12th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
20 questions
Lab Safety and Equipment

Quiz
•
8th Grade
13 questions
25-26 Behavior Expectations Matrix

Quiz
•
9th - 12th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
20 questions
Introduction to Desktop Computer Systems

Quiz
•
9th - 12th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
10 questions
Computer Hardware and Input/Output Devices

Interactive video
•
6th - 10th Grade