From 4d1ff3a370ef5628f0ebb921d19316ab77e8df2d Mon Sep 17 00:00:00 2001 From: Mehrdad Shirvani Date: Tue, 6 Jan 2026 11:35:15 +0330 Subject: [PATCH] update --- .../01-problem-solving/2-Assignment.md | 28 +++++----- .../02-basics-and-data-types/0-Overview.md | 2 +- .../03-conditions-loops/0-Overview.md | 4 +- .../03-conditions-loops/1-Workshop.md | 26 ++++++--- .../01-topics/04-function-1/0-Overview.md | 2 +- .../01-topics/04-function-1/2-Assignment.md | 21 ++++--- src/content/01-topics/05-arrays/1-Workshop.md | 10 ++-- .../{2-Assignement.md => 2-Assignment.md} | 0 .../01-topics/06-functions-2/0-Overview.md | 2 +- .../{2-Assignement.md => 2-Assignment.md} | 3 +- .../01-topics/07-pointers/0-Overview.md | 2 +- .../01-topics/07-pointers/2-Assignment.md | 55 +++++++++++++++++++ .../01-topics/07-pointers/5-TASlides.md | 2 +- .../01-topics/08-file-struct/0-Overview.md | 2 +- .../01-topics/08-file-struct/1-Workshop.md | 47 ++++++++++++++++ .../08-file-struct/4-ProfessorSlides.md | 14 +++++ .../01-topics/08-file-struct/5-TASlides.md | 9 +++ .../10-project-overview/0-Overview.md | 9 +++ src/content/index.md | 13 +++-- 19 files changed, 198 insertions(+), 53 deletions(-) rename src/content/01-topics/05-arrays/{2-Assignement.md => 2-Assignment.md} (100%) rename src/content/01-topics/06-functions-2/{2-Assignement.md => 2-Assignment.md} (99%) create mode 100644 src/content/01-topics/07-pointers/2-Assignment.md create mode 100644 src/content/01-topics/08-file-struct/1-Workshop.md create mode 100644 src/content/01-topics/08-file-struct/4-ProfessorSlides.md create mode 100644 src/content/01-topics/08-file-struct/5-TASlides.md create mode 100644 src/content/01-topics/10-project-overview/0-Overview.md diff --git a/src/content/01-topics/01-problem-solving/2-Assignment.md b/src/content/01-topics/01-problem-solving/2-Assignment.md index d29f442..ddc41db 100644 --- a/src/content/01-topics/01-problem-solving/2-Assignment.md +++ b/src/content/01-topics/01-problem-solving/2-Assignment.md @@ -14,24 +14,24 @@ ## 📦 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) +- **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.usercontent.google.com/u/0/uc?id=1V3GwUGKBhvXT5Ab1fDy7Ek27x-1Q4Nny&export=download) --- ## 🧾 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) | | +| Question # | Question (Download) | Official Solution (Download) | Additional Notes | +| ---------- | ---------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | ---------------- | +| 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.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.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.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.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.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.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.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.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.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? > Some solutions will be uploaded after the workshop or assignment deadline. Check back later or ask your TA. diff --git a/src/content/01-topics/02-basics-and-data-types/0-Overview.md b/src/content/01-topics/02-basics-and-data-types/0-Overview.md index 18fa27b..e055701 100644 --- a/src/content/01-topics/02-basics-and-data-types/0-Overview.md +++ b/src/content/01-topics/02-basics-and-data-types/0-Overview.md @@ -87,7 +87,7 @@ ## 🛠️ Workshop & Assignments - 💬 [Workshop Questions](01-topics/02-basics-and-data-types/1-Workshop.md) - 🧮 [Assignments](01-topics/02-basics-and-data-types/2-Assignment.md) -- ❓ [Q&A and Common Issues]() + --- ## 🌐 Additional Resources diff --git a/src/content/01-topics/03-conditions-loops/0-Overview.md b/src/content/01-topics/03-conditions-loops/0-Overview.md index cd43965..8f43a55 100644 --- a/src/content/01-topics/03-conditions-loops/0-Overview.md +++ b/src/content/01-topics/03-conditions-loops/0-Overview.md @@ -1,8 +1,8 @@ # 🧭 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 diff --git a/src/content/01-topics/03-conditions-loops/1-Workshop.md b/src/content/01-topics/03-conditions-loops/1-Workshop.md index ee53461..ddef36c 100644 --- a/src/content/01-topics/03-conditions-loops/1-Workshop.md +++ b/src/content/01-topics/03-conditions-loops/1-Workshop.md @@ -14,18 +14,30 @@ ## 📦 Download All Questions and Solutions -- **All questions (zip):** [Download all questions]() -- **All official solutions (zip):** [Download all official solutions]() --- ## 🧾 Official Questions & Solutions +### Part 1: Conditions -| Question # | Question (Download) | Official Solution (Download) | Additional Notes | -| ---------- | ------------------- | ---------------------------- | ---------------- | -| 01 | [Download PDF]() | [Download Solution (zip)]() | | -| 02 | [Download PDF]() | [Download Solution (zip)]() | | -| 03 | [Download PDF]() | [Download Solution (zip)]() | | +- **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) +| 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? > Some solutions will be uploaded after the workshop or assignment deadline. Check back later or ask your TA. diff --git a/src/content/01-topics/04-function-1/0-Overview.md b/src/content/01-topics/04-function-1/0-Overview.md index 0d41eb4..2f9db66 100644 --- a/src/content/01-topics/04-function-1/0-Overview.md +++ b/src/content/01-topics/04-function-1/0-Overview.md @@ -103,7 +103,7 @@ ## 🛠️ Workshop & Assignments - 💬 [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]() --- diff --git a/src/content/01-topics/04-function-1/2-Assignment.md b/src/content/01-topics/04-function-1/2-Assignment.md index 6155e7e..b7eca2a 100644 --- a/src/content/01-topics/04-function-1/2-Assignment.md +++ b/src/content/01-topics/04-function-1/2-Assignment.md @@ -14,22 +14,21 @@ ## 📦 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) --- ## 🧾 Official Questions & Solutions -| 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) | | -| 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) | | -| 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) | | -| 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) | | +| 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) | | +| 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) | | +| 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) | | +| 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) | | > [!note] Not available yet? diff --git a/src/content/01-topics/05-arrays/1-Workshop.md b/src/content/01-topics/05-arrays/1-Workshop.md index 47fcbc2..4392764 100644 --- a/src/content/01-topics/05-arrays/1-Workshop.md +++ b/src/content/01-topics/05-arrays/1-Workshop.md @@ -14,17 +14,17 @@ ## 📦 Download All Questions and Solutions -- **All questions (zip):** [Download all questions](https://drive.usercontent.google.com/u/0/uc?id=19EIICYkB7sUmsEVB6da5eZ5MQ7WTuP88&export=download) -- **All official solutions (zip):** [Download all official solutions](https://drive.usercontent.google.com/u/0/uc?id=1j0gtsHGPOcpH8GOVAyvxFqecCze1SQH0&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=1NhC9TOdZf5dw56nVX38h1YwtBLmZuqS8&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=1LZysw18yVMxIeSfI5myQ-PJEtHD5_Qgl&export=download) | [Download Solution (cpp)](https://drive.usercontent.google.com/u/0/uc?id=1piw1JTjDYyrfhyDaFOlzbwsyp0exbMws&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) | | -| 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) | | +| 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=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=1hKO-hHmV1rI3d0dDsQLrsBUElP3zMtYL&export=download) | [Download Solution (cpp)](https://drive.usercontent.google.com/u/0/uc?id=1LpzZRFvajkgtBU4M-Ilkrj6yKyfH9LQC&export=download) | | > [!note] Not available yet? > Some solutions will be uploaded after the workshop or assignment deadline. Check back later or ask your TA. diff --git a/src/content/01-topics/05-arrays/2-Assignement.md b/src/content/01-topics/05-arrays/2-Assignment.md similarity index 100% rename from src/content/01-topics/05-arrays/2-Assignement.md rename to src/content/01-topics/05-arrays/2-Assignment.md diff --git a/src/content/01-topics/06-functions-2/0-Overview.md b/src/content/01-topics/06-functions-2/0-Overview.md index 8670064..5fb2565 100644 --- a/src/content/01-topics/06-functions-2/0-Overview.md +++ b/src/content/01-topics/06-functions-2/0-Overview.md @@ -60,7 +60,7 @@ ## 🛠️ Workshop & Assignments - 💬 [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]() --- diff --git a/src/content/01-topics/06-functions-2/2-Assignement.md b/src/content/01-topics/06-functions-2/2-Assignment.md similarity index 99% rename from src/content/01-topics/06-functions-2/2-Assignement.md rename to src/content/01-topics/06-functions-2/2-Assignment.md index d72be57..59da211 100644 --- a/src/content/01-topics/06-functions-2/2-Assignement.md +++ b/src/content/01-topics/06-functions-2/2-Assignment.md @@ -14,8 +14,7 @@ ## 📦 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) --- diff --git a/src/content/01-topics/07-pointers/0-Overview.md b/src/content/01-topics/07-pointers/0-Overview.md index 688eeb9..fe8bb9d 100644 --- a/src/content/01-topics/07-pointers/0-Overview.md +++ b/src/content/01-topics/07-pointers/0-Overview.md @@ -70,7 +70,7 @@ --- ## 🛠️ Workshop & Assignments -- 🧮 [Assignments](2-Assignment.md) +- 🧮 [Assignments](01-topics/04-function-1/2-Assignment.md) - ❓ [Q&A and Common Issues]() --- diff --git a/src/content/01-topics/07-pointers/2-Assignment.md b/src/content/01-topics/07-pointers/2-Assignment.md new file mode 100644 index 0000000..d29f442 --- /dev/null +++ b/src/content/01-topics/07-pointers/2-Assignment.md @@ -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 doesn’t 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 — that’s what we’re 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. + diff --git a/src/content/01-topics/07-pointers/5-TASlides.md b/src/content/01-topics/07-pointers/5-TASlides.md index de1a361..6816350 100644 --- a/src/content/01-topics/07-pointers/5-TASlides.md +++ b/src/content/01-topics/07-pointers/5-TASlides.md @@ -4,4 +4,4 @@ ## View PDF Online ### Pointers - \ No newline at end of file + diff --git a/src/content/01-topics/08-file-struct/0-Overview.md b/src/content/01-topics/08-file-struct/0-Overview.md index cf2660e..7e0d95a 100644 --- a/src/content/01-topics/08-file-struct/0-Overview.md +++ b/src/content/01-topics/08-file-struct/0-Overview.md @@ -99,7 +99,7 @@ --- ## 🛠️ Workshop & Assignments -- 🧮 [Assignments](2-Assignment.md) +- 🧮 [Assignments](01-topics/04-function-1/2-Assignment.md) - ❓ [Q&A and Common Issues]() --- diff --git a/src/content/01-topics/08-file-struct/1-Workshop.md b/src/content/01-topics/08-file-struct/1-Workshop.md new file mode 100644 index 0000000..d5d7cb5 --- /dev/null +++ b/src/content/01-topics/08-file-struct/1-Workshop.md @@ -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 doesn’t 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 — that’s what we’re 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. + diff --git a/src/content/01-topics/08-file-struct/4-ProfessorSlides.md b/src/content/01-topics/08-file-struct/4-ProfessorSlides.md new file mode 100644 index 0000000..f704c0a --- /dev/null +++ b/src/content/01-topics/08-file-struct/4-ProfessorSlides.md @@ -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 + + + +### Lecture 09 + + + diff --git a/src/content/01-topics/08-file-struct/5-TASlides.md b/src/content/01-topics/08-file-struct/5-TASlides.md new file mode 100644 index 0000000..ff5d800 --- /dev/null +++ b/src/content/01-topics/08-file-struct/5-TASlides.md @@ -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 + + + diff --git a/src/content/01-topics/10-project-overview/0-Overview.md b/src/content/01-topics/10-project-overview/0-Overview.md new file mode 100644 index 0000000..fa15739 --- /dev/null +++ b/src/content/01-topics/10-project-overview/0-Overview.md @@ -0,0 +1,9 @@ + +HOW TO DEBUG + + + + +how to collaborate + +unicode? color? diff --git a/src/content/index.md b/src/content/index.md index 6624daf..77d3748 100644 --- a/src/content/index.md +++ b/src/content/index.md @@ -76,12 +76,13 @@ We’re 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) | | 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) | -| 5 | **Arrays, Strings & Multidimensional Data** | Explore static arrays, C++ strings and multidimensional data structures. Incorporate memory-thinking in simple data manipulations. | | | | -| 6 | **Advanced Functions & Recursion** | Deepen function usage with recursion, higher-level thinking about how functions call themselves, and problem-solving patterns that leverage recursion. | | | | -| 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. | | | | -| 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 | | | | -| 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. | | | | +| 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. | [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. | [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 | [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. | | - | - | +| 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. | | - | - | + ---