Phase 1: Programming Foundations¶
Notes
- Python Notes
- Variables
- String Methods
- Type Casting
- User Input
- Math Functions
- String Slicing
- If Statements
- Logical Operators
- Conditional Expressions
- String Methods Reference
- String Indexing
- Format Specifiers
- While Loops
- For Loops
- Collections
- Dictionary
- Random
- Functions
- Iterables
- Membership Operators
- List Comprehension
- Match-Case Statements (Switch)
- Module
- Variable Scope
if __name__ == '__main__':- Object-Oriented Programming
Learn Python:¶
1. Python Full Course for Beginners https://www.youtube.com/watch?v=XKHEtdqhLK8
Focus On:
Variables
Strings
If statements
Loops
Lists
Dictionaries
Functions
Basic file reading and writing
Practice
Write simple Python programs that:
Read a file and print its contents
Count how many times a word appears in a file
Loop through a folder and print file names
Take user input and make decisions using if statements
When Done Should Be Able To:
-Write basic Python scripts
-Use loops and functions
-Work with lists and dictionaries
-Read and write files
-Automate simple tasks
Learn Basic Bash(Linux Shell)¶
https://labex.io/linuxjourney (Do sections grasshopper and journeyman (command line only))
https://overthewire.org/wargames/bandit/ (Level 0-15)
Practice
Write scripts that:
-Monitor Disk usage
-Parse
-Search Directories Recursively
Learn C¶
Harvard CS50 https://www.youtube.com/watch?v=h6lqxDwUmJQ&list=PLhQjrBD2T383q7Vn8QnTsVgSvyLpsqL_R (Weeks 1-5)
When Done Should Be Able To:
-Navigate linux confidently
-Write basic bash scripts
-Read and understand simple C code
-Understand why memory bugs happen
Practice Ideas¶
- -Write a python script that:
-Scans a directory and reports file types -Parses an auth log and flags failed logins
- -Bash script that:
-Monitors disk usage -Searches logs for keywords