CS-303 Programming Fundamentals | C++ Programming Tasks
CS-303 Programming Fundamentals
Tasks
- Learn: Understand the purpose of common C++ escape sequences, including
\n, \t, \\, \", \', and \r.
- Practice: Write and run Examples 1–3
- Modify: Change the code and observe how the output changes.
- Verify Output: Make sure each program compiles and produces the expected output.
Submission and Checking
- Due Date: 15 October 2026
- Checking: All 3 examples will be checked on your mobile phone or laptop.
Note: Complete all tasks before the due date and keep your programs ready for checking.
Tasks
- Learn: Understand the purpose of the endl and setw manipulators in C++.
- Practice: Write and run Examples 1–3 and complete Coding Exercises 1–3.
- Modify: Change the code and observe how the output changes.
- Verify Output: Make sure each program compiles and produces the expected output.
Submission and Checking
- Due Date: 15 October 2026
- Checking: All 3 examples and 3 coding exercises will be checked on your mobile phone or laptop.
Note: Complete all tasks before the due date and keep your programs ready for checking.
Topic 3: if Statement - Conditional Structures
Tasks
- Learn: Understand the purpose of the
if statement of in C++.
- Practice: Write and run Examples 1–6 and complete Coding Exercises 1–7.
- Modify: Change the code and observe how the output changes.
- Verify Output: Make sure each program compiles and produces the expected output.
Submission and Checking
- Due Date: 21 October 2026
- Checking: All 6 examples and 7 coding exercises will be checked on your mobile phone or laptop.
Note: Complete all tasks before the due date and keep your programs ready for checking.
–
Topic 3: switch Statement - Conditional Structures
Tasks
- Learn: Understand the purpose of the
switch in C++.
- Practice: Write and run Examples 1–6 and complete Coding Exercises 9–14 in the
swtich section.
- Modify: Change the code and observe how the output changes.
- Verify Output: Make sure each program compiles and produces the expected output.
Submission and Checking
- Due Date: 22 October 2026
- Checking: All 6 examples and 7 coding exercises will be checked on your mobile phone or laptop.
Note: Complete all tasks before the due date and keep your programs ready for checking.
Topic 4: while Loop
Tasks
- Learn: Understand the purpose of the
while in C++.
- Practice: Write and run
Examples 1–5. Then complete the Output Practice and Fix the Mistakes exercises.
- Modify: Change the code and observe how the output changes.
- Verify Output: Make sure each program compiles and produces the expected output.
Submission and Checking
Due Date: 29 October 2026
Submission: Write all examples, output practice questions with answers, and find-the-mistake questions with corrections in your notebook. Also, write and run the programs on your mobile phone or laptop.
Note: Complete all tasks before the due date and keep your programs ready for checking.
Topic 5: do while Loop
Tasks
- Learn: Understand the purpose of the
do-while in C++.
- Practice: Write and run Coding Exercises 12, 14, 15,16 in the
do-while section.
- Modify: Change the code and observe how the output changes.
- Verify Output: Make sure each program compiles and produces the expected output.
Submission and Checking
- Due Date: 30 October 2026
- Submission: Write all coding exercises, in your notebook. Also, write and run the programs on your mobile phone or laptop.
-
Note: Complete all tasks before the due date and keep your programs ready for checking.
Topic 6: for Loop
Tasks
- Learn: Understand the purpose of the
for loop in C++.
- Practice: Write and run
Examples 1–11.
- Modify: Change the code and observe how the output changes.
- Verify Output: Make sure each program compiles and produces the expected output.
Submission and Checking
- Due Date: 05 November 2026
- Submission: Write all the examples in your notebook. Then, type and run each program on your mobile phone or laptop.
- Note: Complete all tasks before the due date and keep your programs ready for checking.
Topic 7: for Loop
Tasks
- Learn: Understand the purpose of the
for loop in C++.
- Practice: Write and run Coding Exercises 20-28 in the
for Loop section.
- Modify: Change the code and observe how the output changes.
- Verify Output: Make sure each program compiles and produces the expected output.
Submission and Checking
- Due Date: 05 November 2026
- Submission: Write all coding exercises, in your notebook. Also, write and run the programs on your mobile phone or laptop.
- Note: Complete all tasks before the due date and keep your programs ready for checking.