Python Fundamentals
This CS Python fundamentals course meticulously lays the groundwork for your programming expertise. We’ll begin with fundamental concepts like variables and data types, then progress to powerful tools like control statements and functions. Hands-on labs will solidify your understanding as you explore object-oriented programming, modules, error handling, and even file operations.
By course end, you’ll be confidently writing Python scripts and tackling problems with the power of code.
What You`ll Learn on This Course
-
- Work with core Python programming fundamentals like variables, data types (numerical, strings, lists, booleans), and operators.
- Craft control flow using statements like if, while, and for loops to guide program execution.
- Define and utilize functions to create reusable blocks of code.
- Leverage object-oriented programming (OOP) principles to structure your programs effectively.
- Manage errors and exceptions for robust code.
- Work with modules and packages to organize and share code.
- Perform essential file operations like reading, writing, and manipulating data.
This course comes with:
Interactive Lessons
13+ Interactive Lessons 43+ Exercises | 61+ Quizzes | 138+ Flashcards | 138+ Glossary of terms
Gamified TestPrep
60+ Pre Assessment Questions | 2+ Full Length Tests | 66+ Post Assessment Questions | 132+ Practice Test Questions
Video Lessons
31+ Videos | 02:02+ Hours
Curriculum
- 2 Sections
- 0 Lessons
- 26 Weeks
Expand all sectionsCollapse all sections
- Lesson Plan
Introduction
- About the Course
- Learning Objectives
- Audience
- Approach
- Minimum Hardware Requirements
- Software Requirements
- Conventions
- Installation
Introducing Python
- Introduction
- Working with the Python Interactive Shell
- Writing and Running Simple Scripts
- Variables
- User Input, Comments, and Indentations
- Summary
Data Types
- Introduction
- Numerical Data
- Strings
- Lists
- Booleans
- Summary
Control Statements
- Introduction
- Control Statements
- The if Statement
- The while Statement
- while Versus if
- Loops
- The for Loop
- The range Function
- Nesting Loops
- Breaking Out of Loops
- Summary
Functions
- Introduction
- Built-In Functions
- User-Defined Functions
- Function Arguments
- Anonymous Functions
- Summary
Lists and Tuples
- Introduction
- List Syntax
- List Methods
- List Comprehensions
- Tuple Syntax
- Accessing Tuple Elements
- Tuple Methods
- Summary
Dictionaries and Sets
- Introduction
- Working with Dictionaries
- Additional Dictionary Attributes
- Ordered Dictionaries
- The Basics of Sets
- Set Operations
- Frozen Sets
- Summary
Object-Oriented Programming
- Introduction
- A First Look at OOP
- OOP in Python
- Methods in a Class
- Class Versus Instance Attributes
- Class Versus Instance Methods
- Class Inheritance
- Multiple Inheritance
- Summary
Modules, Packages, and File Operations
- Introduction
- Defining Modules
- Imports and Import Statements
- Modules and Packages
- File Operations
- The file Object
- Reading and Writing to Files
- Handling Structured Data
- Summary
Error Handling
- Introduction
- Built-In Exceptions
- Handling Errors and Exceptions
- Custom Exceptions
- Summary
Appendices
- Appendix: PCAP Exam Objective
- Appendix: PCEP-30-01 Exam Objective
- Appendix: PCEP-30-02 Exam Objective
0 - Hands-on LAB Activities
Introducing Python
- Using the print Method
- Displaying a Statement Multiple Times
- Using Variable Assignment
- Using Variables and Assigning Statements
- Displaying the Multiplication Table
Data Types
- Using Arithmetic Operators
- Performing String Slicing Tasks
- Working with Strings
- Manipulating Strings Using the strip Method
- Working with Lists
- Using Boolean Operators
Control Statements
- Working with the if Statement
- Working with the while Statement
- Using the for Loop and the range Function
- Using Nested Loops
Functions
- Working with Function Arguments
- Using Lambda Functions
Lists and Tuples
- Using List Methods
- Using Tuple Methods
Dictionaries and Sets
- Arranging and Presenting Data Using Dictionaries
- Combining Dictionaries
- Creating Intersections of Elements in a Collection
Object-Oriented Programming
- Defining Methods in a Class
- Creating Class Attributes
- Creating Class Methods and Using Information Hiding
- Overriding Methods
- Implementing Multiple Inheritance
Modules, Packages, and File Operations
- Using Resources in a Module
Error Handling
- Identifying Error Scenarios
- Handling Errors
- Creating the Custom Exception Class
0