Computer Science

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

1/11

flashcard set

Earn XP

Description and Tags

week 1

Last updated 4:23 PM on 7/15/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

12 Terms

1
New cards

What are data structures?

Data structures are specialized formats for organizing, processing, and storing data efficiently in a computer. They enable efficient data retrieval and manipulation, and include arrays, linked lists, stacks, queues, trees, and graphs.

2
New cards

What are the five essential data structures in Python?

Lists, Tuples, Dictionaries, Sets, and Strings.

3
New cards

What are Lists in Python?

Lists are ordered and mutable collections that can hold mixed data types and allow for dynamic resizing.

4
New cards

What are Tuples in Python?

Tuples are ordered and immutable collections that cannot be changed after creation, making them ideal for fixed records.

5
New cards

When should you use Tuples over Lists?

Use Tuples when data represents a fixed record or needs to be hashable, and Lists when dynamic element manipulation is required.

6
New cards

What operations can you perform with Dictionaries?

Fast lookups, merging data using .update() or | operator, and nesting structures.

7
New cards

What are Sets in Python?

Sets are unique and unordered collections that eliminate duplicates and support mathematical operations.

8
New cards

what is the significance of using Sets?

Sets help in deduplication, fast membership checks, data validation, and feature selection.

9
New cards

What are the key operations performed on Strings in Python?

Slicing, splitting, formatting, and cleaning.

10
New cards

Why is selecting the right data structure important?

Choosing the right data structure can significantly affect the performance of your code

11
New cards

What are Dictionaries in Python?

Dicionaries store data as key-value pairs, allowing for fast lookups by key, with unique and immutable keys.

12
New cards

JSON

Javascript Object Notation : light weight human readable format used for storing and transporting data