This commit is contained in:
2026-01-06 11:35:15 +03:30
parent 936f0d7f68
commit 4d1ff3a370
19 changed files with 198 additions and 53 deletions
@@ -14,24 +14,24 @@
## 📦 Download All Questions and Solutions ## 📦 Download All Questions and Solutions
- **All questions (zip):** [Download all questions](https://drive.google.com/file/d/1SaM7dICduui9NjqiqHTU-5L_AftlvoHE/view?usp=drive_link) - **All questions (zip):** [Download all questions](https://drive.usercontent.google.com/u/0/uc?id=1SaM7dICduui9NjqiqHTU-5L_AftlvoHE&export=download)
- **All official solutions (zip):** [Download all official solutions](https://drive.google.com/file/d/1V3GwUGKBhvXT5Ab1fDy7Ek27x-1Q4Nny/view?usp=drive_link) - **All official solutions (zip):** [Download all official solutions](https://drive.usercontent.google.com/u/0/uc?id=1V3GwUGKBhvXT5Ab1fDy7Ek27x-1Q4Nny&export=download)
--- ---
## 🧾 Official Questions & Solutions ## 🧾 Official Questions & Solutions
| Question # | Question (Download) | Official Solution (Download) | Additional Notes | | Question # | Question (Download) | Official Solution (Download) | Additional Notes |
| ---------- | ----------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------- | | ---------- | ---------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | ---------------- |
| 01 | [Download PDF](https://drive.google.com/file/d/1mQd1oFr605IYz8SFA0u07_tt8w5ibEIp/view?usp=sharing) | [Download Solution (zip)](https://drive.google.com/file/d/1suqDVN3OtZDS4EnfJInVoM1tal6QWUit/view?usp=drive_link) | | | 01 | [Download PDF](https://drive.usercontent.google.com/u/0/uc?id=1mQd1oFr605IYz8SFA0u07_tt8w5ibEIp&export=download) | [Download Solution (zip)](https://drive.usercontent.google.com/u/0/uc?id=1suqDVN3OtZDS4EnfJInVoM1tal6QWUit&export=download) | |
| 02 | [Download PDF](https://drive.google.com/file/d/1mv7Mp3gxYSK1r-OH5h88ueJMSUCSC-Gc/view?usp=drive_link) | [Download Solution (zip)](https://drive.google.com/file/d/1UUlwNpQvdQU7S_h_azYSAudxsZKi6NtW/view?usp=drive_link) | | | 02 | [Download PDF](https://drive.usercontent.google.com/u/0/uc?id=1mv7Mp3gxYSK1r-OH5h88ueJMSUCSC-Gc&export=download) | [Download Solution (zip)](https://drive.usercontent.google.com/u/0/uc?id=1UUlwNpQvdQU7S_h_azYSAudxsZKi6NtW&export=download) | |
| 03 | [Download PDF](https://drive.google.com/file/d/1FT1YFfGDekytEDnRd2wNThTNRIJ0Gtvx/view?usp=drive_link) | [Download Solution (zip)](https://drive.google.com/file/d/1vtC4GwdEd2Q3YSos9FWzJeYEJy_4gwuu/view?usp=drive_link) | | | 03 | [Download PDF]https://drive.usercontent.google.com/u/0/uc?id=1FT1YFfGDekytEDnRd2wNThTNRIJ0Gtvx&export=download) | [Download Solution (zip)](https://drive.usercontent.google.com/u/0/uc?id=1vtC4GwdEd2Q3YSos9FWzJeYEJy_4gwuu&export=download) | |
| 04 | [Download PDF](https://drive.google.com/file/d/1ql1-JOaNArnH4aHjOvZkmWqYyDFcAKsV/view?usp=drive_link) | [Download Solution (zip)](https://drive.google.com/file/d/17gfm6Ocl1RrA57FLJC4DS2-hn_gvVfFZ/view?usp=drive_link) | | | 04 | [Download PDF](https://drive.usercontent.google.com/u/0/uc?id=1ql1-JOaNArnH4aHjOvZkmWqYyDFcAKsV&export=download) | [Download Solution (zip)](https://drive.usercontent.google.com/u/0/uc?id=17gfm6Ocl1RrA57FLJC4DS2-hn_gvVfFZ&export=download) | |
| 05 | [Download PDF](https://drive.google.com/file/d/1ev7SrFO4kdSkPn7ZX8z148QptLDJVpmG/view?usp=drive_link) | [Download Solution (zip)](https://drive.google.com/file/d/1OuI3u81ll6-GKARoVYUEjabFaHTINyKm/view?usp=drive_link) | | | 05 | [Download PDF](https://drive.usercontent.google.com/u/0/uc?id=1ev7SrFO4kdSkPn7ZX8z148QptLDJVpmG&export=download) | [Download Solution (zip)](https://drive.usercontent.google.com/u/0/uc?id=1OuI3u81ll6-GKARoVYUEjabFaHTINyKm&export=download) | |
| 06 | [Download PDF](https://drive.google.com/file/d/1cSJwqGXNXzu8foMDh9585VM6MzkQ1TKH/view?usp=drive_link) | [Download Solution (zip)](https://drive.google.com/file/d/1alVdHcCxrTcCIH0wZbS6CDCCmDclNaRH/view?usp=drive_link) | | | 06 | [Download PDF](https://drive.usercontent.google.com/u/0/uc?id=1cSJwqGXNXzu8foMDh9585VM6MzkQ1TKH&export=download) | [Download Solution (zip)](https://drive.usercontent.google.com/u/0/uc?id=1alVdHcCxrTcCIH0wZbS6CDCCmDclNaRH&export=download) | |
| 07 | [Download PDF](https://drive.google.com/file/d/1klayxpRC-EIC_E7S_-SnOojA3lUmuNrZ/view?usp=drive_link) | [Download Solution (zip)](https://drive.google.com/file/d/11pjUFIcS83qcy7Ac5l8DHL-EEgkVO5NE/view?usp=drive_link) | | | 07 | [Download PDF](https://drive.usercontent.google.com/u/0/uc?id=1klayxpRC-EIC_E7S_-SnOojA3lUmuNrZ&export=download) | [Download Solution (zip)](https://drive.usercontent.google.com/u/0/uc?id=11pjUFIcS83qcy7Ac5l8DHL-EEgkVO5NE&export=download) | |
| 08 | [Download PDF](https://drive.google.com/file/d/18yKwoek6fmrSaUZWF79rrIn5BGS0GUIK/view?usp=drive_link) | [Download Solution (zip)](https://drive.google.com/file/d/1OuPGpJgkfB8BHoDlMaTDnlRn9NhyLDdA/view?usp=drive_link) | | | 08 | [Download PDF](https://drive.usercontent.google.com/u/0/uc?id=18yKwoek6fmrSaUZWF79rrIn5BGS0GUIK&export=download) | [Download Solution (zip)](https://drive.usercontent.google.com/u/0/uc?id=1OuPGpJgkfB8BHoDlMaTDnlRn9NhyLDdA&export=download) | |
| 09 | [Download PDF](https://drive.google.com/file/d/1i9XugaK_iqJlgaWemrrZbYxNlGmXsm9d/view?usp=drive_link) | [Download Solution (zip)](https://drive.google.com/file/d/1Ppni5K6EQZF2mqVR_u6dq7NyXS-eHZ-1/view?usp=drive_link) | | | 09 | [Download PDF](https://drive.usercontent.google.com/u/0/uc?id=1i9XugaK_iqJlgaWemrrZbYxNlGmXsm9d&export=download) | [Download Solution (zip)](https://drive.usercontent.google.com/u/0/uc?id=1Ppni5K6EQZF2mqVR_u6dq7NyXS-eHZ-1&export=download) | |
| 10 | [Download PDF](https://drive.google.com/file/d/1ihsQfgfZp7wWRt33lm3-ZPAnkQ0I5bv4/view?usp=drive_link) | [Download Solution (zip)](https://drive.google.com/file/d/110ieA_9qNIyvweunLKChcQHcraSeoWI6/view?usp=drive_link) | | | 10 | [Download PDF](https://drive.usercontent.google.com/u/0/uc?id=1ihsQfgfZp7wWRt33lm3-ZPAnkQ0I5bv4&export=download) | [Download Solution (zip)](https://drive.usercontent.google.com/u/0/uc?id=110ieA_9qNIyvweunLKChcQHcraSeoWI6&export=download) | |
> [!note] Not available yet? > [!note] Not available yet?
> Some solutions will be uploaded after the workshop or assignment deadline. Check back later or ask your TA. > Some solutions will be uploaded after the workshop or assignment deadline. Check back later or ask your TA.
@@ -87,7 +87,7 @@
## 🛠️ Workshop & Assignments ## 🛠️ Workshop & Assignments
- 💬 [Workshop Questions](01-topics/02-basics-and-data-types/1-Workshop.md) - 💬 [Workshop Questions](01-topics/02-basics-and-data-types/1-Workshop.md)
- 🧮 [Assignments](01-topics/02-basics-and-data-types/2-Assignment.md) - 🧮 [Assignments](01-topics/02-basics-and-data-types/2-Assignment.md)
- ❓ [Q&A and Common Issues]()
--- ---
## 🌐 Additional Resources ## 🌐 Additional Resources
@@ -1,8 +1,8 @@
# 🧭 Topic: C++ Control Structures # 🧭 Topic: C++ Control Structures
> [!info] Quick Overview > [!info] Quick Overview:
> > This lecture introduces **control structures** as the mechanisms that determine the flow of execution in a C++ program, starting from basic **selection (branching)** and extending to **iteration (loops)**. It explains how **operators**—arithmetic, comparison, logical, and an introductory look at bitwise—are used to build **boolean expressions**, how C++ evaluates truth (`true/false`, `0/non-zero`), and how **short-circuit logic** affects execution. The core focus is on **conditional statements** (`if`, `if-else`, nested `if`, the ternary operator, and `switch`), emphasizing correct syntax, execution flow, common pitfalls, and clean-code practices such as always using braces, readable formatting, and meaningful condition names. The lecture also covers **operator precedence** to prevent subtle bugs and highlights best practices like avoiding deep nesting and testing all branches. In the second part, it moves to **loops**, explaining why repetition is needed and covering `while`, `do-while`, and `for` loops, along with loop control statements (`break`, `continue`, `return`), nested loops, common loop patterns, execution order, debugging techniques, and clean-code guidelines to ensure loops are correct, readable, and terminate as intended.
--- ---
## 📌 Covered in This Topic ## 📌 Covered in This Topic
@@ -14,18 +14,30 @@
## 📦 Download All Questions and Solutions ## 📦 Download All Questions and Solutions
- **All questions (zip):** [Download all questions]()
- **All official solutions (zip):** [Download all official solutions]()
--- ---
## 🧾 Official Questions & Solutions ## 🧾 Official Questions & Solutions
### Part 1: Conditions
| Question # | Question (Download) | Official Solution (Download) | Additional Notes | - **All questions (zip):** [Download all questions](https://drive.usercontent.google.com/u/0/uc?id=1r_MHwGapPg8xVcXUWafr2D7PjlyonWPS&export=download)
| ---------- | ------------------- | ---------------------------- | ---------------- | - **All official solutions (zip):** [Download all official solutions](https://drive.usercontent.google.com/u/0/uc?id=17smC3CcUcUowTNRjyxAy2d5G-M5_sShN&export=download)
| 01 | [Download PDF]() | [Download Solution (zip)]() | |
| 02 | [Download PDF]() | [Download Solution (zip)]() | |
| 03 | [Download PDF]() | [Download Solution (zip)]() | |
| Question # | Question (Download) | Official Solution (Download) | Additional Notes |
| ---------- | ---------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | ---------------- |
| 01 | [Download PDF](https://drive.usercontent.google.com/u/0/uc?id=19Mulf_gVpPgYQ39EGTiIrmn7GD7Uc5A7&export=download) | [Download Solution (cpp)](https://drive.usercontent.google.com/u/0/uc?id=149n1Uw6nErMjjMudoafK-0qLClRaA-eA&export=download) | |
| 02 | [Download PDF](https://drive.usercontent.google.com/u/0/uc?id=1v3KtBq0mThCBj-HplBDH3t-OairXo9wq&export=download) | [Download Solution (cpp)](https://drive.usercontent.google.com/u/0/uc?id=1GTe8l_YLkZSdEK8gzeCniJTfgt-nfSRd&export=download) | |
| 03 | [Download PDF](https://drive.usercontent.google.com/u/0/uc?id=1fXlAI0pLSEMSSgx1rOo_VnSTk9ws2eqx&export=download) | [Download Solution (cpp)](https://drive.usercontent.google.com/u/0/uc?id=1NSQm8n3RY1UKEDgAACzi_hXZVTv7iQWs&export=download) | |
| 04 | [Download PDF](https://drive.usercontent.google.com/u/0/uc?id=1AgXeFyE5f0vvR4GLKZz4uwIuqqux-wGr&export=download) | [Download Solution (cpp)](https://drive.usercontent.google.com/u/0/uc?id=1cWgEXtAw02pv_xt5XOhCRAImUsvxDSuZ&export=download) | |
### Part 2: Loops
- **All questions (zip):** [Download all questions](https://drive.usercontent.google.com/u/0/uc?id=1yLNNd1VX9p4kaqs4vgXcFFlXyMLQugeZ&export=download)
- **All official solutions (zip):** [Download all official solutions](https://drive.usercontent.google.com/u/0/uc?id=14mcNtmD258B2M-rbxtKRl7sxkeJubu7W&export=download)
| Question # | Question (Download) | Official Solution (Download) | Additional Notes |
| ---------- | ---------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | ---------------- |
| 01 | [Download PDF](https://drive.usercontent.google.com/u/0/uc?id=1U-ugL7Y6-1-KBvXBfddfpHdUQ3KNG9ls&export=download) | [Download Solution (cpp)](https://drive.usercontent.google.com/u/0/uc?id=1pMfJ7Yng4_uvFfC3uNWu52G6xLPMhOga&export=download) | |
| 02 | [Download PDF](https://drive.usercontent.google.com/u/0/uc?id=1SEdzcV-xmegbW9jvUBrJ12RmfXkk9gHW&export=download) | [Download Solution (cpp)](https://drive.usercontent.google.com/u/0/uc?id=1U9-g48WqFyHTO8aIW51WsdaafD8vQwCh&export=download) | |
| 03 | [Download PDF](https://drive.usercontent.google.com/u/0/uc?id=191f5oXOEWXVGxSuhD8iLP7URYxseiXwH&export=download) | [Download Solution (cpp)](https://drive.usercontent.google.com/u/0/uc?id=1QDwruOhrXvpBUc_srfyEL2sKCVHMPwFg&export=download) | |
| 04 | [Download PDF](https://drive.usercontent.google.com/u/0/uc?id=1ouUX3C4M189a1m-IcCif260gtsedcOJZ&export=download) | [Download Solution (cpp)](https://drive.usercontent.google.com/u/0/uc?id=1lju_VvRzfhWMIg1MWkkvmiSI68iwcgcC&export=download) | |
> [!note] Not available yet? > [!note] Not available yet?
> Some solutions will be uploaded after the workshop or assignment deadline. Check back later or ask your TA. > Some solutions will be uploaded after the workshop or assignment deadline. Check back later or ask your TA.
@@ -103,7 +103,7 @@
## 🛠️ Workshop & Assignments ## 🛠️ Workshop & Assignments
- 💬 [Workshop Questions](01-topics/04-function-1/1-Workshop.md) - 💬 [Workshop Questions](01-topics/04-function-1/1-Workshop.md)
- 🧮 [Assignments](2-Assignment.md) - 🧮 [Assignments](01-topics/04-function-1/2-Assignment.md)
- ❓ [Q&A and Common Issues]() - ❓ [Q&A and Common Issues]()
--- ---
@@ -14,22 +14,21 @@
## 📦 Download All Questions and Solutions ## 📦 Download All Questions and Solutions
- **All questions (zip):** [Download all questions](https://drive.google.com/uc?export=download&id=1qQHieGFcPQtUJp9NrOGfn38AHQZbThJX - **All questions (zip):** [Download all questions](https://drive.google.com/uc?export=download&id=1qQHieGFcPQtUJp9NrOGfn38AHQZbThJX)
)
- **All official solutions (zip):** [Download all official solutions](https://drive.google.com/uc?export=download&id=1reKdDbYtGDHGDkuRabSB4XsOCPy82Dhd) - **All official solutions (zip):** [Download all official solutions](https://drive.google.com/uc?export=download&id=1reKdDbYtGDHGDkuRabSB4XsOCPy82Dhd)
--- ---
## 🧾 Official Questions & Solutions ## 🧾 Official Questions & Solutions
| Question # | Question (Download) | Official Solution (Download) | Additional Notes | | Question # | Question (Download) | Official Solution (Download) | Additional Notes |
| ---------- | ------------------- | ---------------------------- | ---------------- | | ---------- | ------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------- | ---------------- |
| 01 | [Download PDF](https://drive.google.com/uc?export=download&id=1usE7jzoFf7-JXXjUrMJKieqN4_lnrwUZ) | [Download Solution](https://drive.google.com/uc?export=download&id=12R3agugt77QtM_nIGRfA0pjKROlSjQs8) | | | 01 | [Download PDF](https://drive.google.com/uc?export=download&id=1usE7jzoFf7-JXXjUrMJKieqN4_lnrwUZ) | [Download Solution](https://drive.google.com/uc?export=download&id=12R3agugt77QtM_nIGRfA0pjKROlSjQs8) | |
| 02 | [Download PDF](https://drive.google.com/uc?export=download&id=1pDaymyL5VX2WEefwR-F4dxieBOHFrleT) | [Download Solution](https://drive.google.com/uc?export=download&id=1Fd5YskHtotnW2qnsfEG2Uj4xYckj4oYk) | | | 02 | [Download PDF](https://drive.google.com/uc?export=download&id=1pDaymyL5VX2WEefwR-F4dxieBOHFrleT) | [Download Solution](https://drive.google.com/uc?export=download&id=1Fd5YskHtotnW2qnsfEG2Uj4xYckj4oYk) | |
| 03 | [Download PDF](https://drive.google.com/uc?export=download&id=135fCzIE42e-u8GolVIwNaVg2qeKO6lQp) | [Download Solution](https://drive.google.com/uc?export=download&id=1IEAMs30N9KWgQK_gZKLBGxBg8ytjBQKJ) | | | 03 | [Download PDF](https://drive.google.com/uc?export=download&id=135fCzIE42e-u8GolVIwNaVg2qeKO6lQp) | [Download Solution](https://drive.google.com/uc?export=download&id=1IEAMs30N9KWgQK_gZKLBGxBg8ytjBQKJ) | |
| 04 | [Download PDF](https://drive.google.com/uc?export=download&id=1JG0NyUQsZs6MIS6wUzcRkjQjWRgF7bIi) | [Download Solution](https://drive.google.com/uc?export=download&id=1feR2N0pkQu0aRJ3bsCU3my7IO4jOP-QM) | | | 04 | [Download PDF](https://drive.google.com/uc?export=download&id=1JG0NyUQsZs6MIS6wUzcRkjQjWRgF7bIi) | [Download Solution](https://drive.google.com/uc?export=download&id=1feR2N0pkQu0aRJ3bsCU3my7IO4jOP-QM) | |
| 05 | [Download PDF](https://drive.google.com/uc?export=download&id=13jdL9kc3VSe9Zbo5DsPO66PPTQE_Kjpw) | [Download Solution](https://drive.google.com/uc?export=download&id=1Igm-EbL0AxtciOxe24bKe_mxPnzHqz4X) | | | 05 | [Download PDF](https://drive.google.com/uc?export=download&id=13jdL9kc3VSe9Zbo5DsPO66PPTQE_Kjpw) | [Download Solution](https://drive.google.com/uc?export=download&id=1Igm-EbL0AxtciOxe24bKe_mxPnzHqz4X) | |
| 06 | [Download PDF](https://drive.google.com/uc?export=download&id=1N2DfkHflGUHYBqLdmRV3_nzZTN4m5RoH) | [Download Solution](https://drive.google.com/uc?export=download&id=1iYVb6tsQgyynxJ0jZcb17yX32c-5dA1x) | | | 06 | [Download PDF](https://drive.google.com/uc?export=download&id=1N2DfkHflGUHYBqLdmRV3_nzZTN4m5RoH) | [Download Solution](https://drive.google.com/uc?export=download&id=1iYVb6tsQgyynxJ0jZcb17yX32c-5dA1x) | |
| 07 | [Download PDF](https://drive.google.com/uc?export=download&id=12R3agugt77QtM_nIGRfA0pjKROlSjQs8) | [Download Solution](https://drive.google.com/uc?export=download&id=1Y-t7BI6X5zM5Zd-25De8--l_dGRWUSYc) | | | 07 | [Download PDF](https://drive.google.com/uc?export=download&id=12R3agugt77QtM_nIGRfA0pjKROlSjQs8) | [Download Solution](https://drive.google.com/uc?export=download&id=1Y-t7BI6X5zM5Zd-25De8--l_dGRWUSYc) | |
> [!note] Not available yet? > [!note] Not available yet?
@@ -14,17 +14,17 @@
## 📦 Download All Questions and Solutions ## 📦 Download All Questions and Solutions
- **All questions (zip):** [Download all questions](https://drive.usercontent.google.com/u/0/uc?id=19EIICYkB7sUmsEVB6da5eZ5MQ7WTuP88&export=download) - **All questions (zip):** [Download all questions](https://drive.usercontent.google.com/u/0/uc?id=14_0psMo0bIc70f3iUkEX_n1kcLFfHCAN&export=download)
- **All official solutions (zip):** [Download all official solutions](https://drive.usercontent.google.com/u/0/uc?id=1j0gtsHGPOcpH8GOVAyvxFqecCze1SQH0&export=download) - **All official solutions (zip):** [Download all official solutions](https://drive.usercontent.google.com/u/0/uc?id=1NhC9TOdZf5dw56nVX38h1YwtBLmZuqS8&export=download)
--- ---
## 🧾 Official Questions & Solutions ## 🧾 Official Questions & Solutions
| Question # | Question (Download) | Official Solution (Download) | Additional Notes | | Question # | Question (Download) | Official Solution (Download) | Additional Notes |
| ---------- | ---------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | ---------------- | | ---------- | ---------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | ---------------- |
| 01 | [Download PDF](https://drive.usercontent.google.com/u/0/uc?id=1LZysw18yVMxIeSfI5myQ-PJEtHD5_Qgl&export=download) | [Download Solution (cpp)](https://drive.usercontent.google.com/u/0/uc?id=1piw1JTjDYyrfhyDaFOlzbwsyp0exbMws&export=download) | | | 01 | [Download PDF](https://drive.usercontent.google.com/u/0/uc?id=1m_eSLVdVXR5CXtQXd9ZnbdhNASzjZK6M&export=download) | [Download Solution (cpp)](https://drive.usercontent.google.com/u/0/uc?id=1T8qJQbrzOUCApNEta86zmA_6gJ8cfsz8&export=download) | |
| 02 | [Download PDF](https://drive.usercontent.google.com/u/0/uc?id=1_Qvwn_c2AUgAEYWYLs2D8rwDgzklFr2-&export=download) | [Download Solution (cpp)](https://drive.usercontent.google.com/u/0/uc?id=1njLCfQOu7Wg5JOgigoLM9D8ApACNRleT&export=download) | | | 02 | [Download PDF](https://drive.usercontent.google.com/u/0/uc?id=1jWryh2eL_OytdOAhx_u-cXoRjpQ98C7F&export=download) | [Download Solution (cpp)](https://drive.usercontent.google.com/u/0/uc?id=1Z7pkcIJlsCMy0VS2zMbdK-yOT_naqTiH&export=download) | |
| 03 | [Download PDF](https://drive.usercontent.google.com/u/0/uc?id=1bUqIBdveAywXfEIxdAMHQdvzrf2qS2H-&export=download) | [Download Solution (cpp)](https://drive.usercontent.google.com/u/0/uc?id=1Ig4BJdoivI__8_1Aj2uZm9-KRWh0zT-1&export=download) | | | 03 | [Download PDF](https://drive.usercontent.google.com/u/0/uc?id=1hKO-hHmV1rI3d0dDsQLrsBUElP3zMtYL&export=download) | [Download Solution (cpp)](https://drive.usercontent.google.com/u/0/uc?id=1LpzZRFvajkgtBU4M-Ilkrj6yKyfH9LQC&export=download) | |
> [!note] Not available yet? > [!note] Not available yet?
> Some solutions will be uploaded after the workshop or assignment deadline. Check back later or ask your TA. > Some solutions will be uploaded after the workshop or assignment deadline. Check back later or ask your TA.
@@ -60,7 +60,7 @@
## 🛠️ Workshop & Assignments ## 🛠️ Workshop & Assignments
- 💬 [Workshop Questions](01-topics/05-arrays/1-Workshop.md) - 💬 [Workshop Questions](01-topics/05-arrays/1-Workshop.md)
- 🧮 [Assignments](2-Assignment.md) - 🧮 [Assignments](01-topics/04-function-1/2-Assignment.md)
- ❓ [Q&A and Common Issues]() - ❓ [Q&A and Common Issues]()
--- ---
@@ -14,8 +14,7 @@
## 📦 Download All Questions and Solutions ## 📦 Download All Questions and Solutions
- **All questions (zip):** [Download all questions](https://drive.google.com/uc?export=download&id=1pCMqYSfBpWYlCXaMUoIyJYQG-EToIfbJ - **All questions (zip):** [Download all questions](https://drive.google.com/uc?export=download&id=1pCMqYSfBpWYlCXaMUoIyJYQG-EToIfbJ)
)
- **All official solutions (zip):** [Download all official solutions](https://drive.google.com/uc?export=download&id=1YinvLeoi7QaOzniKXuxNGJ-P7UgABWKV) - **All official solutions (zip):** [Download all official solutions](https://drive.google.com/uc?export=download&id=1YinvLeoi7QaOzniKXuxNGJ-P7UgABWKV)
--- ---
@@ -70,7 +70,7 @@
--- ---
## 🛠️ Workshop & Assignments ## 🛠️ Workshop & Assignments
- 🧮 [Assignments](2-Assignment.md) - 🧮 [Assignments](01-topics/04-function-1/2-Assignment.md)
- ❓ [Q&A and Common Issues]() - ❓ [Q&A and Common Issues]()
--- ---
@@ -0,0 +1,55 @@
> [!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.google.com/file/d/1SaM7dICduui9NjqiqHTU-5L_AftlvoHE/view?usp=drive_link)
- **All official solutions (zip):** [Download all official solutions](https://drive.google.com/file/d/1V3GwUGKBhvXT5Ab1fDy7Ek27x-1Q4Nny/view?usp=drive_link)
---
## 🧾 Official Questions & Solutions
| Question # | Question (Download) | Official Solution (Download) | Additional Notes |
| ---------- | ----------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------- |
| 01 | [Download PDF](https://drive.google.com/file/d/1mQd1oFr605IYz8SFA0u07_tt8w5ibEIp/view?usp=sharing) | [Download Solution (zip)](https://drive.google.com/file/d/1suqDVN3OtZDS4EnfJInVoM1tal6QWUit/view?usp=drive_link) | |
| 02 | [Download PDF](https://drive.google.com/file/d/1mv7Mp3gxYSK1r-OH5h88ueJMSUCSC-Gc/view?usp=drive_link) | [Download Solution (zip)](https://drive.google.com/file/d/1UUlwNpQvdQU7S_h_azYSAudxsZKi6NtW/view?usp=drive_link) | |
| 03 | [Download PDF](https://drive.google.com/file/d/1FT1YFfGDekytEDnRd2wNThTNRIJ0Gtvx/view?usp=drive_link) | [Download Solution (zip)](https://drive.google.com/file/d/1vtC4GwdEd2Q3YSos9FWzJeYEJy_4gwuu/view?usp=drive_link) | |
| 04 | [Download PDF](https://drive.google.com/file/d/1ql1-JOaNArnH4aHjOvZkmWqYyDFcAKsV/view?usp=drive_link) | [Download Solution (zip)](https://drive.google.com/file/d/17gfm6Ocl1RrA57FLJC4DS2-hn_gvVfFZ/view?usp=drive_link) | |
| 05 | [Download PDF](https://drive.google.com/file/d/1ev7SrFO4kdSkPn7ZX8z148QptLDJVpmG/view?usp=drive_link) | [Download Solution (zip)](https://drive.google.com/file/d/1OuI3u81ll6-GKARoVYUEjabFaHTINyKm/view?usp=drive_link) | |
| 06 | [Download PDF](https://drive.google.com/file/d/1cSJwqGXNXzu8foMDh9585VM6MzkQ1TKH/view?usp=drive_link) | [Download Solution (zip)](https://drive.google.com/file/d/1alVdHcCxrTcCIH0wZbS6CDCCmDclNaRH/view?usp=drive_link) | |
| 07 | [Download PDF](https://drive.google.com/file/d/1klayxpRC-EIC_E7S_-SnOojA3lUmuNrZ/view?usp=drive_link) | [Download Solution (zip)](https://drive.google.com/file/d/11pjUFIcS83qcy7Ac5l8DHL-EEgkVO5NE/view?usp=drive_link) | |
| 08 | [Download PDF](https://drive.google.com/file/d/18yKwoek6fmrSaUZWF79rrIn5BGS0GUIK/view?usp=drive_link) | [Download Solution (zip)](https://drive.google.com/file/d/1OuPGpJgkfB8BHoDlMaTDnlRn9NhyLDdA/view?usp=drive_link) | |
| 09 | [Download PDF](https://drive.google.com/file/d/1i9XugaK_iqJlgaWemrrZbYxNlGmXsm9d/view?usp=drive_link) | [Download Solution (zip)](https://drive.google.com/file/d/1Ppni5K6EQZF2mqVR_u6dq7NyXS-eHZ-1/view?usp=drive_link) | |
| 10 | [Download PDF](https://drive.google.com/file/d/1ihsQfgfZp7wWRt33lm3-ZPAnkQ0I5bv4/view?usp=drive_link) | [Download Solution (zip)](https://drive.google.com/file/d/110ieA_9qNIyvweunLKChcQHcraSeoWI6/view?usp=drive_link) | |
> [!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](01-topics/01-problem-solving/3-Q&A.md)
- [TA Slides](01-topics/01-problem-solving/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.
@@ -99,7 +99,7 @@
--- ---
## 🛠️ Workshop & Assignments ## 🛠️ Workshop & Assignments
- 🧮 [Assignments](2-Assignment.md) - 🧮 [Assignments](01-topics/04-function-1/2-Assignment.md)
- ❓ [Q&A and Common Issues]() - ❓ [Q&A and Common Issues]()
--- ---
@@ -0,0 +1,47 @@
> [!info] Brief description
> This page lists the **workshop 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.google.com/file/d/1zF0PlsAb93appBlVKzaU1vg0OfWW2bbH/view?usp=drive_link)
- **All official solutions (zip):** [Download all official solutions](https://drive.usercontent.google.com/u/0/uc?id=19loXWcw0-SaDWalWclog2UB0G9-J6xxM&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=1DirYsWV3mMCjQIdzrg06gcbNm7RbFGZL&export=download) | [Download Solution (cpp)](https://drive.usercontent.google.com/u/0/uc?id=16LpfS3TecRIAGb3JyX220BVeJC2Glbs9&export=download) | |
| 02 | [Download PDF](https://drive.usercontent.google.com/u/0/uc?id=1WyIvN5Q7bCQbeyWqyAQZ5FZYUmoIyncn&export=download) | [Download Solution (cpp)](https://drive.usercontent.google.com/u/0/uc?id=15ID29lsJkttKzHwyJGM5CP4_HjU78c-m&export=download) | |
| 03 | [Download PDF](https://drive.google.com/file/d/1JQBErHxHlpWXNsSbxMMv9K-RfGCzrPYE/view?usp=drive_link) | [Download Solution (cpp)](https://drive.usercontent.google.com/u/0/uc?id=1TmQRCipD8p_0c7Ckwtw81dUYry9utURw&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.
- [TA Slides](01-topics/06-functions-2/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.
@@ -0,0 +1,14 @@
## 🔗 Download
- [Download PDF - Lecture 08](https://drive.usercontent.google.com/u/0/uc?id=1Yy6O7UwtP70F8ELtKMurJM0Av7_v6_u_&export=download)
- [Download PDF - Lecture 09](https://drive.usercontent.google.com/u/0/uc?id=1lXhoDvsgzSkz35JNtLgAcuLpgAFWk3Hq&export=download)
## View PDF Online
### Lecture 08
<iframe src="https://docs.google.com/gview?embedded=true&url=https://drive.usercontent.google.com/u/0/uc?id=1Yy6O7UwtP70F8ELtKMurJM0Av7_v6_u_&export=download" width="100%" height="700px" frameborder="0"> </iframe>
### Lecture 09
<iframe src="https://docs.google.com/gview?embedded=true&url=https://drive.usercontent.google.com/u/0/uc?id=1lXhoDvsgzSkz35JNtLgAcuLpgAFWk3Hq&export=download" width="100%" height="700px" frameborder="0"> </iframe>
@@ -0,0 +1,9 @@
## 🔗 Download
- [Download PDF - File & Struct](https://drive.usercontent.google.com/u/0/uc?id=1JzUzimHOZlosTQqFFZYjftuHn6XdeD6T&export=download)
- [Download Related Codes - File & Struct](https://drive.usercontent.google.com/u/0/uc?id=1E5AiKAdsGIKDZwrakp28NMI1vHwfa-oR&export=download)
## View PDF Online
### File & Struct
<iframe src="https://docs.google.com/gview?embedded=true&url=https://drive.usercontent.google.com/u/0/uc?id=1JzUzimHOZlosTQqFFZYjftuHn6XdeD6T&export=download" width="100%" height="700px" frameborder="0"> </iframe>
@@ -0,0 +1,9 @@
HOW TO DEBUG
how to collaborate
unicode? color?
+7 -6
View File
@@ -76,12 +76,13 @@ Were documenting everything we do for three major reasons:
| 2 | **Introduction to C++ & Basic Programming Constructs & Data Types** | Get started with C++: setting up the IDE, basic syntax, compiling and linking, and simple programs. Understand fundamental data types, expressions and operations | [Overview](01-topics/02-basics-and-data-types/0-Overview.md) | [Workshop](01-topics/02-basics-and-data-types/1-Workshop.md) | [Assignment](01-topics/02-basics-and-data-types/2-Assignment.md) | | 2 | **Introduction to C++ & Basic Programming Constructs & Data Types** | Get started with C++: setting up the IDE, basic syntax, compiling and linking, and simple programs. Understand fundamental data types, expressions and operations | [Overview](01-topics/02-basics-and-data-types/0-Overview.md) | [Workshop](01-topics/02-basics-and-data-types/1-Workshop.md) | [Assignment](01-topics/02-basics-and-data-types/2-Assignment.md) |
| 3 | **Control Structures** | Move into control flow with logical operators, `if/else`, `switch`, loops, iteration and avoiding infinite loops. | [Overview](01-topics/03-conditions-loops/0-Overview.md) | [Workshop](01-topics/03-conditions-loops/1-Workshop.md) | [Assignment](01-topics/03-conditions-loops/2-Assignment.md) | | 3 | **Control Structures** | Move into control flow with logical operators, `if/else`, `switch`, loops, iteration and avoiding infinite loops. | [Overview](01-topics/03-conditions-loops/0-Overview.md) | [Workshop](01-topics/03-conditions-loops/1-Workshop.md) | [Assignment](01-topics/03-conditions-loops/2-Assignment.md) |
| 4 | **Functions & Modular Design** | Learn how to design and call functions in C++, including `void` vs return-type, parameter passing, overloading, and thinking in modular pieces. | [Overview](01-topics/04-function-1/0-Overview.md) | [Workshop](01-topics/04-function-1/1-Workshop.md) | [Assignment](01-topics/04-function-1/2-Assignment.md) | | 4 | **Functions & Modular Design** | Learn how to design and call functions in C++, including `void` vs return-type, parameter passing, overloading, and thinking in modular pieces. | [Overview](01-topics/04-function-1/0-Overview.md) | [Workshop](01-topics/04-function-1/1-Workshop.md) | [Assignment](01-topics/04-function-1/2-Assignment.md) |
| 5 | **Arrays, Strings & Multidimensional Data** | Explore static arrays, C++ strings and multidimensional data structures. Incorporate memory-thinking in simple data manipulations. | | | | | 5 | **Arrays, Strings & Multidimensional Data** | Explore static arrays, C++ strings and multidimensional data structures. Incorporate memory-thinking in simple data manipulations. | [Overview](01-topics/05-arrays/0-Overview.md) | [Workshop](01-topics/05-arrays/1-Workshop.md) | [Assignment](01-topics/05-arrays/2-Assignment.md) |
| 6 | **Advanced Functions & Recursion** | Deepen function usage with recursion, higher-level thinking about how functions call themselves, and problem-solving patterns that leverage recursion. | | | | | 6 | **Advanced Functions & Recursion** | Deepen function usage with recursion, higher-level thinking about how functions call themselves, and problem-solving patterns that leverage recursion. | [Overview](01-topics/06-functions-2/0-Overview.md) | [Workshop](01-topics/06-functions-2/1-Workshop.md) | [Assignment](01-topics/06-functions-2/2-Assignment.md) |
| 7 | **Pointers & Dynamic Memory** | Dive into pointers, dynamic memory allocation/deallocation (e.g., `new`, `delete`), pointer arithmetic, and how memory model impacts correct usage of arrays/strings. | | | | | 7 | **Pointers & Dynamic Memory** | Dive into pointers, dynamic memory allocation/deallocation (e.g., `new`, `delete`), pointer arithmetic, and how memory model impacts correct usage of arrays/strings. | [Overview](01-topics/07-pointers/0-Overview.md) | - | [Assignment](01-topics/07-pointers/2-Assignment.md) |
| 8 | **File I/O, Structs & A Very Brief Introduction to Object-Oriented Concepts** | Work with file input/output streams, define and use `struct`s, and get a first glance at OOP mindset | | | | | 8 | **File I/O, Structs & A Very Brief Introduction to Object-Oriented Concepts** | Work with file input/output streams, define and use `struct`s, and get a first glance at OOP mindset | [Overview](01-topics/08-file-struct/0-Overview.md) | [Workshop](01-topics/08-file-struct/1-Workshop.md) | |
| 9 | **Mini Project** | Integrate the learned topics into a hands-on project: design, implement, test a moderately sized application showcasing applied algorithms, data structures and modular code. | | | | | 9 | **Mini Project** | Integrate the learned topics into a hands-on project: design, implement, test a moderately sized application showcasing applied algorithms, data structures and modular code. | | - | - |
| 10 | **Final Project & Wrap-up** | Launch the final project with full guidelines: design documentation, coding standards, testing, and presentation. Wrap up with reflections and next steps in C++ or software development. | | | | | 10 | **Final Project & Wrap-up** | Launch the final project with full guidelines: design documentation, coding standards, testing, and presentation. Wrap up with reflections and next steps in C++ or software development. | | - | - |
--- ---