Module 1: Technical Preparation: Review of Basics
Overview
Module 1 focuses on reviewing fundamental programming concepts. You'll refresh your knowledge of functions, variables, and basic math operations in Python.
Core Competencies
Function Review
This section covers:
- Creating and calling functions
- Working with function parameters
- Return values and their importance
- Function scope and variable access
Variable Review
Learn about:
- Variable declaration and assignment
- Naming conventions and best practices
- Variable scope and lifetime
- Common variable operations
Math Review
This section reviews:
- Basic arithmetic operations
- Order of operations (PEMDAS)
- Common mathematical functions
- Working with numeric data types
Guided Project
In the guided project, you'll practice using LeetCode to solve basic programming challenges. First, you should register for a free LeetCode account. This will help you become familiar with the platform while reinforcing your understanding of functions, variables, and mathematical operations.
Project Resources
Recommended LeetCode Problems
Note: For all problems, you can select Python as your programming language using the dropdown menu in the LeetCode code editor.
- Two Sum - Apply basic variable manipulation
- Palindrome Number - Practice math operations and logic
- Add Two Integers - Simple function practice
- Fibonacci Number - Function implementation with math concepts
- Number of Steps to Reduce a Number to Zero - Practice with math operations and functions
- Subtract the Product and Sum of Digits of an Integer - Practice with math operations
- Count Odd Numbers in an Interval Range - Apply math logic
Practice Activities
To reinforce your understanding of the concepts covered in this module, complete the following activities:
- Create a free LeetCode account if you haven't already
- Complete the setup and familiarize yourself with the LeetCode coding environment
- Choose and solve at least 5 problems from the recommended list above
- For each problem:
- First try to solve it without looking at hints
- If you get stuck, use the Hints feature (available on most problems)
- After solving, consider reviewing the Discussion section to see how others approached the problem
- Consider practicing debugging by intentionally creating errors in your solutions and fixing them