1/19
Flashcards about Object-Oriented Programming (OOP) techniques, concepts, and benefits.
Name | Mastery | Learn | Test | Matching | Spaced |
---|
No study sessions yet.
What is Unstructured Programming?
A programming language where the entire logic is written as a single continuous block, making it difficult to modify and debug.
What is an example of an Unstructured Programming language?
Assembly Language
What are the limitations of unstructured programming?
Global data, difficult maintenance with increasing code size, lack of independent data processing, and no code reusability.
What is Procedural Programming?
A programming paradigm, derived from structured programming, based on the concept of the procedure call.
What are some examples of Procedural Programming languages?
FORTRAN, ALGOL, COBOL, BASIC, Pascal, C, C++
What are the limitations of Procedural Programming?
Maintaining the code becomes difficult as the code size grows, major changes can result in many code alterations, code is not close to real-world scenarios and preventing accidental modification of data is limited
What is Object-Oriented Programming?
A programming model based upon the concept of objects, containing data (attributes) and code (methods), that interact with the real world.
What are some examples of Object-Oriented Programming languages?
Java, C++, C#, Python, PHP, JavaScript, Ruby, Perl, Objective-C, Dart, Swift, Scala
What is the key difference between Structured Programming and OOP?
OOP breaks down programming tasks into objects, encapsulating data and methods, while structured programming organizes the program into a hierarchy of subprograms.
In OOP, what is an Object?
A real-world entity, such as a pen, chair, or table.
What is Object-Oriented Programming (OOP)?
A methodology to design a program using classes and objects, simplifying software development and maintenance.
What are the key concepts of OOP?
Object, Class, Inheritance, Polymorphism, Abstraction, Encapsulation
What are the advantages of using OOP?
Simple, data security, reusability, modularity.
What does OOAD stand for?
Object-Oriented Analysis and Design
In OOAD, what is Analysis?
Understanding, finding, and describing concepts in the problem domain.
In OOAD, what is Design?
Understanding and defining software solutions/objects that represent the analysis concepts.
What is OOAD?
A software development approach that emphasizes a logical solution based on objects.
What is Object-Oriented Analysis?
Mapping requirements to the perspective of classes and objects suiting the domain of the requirements.
What is Object-Oriented Design?
The process of an object-oriented approach, providing notation for depicting the system under design.
What is Object-Oriented Programming?
Implementing object-oriented concepts in terms of a co-operative collection of objects, instances of classes forming a hierarchy.