Files
basic-programming-course/src/content/01-topics/03-conditions-loops/2-Assignment.md
T

60 lines
5.3 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
> [!info] Brief description
> This page lists the **assignment questions** for this topic and provides **downloadable official solutions**.
> These questions are meant to help you apply the concepts learned in class through hands-on coding exercises.
---
> [!tip] How to use this page
> - Start by attempting each question on your own.
> - Use the official solutions only to review and learn better approaches.
> - If something doesnt make sense, **ask a TA**.
---
## 📦 Download All Questions and Solutions
- **All questions (zip):** [Download all questions](https://drive.usercontent.google.com/u/0/uc?id=1c1CjY-8ZXl9McJwZYQ3dvhItypLoY2rv&export=download)
- **All official solutions (zip):** [Download all official solutions](https://drive.usercontent.google.com/u/0/uc?id=1wENaCV4xPj9UJ9KWAb4lYWHuq4Ncg4Ys&export=download)
---
## 🧾 Official Questions & Solutions
| Question # | Question (Download) | Official Solution (Download) | Additional Notes |
| ---------- | ---------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | ---------------- |
| 01 | [Download PDF](https://drive.usercontent.google.com/u/0/uc?id=19mJ5-wwQtHTeSNCR5gipx0Fk_id6y52i&export=download) | [Download Solution (cpp)](https://drive.usercontent.google.com/u/0/uc?id=1X914229uhoWPjcCHz0mV3L4cQQBgSxq3&export=download) | |
| 02 | [Download PDF](https://drive.usercontent.google.com/u/0/uc?id=1YdSugPfd3nuO-FeTi1IR1gWaThwFnodn&export=download) | [Download Solution (cpp)](https://drive.usercontent.google.com/u/0/uc?id=1PBIw5SAbMhy51Pi0r7Huj1OYtErMiiho&export=download) | |
| 03 | [Download PDF](https://drive.usercontent.google.com/u/0/uc?id=1ZUaHyNn22esmZ3kcEr36HYVLtzQc4ARr&export=download) | [Download Solution (cpp)](https://drive.usercontent.google.com/u/0/uc?id=1a0lVBhT1a3T2Ca0T0VXuj5Un2cohmEzI&export=download) | |
| 04 | [Download PDF](https://drive.usercontent.google.com/u/0/uc?id=1xqWba-bhqve8pNXKAuStU98VxqqY__62&export=download) | [Download Solution (cpp)](https://drive.usercontent.google.com/u/0/uc?id=1TP_I-7fHQZpVIy0i4s6-1lgGvteMIg6-&export=download) | |
| 05 | [Download PDF](https://drive.usercontent.google.com/u/0/uc?id=1WD-9G1MIluzMGPD5glozXnzdHnAPcLJ8&export=download) | [Download Solution (cpp)](https://drive.usercontent.google.com/u/0/uc?id=1U5ohtp-bQNRgJrarEdQ9soxMmYZhabyM&export=download) | |
| 06 | [Download PDF](https://drive.usercontent.google.com/u/0/uc?id=1JyxXKPmoAg81qtr_aCp2EZ_hQjXIeXvg&export=download) | [Download Solution (cpp)](https://drive.usercontent.google.com/u/0/uc?id=17o_3WsfQ6lQra2T_E1KfLyT-FkRJMqW6&export=download) | |
| 07 | [Download PDF](https://drive.usercontent.google.com/u/0/uc?id=1xn7sQvQo4fNWpdRvxIJ1d0dEcNcUv4mM&export=download) | [Download Solution (cpp)](https://drive.usercontent.google.com/u/0/uc?id=1TCOxjhLDJxYuKoeIbqwJcOTbf_yvXQe-&export=download) | |
| 08 | [Download PDF](https://drive.usercontent.google.com/u/0/uc?id=18TnSu2aYhJ0yH65Elfc1vtMxJrNbiLcc&export=download) | [Download Solution (cpp)](https://drive.usercontent.google.com/u/0/uc?id=1U7Ba5wt9J_ZxYxE-HqX0N1pEsotBmPGC&export=download) | |
| 09 | [Download PDF](https://drive.usercontent.google.com/u/0/uc?id=14sMHbklVGObk7sCpMitUC2U1h7PHdiGy&export=download) | [Download Solution (cpp)](https://drive.usercontent.google.com/u/0/uc?id=15Fafu44WVXGp0aB2RG8LFBE8B8lPg-ze&export=download) | |
| 10 | [Download PDF](https://drive.usercontent.google.com/u/0/uc?id=1gxDU5ttREfrdOLDBTxBCzqhFsRrjuosK&export=download) | [Download Solution (cpp)](https://drive.usercontent.google.com/u/0/uc?id=121Z0G2NkxW2L4iUEaRL5R9G_pdS3CfBV&export=download) | |
| 11 | [Download PDF](https://drive.usercontent.google.com/u/0/uc?id=1XhjrKZ88FFADWi_RbmDmdigu3ESo19k1&export=download) | [Download Solution (cpp)](https://drive.usercontent.google.com/u/0/uc?id=1e-9XiH7N8E8iJktnBhtiYrbbYUE8Y_h8&export=download) | |
| 12 | [Download PDF](https://drive.usercontent.google.com/u/0/uc?id=1-EA5FpLIyuDDYrwlw0LfJNMC1ZHRQykd&export=download) | [Download Solution (cpp)](https://drive.usercontent.google.com/u/0/uc?id=1sdjbw89d1vd3kzuQu-4qhPhjccirLTf4&export=download) | |
> [!note] Not available yet?
> Some solutions will be uploaded after the workshop or assignment deadline. Check back later or ask your TA.
---
## ❓ Q&A and Support
> [!question] Got stuck or confused?
> If something in a question or solution is unclear:
> - Revisit the lecture notes and workshop slides.
> - Ask your TA — thats what were here for.
- [Topic Q&A]()
- [Professor Slides](01-topics/03-conditions-loops/4-ProfessorSlides.md)
- [TA Slides](01-topics/03-conditions-loops/5-TASlides.md)
---
## ⚖️ Licensing & Usage
> [!important] Usage note
> Official assignment solutions are for **educational use only**. Please do not repost them publicly or use them in ways that violate course policy.