0% found this document useful (0 votes)
25 views4 pages

Differentiate Various Programming Technique That Exist

Uploaded by

assignmentttt12
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
25 views4 pages

Differentiate Various Programming Technique That Exist

Uploaded by

assignmentttt12
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

1.1.

1 DIFFERENTIATE VARIOUS PROGRAMMING TECHNIQUE THAT EXIST:

UNSTRUCTURED PROGRAMMING

Unstructured Programming is a type of programming that generally executes in


sequential order i.e., these programs just not jumped from any line of code and each
line gets executed sequentially. It is also known as non-structured programming that is
capable of creating turning-complete algorithms.

PROCEDURAL PROGRAMMING

It is defined as a programming language derived from the structure programming and


based on calling procedures. The procedures are the functions, routines, or subroutines
that consist of the computational steps required to be carried. It follows a step-by-step
approach in order to break down a task into a set of variables and routines via a
sequence of instructions.

During the program's execution, a procedure can be called at any point, either by other
procedures or by itself. The examples of procedural programming are ALGOL, COBOL,
BASIC, PASCAL, FORTRAN, and C

OBJECT ORIENTED PROGRAMMING

Object-oriented programming is a computer programming design philosophy or


methodology that organizes/ models software design around data or objects rather than
functions and logic. It includes two words, "object" and "oriented". In a dictionary object
is an article or entity that exists in the real world. The meaning of oriented is interested
in a particular kind of thing or entity. In layman's terms, it is a programming pattern that
rounds around an object or entity.
1.1.2 DESCRIBE OBJECT ORIENTED APPROACH

In the object-oriented approach, the focus is on capturing the structure


and behavior of information systems into small modules that combines
both data and process. The main aim of Object Oriented Design (OOD)
is to improve the quality and productivity of system analysis and design
by making it more usable.

Java supports object-oriented approach.This approach helps to


organize complex programs easily.Java implements the real life
aspects in programming.

1.1.3 IDENTIFY THE BENEFITS OF USING OOP APPROACH

Troubleshooting is easier with the OOP language

Suppose the user has no idea where the bug lies if there is an error within the code. Also, the user
has no idea where to look into the code to fix the error. This is quite difficult for standard
programming languages. However, when Object-Oriented Programming is applied, the user
knows exactly where to look into the code whenever there is an error. There is no need to check
other code sections as the error will show where the trouble lies.

It is mainly through encapsulation that makes the objects self-contained. This further helps in
troubleshooting and easier collaborative development.
Code Reusability
One of two important concepts that are provided by Object-Oriented Programming is the concept
of inheritance. Through inheritance, the same attributes of a class are not required to be written
repeatedly. This avoids the issues where the same code has still to be written multiple times in a
code. With the introduction of the concept of classes, the code section can be used as many times
as required in the program. Through the inheritance approach, a child class is created that
inherits the fields and methods of the parent class. The methods and values that are present in the
parent class can be easily overridden. Through inheritance, the features of one class can be
inherited by another class by extending the class. Therefore, inheritance is vital for providing
code reusability and also multilevel inheritance.

Productivity
The productivity of two codes increases through the use of Object-Oriented Programming. This
is because the OOP has provided so many libraries that new programs have become more
accessible. Also, as it provides the facility of code reusability, the length of a code is decreased,
further enhancing the faster development of newer codes and programs.

Data Redundancy
By the term data redundancy, it means that the data is repeated twice. This
means that the same data is present more than one time. In Object-Oriented
Deprogramming the data redundancy is considered to be an advantage. For
example, the user wants to have a functionality that is similar to almost all the
classes. In such cases, the user can create classes with similar functionaries
and inherit them wherever required.

1.1.4 DESCRIBE THE TERMS USED IN OBJECT ORIENTED ANALYSIS AND DESIGN ( OOAD )
Object-oriented analysis ( OOA )
Object-oriented analysis is a method for viewing the interaction of data and
manipulations of data that is based on the object-oriented programming paradigm.

Object-oriented design ( OOD )


Object-oriented design is the process of planning a system of interacting objects for the
purpose of solving a software problem. It is one approach to software design.

Object-oriented programming ( OOP )


Object-oriented programming (OOP) is a computer programming model that organizes
software design around data, or objects, rather than functions and logic. An object can
be defined as a data field that has unique attributes and behavior.

1.2.1 STATE AN EXAMPLE OF OBJECT ORIENTED LANGUAGES

 Lisp
 C++
 Java
 Python

1.2.2 DESCRIBE OBJECT, ATTRIBUTE AND BEHAVIOUR

 An object can be defined as a data field that has unique attributes and behavior.
OOP focuses on the objects that developers want to manipulate rather than the
logic required to manipulate them.
 Attributes are the characteristics of the class that help to distinguish it from other
classes.
 Behaviors are the tasks that an object performs.

You might also like