Programming
Paradigms
UNIT 1: PROGRAMMING
HNC COMPUTING
1
, Contents
Objected Oriented Programming..........................................................................................................2
Procedural Programming.......................................................................................................................3
Event Driven Programming....................................................................................................................3
Programming paradigm with given source code...................................................................................3
Objected Oriented Programming.......................................................................................................4
Evaluation......................................................................................................................................4
Comparison....................................................................................................................................4
Characteristics:..............................................................................................................................5
Code structure...............................................................................................................................5
Procedural Programming...................................................................................................................6
Evaluation......................................................................................................................................7
Comparison....................................................................................................................................7
Characteristics:..............................................................................................................................8
Code structure...............................................................................................................................8
Event Driven Programming................................................................................................................9
Evaluation....................................................................................................................................10
Comparison..................................................................................................................................10
Characteristics.............................................................................................................................11
Code structure.............................................................................................................................11
References...........................................................................................................................................13
Objected Oriented Programming
Object-Oriented Programming (OOP) is a programming
paradigm that organizes software design around objects
that interact with each other. It provides a way to
structure and design code based on real-world objects
with their attributes (data) and behaviors (methods).
OOP helps in creating modular, reusable, and
maintainable code.
2
Paradigms
UNIT 1: PROGRAMMING
HNC COMPUTING
1
, Contents
Objected Oriented Programming..........................................................................................................2
Procedural Programming.......................................................................................................................3
Event Driven Programming....................................................................................................................3
Programming paradigm with given source code...................................................................................3
Objected Oriented Programming.......................................................................................................4
Evaluation......................................................................................................................................4
Comparison....................................................................................................................................4
Characteristics:..............................................................................................................................5
Code structure...............................................................................................................................5
Procedural Programming...................................................................................................................6
Evaluation......................................................................................................................................7
Comparison....................................................................................................................................7
Characteristics:..............................................................................................................................8
Code structure...............................................................................................................................8
Event Driven Programming................................................................................................................9
Evaluation....................................................................................................................................10
Comparison..................................................................................................................................10
Characteristics.............................................................................................................................11
Code structure.............................................................................................................................11
References...........................................................................................................................................13
Objected Oriented Programming
Object-Oriented Programming (OOP) is a programming
paradigm that organizes software design around objects
that interact with each other. It provides a way to
structure and design code based on real-world objects
with their attributes (data) and behaviors (methods).
OOP helps in creating modular, reusable, and
maintainable code.
2