Python Data Structures

Flashcard
•
Computers
•
9th - 12th Grade
•
Hard

Veronica Yeboah
Used 2+ times
FREE Resource
Student preview

10 questions
Show all answers
1.
FLASHCARD QUESTION
Front
What is a list in Python?
Back
A list is a mutable, ordered collection of items.
2.
FLASHCARD QUESTION
Front
What is a tuple in Python?
Back
A tuple is an immutable, ordered collection of items.
3.
FLASHCARD QUESTION
Front
What is a dictionary in Python?
Back
A dictionary is a mutable, unordered collection of key-value pairs.
4.
FLASHCARD QUESTION
Front
What does the .split() method do in Python?
Back
The .split() method splits a string into a list based on a specified delimiter.
5.
FLASHCARD QUESTION
Front
What does the .pop() method do in Python?
Back
The .pop() method removes and returns the last item from a list.
6.
FLASHCARD QUESTION
Front
What does the .append() method do in Python?
Back
The .append() method adds an item to the end of a list.
7.
FLASHCARD QUESTION
Front
What is the purpose of 'elif' in Python?
Back
The 'elif' statement is used to check multiple expressions for True and execute a block of code as soon as one of the conditions is True.
Create a free account and access millions of resources
Similar Resources on Wayground
9 questions
Unit 5 -- Lists, Loops, Traversals

Flashcard
•
9th - 12th Grade
7 questions
Review Dictionary Flashcard

Flashcard
•
12th Grade
10 questions
Code.org CSP Unit 5 Lists

Flashcard
•
9th - 12th Grade
12 questions
APCSP Final Exam Coding Practice

Flashcard
•
9th - 12th Grade
14 questions
jueves_3_abril

Flashcard
•
9th - 12th Grade
10 questions
TIN 10 CHỦ ĐỀ F CẤU TRÚC LẶP

Flashcard
•
11th Grade
8 questions
Boolean

Flashcard
•
9th - 12th Grade
1 questions
NYT Vocabulary: Pythons

Flashcard
•
9th - 12th Grade
Popular Resources on Wayground
55 questions
CHS Student Handbook 25-26

Quiz
•
9th Grade
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
10 questions
Chaffey

Quiz
•
9th - 12th Grade
15 questions
PRIDE

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

Quiz
•
9th - 12th Grade
22 questions
6-8 Digital Citizenship Review

Quiz
•
6th - 8th Grade
10 questions
Nouns, nouns, nouns

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

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
55 questions
CHS Student Handbook 25-26

Quiz
•
9th Grade
10 questions
Chaffey

Quiz
•
9th - 12th Grade
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
Lab Safety and Lab Equipment

Quiz
•
9th - 12th Grade
24 questions
Scientific method and variables review

Quiz
•
9th Grade
20 questions
Getting to know YOU icebreaker activity!

Quiz
•
6th - 12th Grade