Study Guide: Python Test Topics
Practice Test Links:
- Lists
- Understanding how to add and remove elements from a list.
- Combining lists using methods like
extendand operators like+=. - The concept of list mutability.
- Tuples
- Recognizing the immutability of tuples.
- Understanding tuple indexing and slicing.
- Knowing the valid operations that can be performed on tuples.
- Dictionaries
- Understanding the structure and usage of dictionaries in Python.
- Knowing how to access and manipulate key-value pairs.
- Recognizing that dictionaries are mutable and unordered.
- String Slicing and Indexing
- Understanding how to slice and index strings in Python.
- Knowing the syntax and effects of slicing operations.
- Regular Expressions (RegEx)
- Familiarity with the basics of using regular expressions in Python.
- Understanding how to use functions from the
remodule to perform pattern matching. - Recognizing special sequences and metacharacters in RegEx patterns.
- Functions
- Defining and calling functions.
- Understanding the scope of variables within functions.