Welcome to the Computer Science Principles: Python & Cybersecurity Final.
This repository contains everything you need to review, practice, and complete your final exam.
CSP-Python-Cybersecurity-Final-2026/
├── README.md ← You are here
├── review/
│ ├── python_review.md ← Python concepts review sheet
│ ├── cybersecurity_review.md ← Cybersecurity concepts review sheet
│ └── file_structures_review.md ← File systems & structures review
├── practice/
│ ├── python_practice.py ← Python practice exercises
│ └── cybersecurity_practice.py ← Cybersecurity Python practice
└── final/
└── final_exam.py ← THE FINAL EXAM
- Variables, data types, and operators
- Conditionals (
if,elif,else) - Loops (
for,while) - Functions
- Lists, dictionaries, and strings
- File I/O (reading and writing files)
- What is cybersecurity and why it matters
- File systems and directory structures
- How files work (extensions, permissions, metadata)
- Basic encryption concepts (Caesar cipher)
- Passwords and authentication
- Common threats (malware, phishing, social engineering)
This assignment is distributed through GitHub Classroom. Follow these steps carefully:
-
Accept the Assignment
- Click the GitHub Classroom assignment link provided by your teacher.
- Sign in to GitHub (create a free account at github.com if you don't have one).
- GitHub Classroom will automatically create a personal copy of this repository under your account.
-
Open Your Repository
- After accepting, click "Go to your assignment repository".
- Your repo will be named something like:
CSP-Python-Cybersecurity-Final-2026-[your-username]
-
Complete the Final Exam
- Open
final/final_exam.py - Read each section carefully
- Complete all functions and code blocks marked with
# YOUR CODE HERE - Do NOT delete any existing code — only add your code
- Run your file locally to verify your output before submitting
- Open
-
Submit Your Work
- Commit and push your completed
final/final_exam.pyto your repository. - You can commit directly on GitHub.com or use a local Git client.
- Your teacher will see your submission automatically — no email needed.
- Commit and push your completed
-
Verify Submission
- Visit your repository on GitHub and confirm
final/final_exam.pyshows your completed code. - Check the commit history to make sure your latest changes were pushed.
- Visit your repository on GitHub and confirm
💡 Tip: Review the files in
review/and run throughpractice/before starting the final!
⚠️ Academic Integrity: Your work must be your own. Do not copy code from classmates.
| Section | Topic | Points |
|---|---|---|
| Section 1 | Python Basics | 40 pts |
| Section 2 | File I/O | 40 pts |
| Section 3 | Caesar Cipher | 40 pts |
| Section 4 | Password Checker | 40 pts |
| Section 5 | File System & Log Analysis | 40 pts |
| TOTAL | 200 pts |