- Introduction to Python programming
- Sample Coding
- Define the term “pseudocode” as a generalized description of a program
- Define the term “flowchart” as a diagrammatic representation of an algorithm.
- Define a decision table as a grid of rows and columns used to distill a set of complex decisions and actions into a set of rules that can become the statements in computer program.
- Use the Python interactive shell to write simple programs
- Write and run simple Python scripts
- Write and run dynamic scripts that take arguments from the command line
- Use variables and describe the different types of values that variables can be assigned
- Get user input from the keyboard for your Python programs
- Explain the importance of comments and write them in Python
- Explain the importance of whitespace and indentation in Python
- Explain the different numerical data types
- Use operators on numerical data types
- Explain strings and implement string operations, such as indexing, slicing, and string formatting
- Describe escape sequences
- Explain lists and perform simple operations on them
- Use Boolean expressions and Boolean operators
- Describe the different control statements in Python
- Control program execution flow using control statements such as if and while
- Use looping structures in your Python programs
- Implement branching within looping structures such as for and range
- Implement breaking out of loops
- Describe the various function types in Python
- Define global and local variables
- Define a function that takes in a variable number of arguments
- Create and access lists in Python
- Describe the various methods that are available in lists, and use them in your Python programs
- Create and access tuples in Python
- Identify the differences between tuples and lists
- Implement the various built-in methods that are available with tuples
- Create and use dictionaries
- Use methods and attributes associated with dictionaries
- Describe and use ordered dictionaries to store and retrieve data in a predictable order
- Create sets, as well as add, read, and remove data from them
- Describe the attributes defined on set objects
- Describe frozen sets
- Explain different OOP concepts and the importance of OOP
- Instantiate a class
- Describe how to define instance methods and pass arguments to them
- Declare class attributes and class methods
- Describe how to override methods
- Implement multiple inheritance
- Describe what Python modules are and create your own
- Work with the built-in Python modules
- Describe the file object in Python
- Read and write to Python files
- Work with structured data in Python files
- Describe what errors and exceptions are
- Handle errors and exceptions when they occur
- Define and use your own custom exceptions