Posts

Iye Faith Brima

 Assignment    Q2. Software development paradigms are approaches or methodologies used to design, structure, and implement software systems. Here are the major paradigms: --- 1. Imperative Programming Paradigm The program describes how a computation is performed, step by step. Types: Procedural Programming Uses procedures or functions to break down a problem into smaller parts. Examples: C, Pascal, Fortran Object-Oriented Programming (OOP) Organizes code into objects containing both data (attributes) and methods (functions). Examples: Java, C++, Python, C# --- 2. Declarative Programming Paradigm Specifies what should be done rather than how to do it. Types: Functional Programming Based on mathematical functions without side effects. Examples: Haskell, Lisp, Scala, Elixir Logic Programming Uses facts and rules to derive conclusions. Examples: Prolog, Datalog Constraint-Based Programming Solutions are found by defining constraints rather than explicit instructions. Examples...