This repository contains all C++ assignments completed during BS-SE at FAST NUCES Lahore.
It covers two courses:
- Programming Fundamentals (PF)
- Object-Oriented Programming (OOP)
The assignments progress from basic selection structures to advanced object-oriented design concepts such as dynamic memory management, operator overloading, aggregation, and composition.
| # | Folder | Course | Topics | Questions |
|---|---|---|---|---|
| 01 | Assignment-1(Basics & Selections) | Programming Fundamentals | Selection Structures Β· if/else Β· ternary | 8 |
| 02 | Assignment-2(Loops & Patterns) | Programming Fundamentals | for Β· while Β· do-while Β· Patterns | 8 |
| 03 | Assignment-3(Functions & Arrays) | Programming Fundamentals | Functions Β· Integer Arrays Β· Sorting | 6 |
| 04 | Assignment-4(Character & Arrays) | Programming Fundamentals | Character Arrays Β· 2D Arrays Β· Encryption | 5 |
| 05 | OOP-Assignment-1(Dynamic Memory & 2D Arrays) | OOP | Dynamic Memory Β· Pointers Β· File Handling | 3 + Bonus |
| 06 | OOP-Assignment-2(Operator Overloading) | OOP | Operator Overloading Β· Rule of Three | 3 |
| 07 | OOP-Assignment-3(Aggregation & Composition) | OOP | Aggregation Β· Composition Β· OOP Relationships | 1 |
PF Assignment 1 β Basics and Selections β if/else, ternary, arithmetic
PF Assignment 2 β Loops and Patterns β patterns, Pascal triangle, prime numbers
PF Assignment 3 β Functions and Arrays β sorting, merging, simulation
PF Assignment 4 β Character and 2D Arrays β encryption, matrix ops, pattern matching
OOP Assignment 1 β Dynamic Memory and 2D Arrays β pointers, file I/O, deep copy
OOP Assignment 2 β Operator Overloading β custom types, Rule of Three
OOP Assignment 3 β Aggregation and Composition - OOP Relationships
// Programming Fundamentals
β Selection Structures (if / else if / else / ternary)
β Loops (for / while / do-while / nested)
β Functions and Modular Design
β Integer Arrays and Sorting Algorithms
β Character Arrays and C-Strings
β 2D Arrays and Matrix Operations
β Pattern Matching and Encryption
// Object-Oriented Programming
β Dynamic Memory Allocation (new / delete)
β Pointer-Based Arrays and Deep Copy
β Rule of Three
β Operator Overloading
β Composition vs Aggregation
β File Handling and Data Processing
β Memory-Safe Programming| Course | Instructor | Semester |
|---|---|---|
| Programming Fundamentals | Ms. Anosha Khan | Fall 2025 |
| Object-Oriented Programming | Ma'am Hina Iqbal | Spring 2026 |
- Problem Solving
- Algorithmic Thinking
- Memory Management
- Object-Oriented Design
- File Handling
- Pointer Manipulation
- Clean and Modular Programming
- Debugging and Testing
Part of my learning journey at FAST NUCES BS-SE
Created by Syntrojex