logo

Fundamentals of Programming

9 Pages1287 Words62 Views
   

Added on  2023-01-09

About This Document

This report provides an insight into the paradigms of programming, specifically the four pillars of object-oriented programming: inheritance, abstraction, encapsulation, and polymorphism. It explains each principle and its advantages with examples. The report concludes by highlighting the importance of these principles in programming.

Fundamentals of Programming

   Added on 2023-01-09

ShareRelated Documents
Fundamentals of
Programming
Table of Contents
Fundamentals of Programming_1
Introduction......................................................................................................................................3
Task 1...............................................................................................................................................3
Illustrate four principles of OOP's (object oriented programming) and their advantages..........3
Conclusion.......................................................................................................................................8
References........................................................................................................................................9
Fundamentals of Programming_2
Introduction
Programming refers to step by step process related with designing as well as development
of distinct set of programs for accomplishment of peculiar computing outcome. Generally, it
implies process associated with original development of computer problem into executable
programs (Dai, 2019). This comprises of different activities like analysis, development of
understanding, generation of algorithms, their verification and many more. This report will
provide an insight into paradigms of programming which are also referred to as four pillars.
Task 1
Illustrate four principles of OOP's (object oriented programming) and their advantages.
Programming paradigms is defined as style of programming that is liable for solving
problems by usage of some kind of programming languages by utilisation of tools as well as
techniques. Object oriented programming refers to computer programming model that is liable
for organising software designs across objects or data instead of logic and functions. In this case
object refers to data field that comprises of specific behaviour and attributes. The four pillars of
programming paradigms are illustrated beneath:
Inheritance: The mechanism associated with acquisition of properties of one class along
with behaviour of parent class is referred to as inheritance (Kelly, 2019). This implies that
programmer can reuse, modify or extend behaviour and attributes of other class. Syntax of
inheritance is illustrated below:
Syntax:
class Base
{
//Body of the base class
};
class Derived : access_specifier Base
{
// Body of derived class
};
Fundamentals of Programming_3

End of preview

Want to access all the pages? Upload your documents or become a member.

Related Documents
Assignment On Basic Mathematical Operations
|5
|460
|16

OOPS Concepts: C++
|10
|1216
|314