Table of Contents

Introduction to Object Oriented Programming (OOPs)

Definition:

Programming paradigms are fundamental styles of programming that dictate how solutions to problems are structured and expressed.

Types:

  1. Imperative Programming: Focuses on how to execute, defining control flow as statements that change a program's state. There are two main types within imperative programming which are widely used nowadays : Functional Programming and Object Oriented Programing (OOPs)
  2. Declarative Programming: Focuses on what to execute, defining program logic without explicitly describing the control flow.
  3. Structured Programming: Enhances imperative programming by using a hierarchy of blocks or structures, making the code more understandable and manageable.
  4. Event-Driven Programming: The flow of the program is determined by events such as user actions (mouse clicks, key presses), sensor outputs, or message passing.
  5. Concurrent Programming: Allows multiple processes to be executed simultaneously, improving the performance of the program.

Imperative Programming:

Imperative programming is a paradigm where the programmer instructs the machine how to change its state. This involves writing sequences of commands for the computer to perform. Examples include:

Key Characteristics:

Functional Programming: