Skip to content

Syntrojex/cpp-assignments

Repository files navigation

πŸ“‚ C++ Assignments

Programming Fundamentals Β· Object-Oriented Programming | FAST NUCES BS-SE


πŸ“‹ Overview

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.


πŸ—‚οΈ Assignments

# 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

πŸ“ˆ Learning Progression

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

πŸ’‘ Concepts Covered

// 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 Details

Course Instructor Semester
Programming Fundamentals Ms. Anosha Khan Fall 2025
Object-Oriented Programming Ma'am Hina Iqbal Spring 2026

🎯 Skills Developed

  • Problem Solving
  • Algorithmic Thinking
  • Memory Management
  • Object-Oriented Design
  • File Handling
  • Pointer Manipulation
  • Clean and Modular Programming
  • Debugging and Testing

⭐ If this repository helped you, consider giving it a star!

Part of my learning journey at FAST NUCES BS-SE

Created by Syntrojex

About

πŸ“‚ C++ Assignments β€” Programming Fundamentals, OOPs & DSA | FAST NUCES BS-SE

Topics

Resources

Stars

9 stars

Watchers

0 watching

Forks

Contributors

Languages