- Level Foundation
- Duration 28 hours
- Course by University of Pennsylvania
-
Offered by
About
This course provides an introduction to programming and the Python language. Students are introduced to core programming concepts like data structures, conditionals, loops, variables, and functions. This course includes an overview of the various tools available for writing and running Python, and gets students coding quickly. It also provides hands-on coding exercises using commonly used data structures, writing custom functions, and reading and writing to files. This course may be more robust than some other introductory python courses, as it delves deeper into certain essential programming topics.Modules
1. Course Introduction
1
Assignment
- Learning Style Preference Survey
3
Videos
- About the Instructor : Brandon Krakowsky
- What you should expect from this Course
- Why begin with Python?
2
Readings
- Course Layout & Syllabus
- Tips to succeed in this course
2. Introduction to Programming
4
Videos
- Module Intro
- What is Programming?
- Client-side vs. server-side programming
- Introduction to core programming concepts: Data structures, Conditionals, Variables, Functions, and Loops
1
Readings
- Module 1 Resources (DOWNLOAD RELEVANT CODE AND/OR DATA FILES FOR THIS MODULE HERE)
3. Introduction to Python
3
Videos
- What is Python?
- Python is interpreted
- Why Python?
4. Configuring Python and Tools
3
Videos
- Downloading & installing Python
- Downloading & Installing Jupyter Notebook
- Using Jupyter Notebook
1
Readings
- Python - Getting Help
5. The Python Language
10
Videos
- How do I write Python?
- Printing
- Basic Data Types
- Arithmetic operators
- About division
- Boolean values
- Comparison operators
- Code Along Exercise : Even/Odd
- Strings
- Casting
6. Quiz & Assessment
- Homework 1a - Math Practice
1
Assignment
- Quiz 1 - Intro to Python & The Python Language
1
Videos
- How to use Coursera Labs & understand Autograder output
2
Readings
- Quick Intro to Variables
- Homework 1a : Instructions
7. Downloading & Installing IDLE (Python’s Integrated Development & Learning Environment)
3
Videos
- Downloading & installing IDLE
- Using the IDLE shell
- Running a Python script
8. Python Scripts
2
Videos
- Adding comments to Python scripts
- Code Along Exercise : Comment the program to greet user
1
Readings
- What is a Python script?
9. Variables
7
Videos
- Assigning a variable
- Boolean operators
- Variable substitution
- Combining variables
- Code Along Exercise : Cats & dogs
- Getting user input
- Code Along Exercise : Calculate total bill
10. Practice Quiz
1
Assignment
- Practice Quiz - Variables & data types
11. Flow Control: Conditionals
3
Videos
- The if … elif … else statement
- Code Along Exercise : Numerical grade to letter grade
- Multiple if conditionals
12. Catching Errors
2
Videos
- Checking user input
- Coding Demonstration : Common Python Errors
2
Readings
- Python Errors
- Opt-in to Penn Engineering Online Communications
13. Quiz
1
Assignment
- Quiz 2 - Variables & Conditionals
14. Assessment
- Homework 1b - Practice Writing Python & Calculating How Old Your Dog is in Human Years
1
Videos
- Coding Demonstration : Creating a function to convert numerical grade to letter grade
2
Readings
- Reading : Quick Intro to Functions
- Homework 1b : Instructions
1. Data Structures: Introduction to Lists
3
Videos
- Module Introduction
- Creating a list
- Updating a list
1
Readings
- Module 2 Resources (DOWNLOAD RELEVANT CODE AND/OR DATA FILES FOR THIS MODULE HERE)
2. Flow Control: Loops
1
Videos
- Types of Loops
3. 'for' Loops
7
Videos
- Executing code a given number of times
- Iterating over a list
- Code Along Exercise : Find minimum value
- Iterating over strings
- Iterate over a string
- Code Along Exercise : Iterate over a name
- 'for' loops using range
4. 'while' Loops
7
Videos
- Repeatedly executing code based on a condition
- Waiting for user input
- Code Along Exercise : Secret password
- Exiting a loop using break
- Exiting a loop using continue
- Nested loops
- Code Along Exercise : Multiplication tables
5. Coding Demonstrations
2
Videos
- Coding Demonstration : Average program
- Coding Demonstration : Word reversal
6. Quiz
1
Assignment
- Quiz 3 - Intro to Lists & Loops
7. Functions
8
Videos
- What is a function?
- Built-in functions
- User-defined functions
- Code Along Exercise : Square
- Code Along Exercise : Greater than
- Docstrings (Documentation Strings)
- Code Along Exercise : Get factors
- Code Along Exercise : Unique list
8. Practice Quiz
1
Assignment
- Practice Quiz : Intro to Lists, Loops, and Functions
9. Modular Programming
2
Videos
- Execution order
- The main function
10. Coding Demonstration
1
Videos
- Coding Demonstration : Vowel/word counter
11. Quiz
1
Assignment
- Quiz 4 - Functions
12. Assessment
- Homework 2 - Number Properties
1
Readings
- Homework 2 : Instructions
1. Introduction to PyCharm
4
Videos
- Module introduction
- About PyCharm
- Downloading & installing PyCharm
- Running code
1
Readings
- Module 3 Resources (DOWNLOAD RELEVANT CODE AND/OR DATA FILES FOR THIS MODULE HERE)
2. Practice Quiz
1
Assignment
- Practice Quiz : Jupyter Notebook, IDLE, & PyCharm
3. Data Structures: More About Lists
4
Videos
- A review of lists
- More list operations
- List functions
- Slicing lists
4. Strings
4
Videos
- Strings vs. lists
- Slicing strings
- Code Along Exercise : Name Substring
- Split and join
1
Readings
- String functions
5. Quiz
1
Assignment
- Quiz 5 - Lists & Strings
6. Data Structures: Tuples
2
Videos
- Creating a tuple
- Code Along Exercise : Max and min function
7. Data Structures: Sets
2
Videos
- Creating a set
- Iterating over and updating a set
8. Quiz
1
Assignment
- Quiz 6 - Tuples & Sets
9. Assessment
- Homework 3 - Implement Functions Related to Strings, Lists, Sets, & Tuples
1
Readings
- Homework 3 : Instructions
1. Data Structures: Dictionaries
5
Videos
- Module Introduction
- Creating a dictionary
- Key:value pairs
- Updating a dictionary
- Code Along Exercise : Grade/attendance book
2
Readings
- Module 4 Resources (DOWNLOAD RELEVANT CODE AND/OR DATA FILES FOR THIS MODULE HERE)
- Opt-in to Penn Engineering Online Communications
2. Quiz
1
Assignment
- Quiz 7 - Dictionaries
3. Files
1
Assignment
- Practice Quiz : Python Dictionaries & Files
11
Videos
- Opening a file
- Basics of file open method modes
- Reading a file
- Newline characters
- Writing to a file
- Closing a file
- Coding Demonstration : Open and read a file
- Coding Demonstration : Open, read, and append to new file
- Coding Demonstration : Open, read, and append to same file
- Coding Demonstration : Open, read, and write to new file
- Coding Demonstration : File to Dictionary
4. Quiz
1
Assignment
- Quiz 8 - File I/O
5. Assessment
- Homework 4 - Online Banking System
1
Videos
- Intro to Homework 4
1
Readings
- Homework 4 : Instructions
Auto Summary
Discover the world of Python programming with this foundational course by Coursera. Perfect for beginners in IT & Computer Science, it covers core concepts like data structures, conditionals, loops, variables, and functions. Engage in hands-on coding exercises, and learn to use essential tools for writing and running Python. The course spans 1680 minutes and offers a robust introduction to programming. Subscribe with the Starter plan and kickstart your coding journey today!

Brandon Krakowsky