0% found this document useful (0 votes)
11 views

Programming Ass

This document discusses different programming paradigms including imperative, procedural, functional, declarative, event-driven, and object-oriented programming. It provides brief definitions and descriptions of each paradigm.
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views

Programming Ass

This document discusses different programming paradigms including imperative, procedural, functional, declarative, event-driven, and object-oriented programming. It provides brief definitions and descriptions of each paradigm.
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

College of natural and computational science

Department of information science


Programming assignment

Name ID number
Adonay Abush UGR/2873/16
Rediet Yeshitila UGR/7887/16

Submitted to: Teshome Alemu


Submission date: May 25, 2024
1. Imperative Programming
Imperative programming is a paradigm where the programmer instructs the machine how to
change its state through statements that modify program state. It is characterized by a sequence
of commands for the computer to perform. The focus is on how to perform tasks and what steps
to take to achieve a desired outcome.

2. Procedural Programming
Procedural programming is a subset of imperative programming. It is centered around the
concept of procedure calls, where code is organized into procedures (also known as routines or
functions). These procedures can be invoked to perform tasks, often breaking down a Problem
into smaller, manageable piece.

3. Functional Programming
Functional programming is a paradigm that treats computation as the evaluation of mathematical
functions and avoids changing-state and mutable data. It emphasizes what to solve rather than
how to solve it, focusing on the application of functions.

4. Declarative Programming
Declarative programming is a paradigm that expresses the logic of computation without
describing its control flow. It focuses on what the result should be rather than how to compute it.

5. Event-Driven Programming
Event-driven programming is a paradigm where the flow of the program is determined by events
such as user actions (mouse clicks, key presses), sensor outputs, or messages from other
programs. It is commonly used in graphical user interfaces and real-time systems.

6. Object-Oriented Programming (OOP)


Object-oriented programming revolves around objects, which combine data (properties) and the
actions (methods) that operate on that data. Objects interact with each other, promoting code
organization and re usability. It organizes software design around data, or objects, rather than
functions and logic.

You might also like