CSE 1321 Module 4: Tuples, Lists, and Dictionaries

0.0(0)
studied byStudied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/16

flashcard set

Earn XP

Description and Tags

These flashcards cover key vocabulary and concepts related to tuples, lists, and dictionaries in Python.

Last updated 4:20 PM on 10/27/25
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

17 Terms

1
New cards

Tuple

An immutable sequence of values that can mix data types and may contain nested tuples.

2
New cards

List

A mutable sequence of values that can mix data types and may contain nested lists.

3
New cards

Dictionary

A mapping between keys and values, where items are stored as key-value pairs.

4
New cards

Immutable

A property of tuples meaning that once created, their elements cannot be changed.

5
New cards

Indexing

Accessing elements of sequences (like tuples and lists) using their position.

6
New cards

Slicing

Creating a new tuple or list by extracting a portion of it without changing the original.

7
New cards

Concatenation

Combining two tuples or lists into a new tuple or list using the + operator.

8
New cards

Membership Test

Using the 'in' keyword to check if an item exists in a tuple, list, or dictionary.

9
New cards

Zip Function

A built-in function that combines two or more sequences into a list of tuples.

10
New cards

Insert Method

A list method that adds an element at a specified position.

11
New cards

Append Method

A list method that adds an element to the end of a list.

12
New cards

Extend Method

A list method that adds elements from another list to the end of the existing list.

13
New cards

Join Method

Concatenates a sequence of strings into a single string with a specified separator.

14
New cards

Split Method

Divides a string into a list based on a specified delimiter.

15
New cards

Keys Method

Returns a list of the keys in a dictionary.

16
New cards

Values Method

Returns a list of the values in a dictionary.

17
New cards

Items Method

Returns a list of the key-value pairs in a dictionary as tuples.

Explore top flashcards