feat: add stylings

This commit is contained in:
2025-10-23 22:05:54 +03:30
parent b8a23eb341
commit 64ca271854
13 changed files with 222 additions and 17 deletions
@@ -0,0 +1,64 @@
> [!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**.
> - Check the [Q&A page](../resources/qa.md) for common questions and clarifications.
---
## 📦 Download All Solutions
- **All official solutions (zip):** [Download all official solutions](./workshops/01-basics-data-types/official-solutions.zip)
---
## 🧾 Official Questions & Solutions
| Question # | Title / Short Description | Question (Download) | Official Solution (Download) |
|------------|---------------------------------------------------------------|---------------------------------------------------------------|------------------------------------------------------------------|
| Q1 | Simple I/O and variables — read two numbers and print the sum | [Download PDF](./workshops/01-q1-question.pdf) | [01-q1-solution.cpp](./workshops/01-q1-solution.cpp) |
| Q2 | Type conversion — integer division vs floating point | [Download PDF](./workshops/01-q2-question.pdf) | [01-q2-solution.cpp](./workshops/01-q2-solution.cpp) |
| Q3 | Using `<cmath>` — compute and format results | [Download PDF](./workshops/01-q3-question.pdf) | [01-q3-solution.cpp](./workshops/01-q3-solution.cpp) |
| Q4 | Edge cases & input validation | [Download PDF](./workshops/01-q4-question.pdf) | [01-q4-solution.cpp](./workshops/01-q4-solution.cpp) |
> [!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.
> - Check the [Q&A page](../resources/qa.md) for clarifications.
> - Ask your TA — thats what were here for.
- [Topic Q&A](../resources/qa.md)
- [Workshop Slides](./workshops/01-basics-data-types/slides.pdf)
- [Professor Slides](../lectures/01-data-types/professor-slides.pdf)
---
## 🙏 Acknowledgements
> [!success] Special thanks
> These materials were created collaboratively to support your learning.
> - You are encouraged to use and adapt the solutions **for learning**, not copying.
> - If you find an error or have a better solution, you can suggest an improvement.
> - TA and instructor feedback will be added over time.
---
## ⚖️ 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.