15-Day Curriculum: C++ and Python Programming
� Overview:
🛠️ Required Installations:
For C++: - Code::Blocks or Dev C++ (Windows)
g++ via MinGW or WSL (Windows)
g++ via Terminal (Linux/macOS)
Online compilers: repl.it, cpp.sh (for practice)
For Python: - Python 3.11+ (Download from python.org)
Jupyter Notebook (via Anaconda or pip install notebook)
VS Code (with Python extension)
Libraries: - pip install numpy pandas matplotlib
Git for version control: https://git-scm.com/
Total Duration: 20 Days (2 Hours/Day = 40 Hours)
C++: Day 1 to Day 6
Python: Day 7 to Day 20
Projects: 2 Projects in C++, 2 Projects in Python, 1 Capstone Project
� C++ Curriculum (Day 1 to Day 6)
✅ Day 1: Introduction to C++ and Basic Syntax
Notes:
C++ is a general-purpose, high-performance programming language.
Basic syntax includes headers, main() function, semicolons, and {} blocks.
#include<iostream> is used to access standard input/output objects.
Example:
#include<iostream>
using namespace std;
int main() {
cout << "Hello, World!";
return 0;
}
✅ Day 2: Variables, Data Types & Operators
Notes:
Common data types: int, float, double, char, bool, string
Constants declared with const keyword
Typecasting example: (float)a/b
Operators: +, -, *, /, %, >, <, ==, &&, ||, =
Example:
int a = 10, b = 3;
cout << "Sum: " << a + b;
cout << "Division: " << (float)a / b;
✅ Day 3: Conditional Statements and Control Flow
Notes:
Use if, else if, else to control flow based on conditions
switch handles multiple discrete options
Example:
int marks = 85;
if(marks >= 90) cout << "Grade A";
else if(marks >= 75) cout << "Grade B";
else cout << "Grade C";
✅ Day 4: Loops and Arrays
Notes:
for, while, and do-while used for repeated execution
Arrays store multiple elements of the same type
Example:
int arr[5] = {1, 2, 3, 4, 5};
for(int i=0; i<5; i++) cout << arr[i] << " ";
✅ Day 5: Functions and Projects
Notes:
Functions modularize code, increase readability
Use return type, name, parameters
Example:
int add(int a, int b) { return a + b; }
Project 1 – Student Grading System
Input: Names and marks
Output: Total, Average, Grade
Use arrays, loops, and functions
Project 2 – Simple Banking System
Menu options: Deposit, Withdraw, Check Balance
Loop and function-based design
✅ Day 6: Object-Oriented Programming in C++
Topics Covered:
Classes and Objects
Constructors and Destructors
Inheritance
Encapsulation
Polymorphism (compile-time and runtime)
Simple Class-Based Program
� Python Curriculum (Day 7 to Day 20)
✅ Day 7: Python Basics and First Program
Notes:
Python uses indentation instead of braces
Dynamically typed
Example:
print("Hello, Python!")
✅ Day 8: Variables, Data Types, and Type Casting
Notes:
Data types: int, float, str, bool
Use type() to inspect variable type
Example:
x = 10
print(type(x))
✅ Day 9: Operators and Expressions
Notes:
Python supports standard arithmetic, comparison, logical operators
Example:
a = 5
b = 2
print(a + b, a > b, a == b)
✅ Day 10: Conditional Statements
Notes:
Use if, elif, else
Example:
marks = 70
if marks >= 90:
print("Grade A")
elif marks >= 75:
print("Grade B")
else:
print("Grade C")
✅ Day 11: Loops and Patterns
Notes:
for, while loops, range()
Example:
for i in range(5):
print("*" * (i + 1))
Project 1 – ATM Banking System
Menu-based: check, deposit, withdraw
While loop + functions
✅ Day 12: Data Structures – Lists, Tuples, Sets, Dicts
Notes:
List: [], Tuple: (), Set: {}, Dict: {key: value}
Example:
my_dict = {"name": "Alice", "age": 20}
print(my_dict["name"])
✅ Day 13: Functions and Modules
Notes:
Define with def, import with import
Example:
def greet(name):
return f"Hello, {name}"
✅ Day 14: NumPy for Numerical Computing
Notes:
Fast array operations
Use numpy.array(), shape, reshape()
Example:
import numpy as np
arr = np.array([1, 2, 3])
print(arr + 5)
✅ Day 15: Pandas for Data Handling
Notes:
DataFrame and Series
Read CSV using pd.read_csv()
Example:
import pandas as pd
df = pd.read_csv("data.csv")
print(df.head())
✅ Day 16: OOP in Python
Classes and Objects
__init__ constructor
Inheritance
Encapsulation using private variables
Method Overriding
Example:
class Animal:
def speak(self):
print("Sound")
class Dog(Animal):
def speak(self):
print("Bark")
✅ Day 17: File Handling + Error Handling + Debugging
Reading and writing files using open(), with
Try-except blocks for handling exceptions
Common runtime and logic errors
Understanding traceback messages
Using Python debugger (IDLE, VS Code debugger)
GDB basics for C++: setting breakpoints, inspecting variables
Reading compiler and interpreter error messages
Debugging techniques: print debugging, step-through debugging
Reading and writing files using open(), with
Try-except blocks
Common runtime errors
Using Python debugger (IDLE, VS Code debugger)
Reading error messages
GDB basics for C++ debugging
✅ Day 18: Algorithms & Recursion
Fibonacci, Factorial using recursion
Searching: Linear and Binary Search
Sorting: Bubble Sort
Algorithmic thinking and dry-run
✅ Day 19: Version Control with Git & GitHub
What is Git?
Creating repositories
Git commands: init, add, commit, push
Connecting to GitHub
Pushing final code/projects
✅ Day 20: Final Capstone Project
Project combining data + logic + CLI or optional UI
Choose between:
o CLI Tool (like Task Manager, Budget Tracker)
o Data Project (Analysis + Graphs using Pandas & Matplotlib)
o Web Mini Project (Flask/Django basics – optional preview)
� Final Summary
Lan
gua
ge Focus Areas Key Libraries Projects
C+ Syntax, OOP, logic, sorting, N/A Grading System,
+ debugging Banking System
Pyt Data structures, OOP, data analysis, NumPy, Pandas, ATM System,
hon debugging, Git Matplotlib Dashboard, Capstone