EXAM QUESTIONS AND ANSWERS
100% SOLVED
object-oriented programming - ✔✔a programming language model in which
programs are organized around data, or objects, rather than functions and
logic
Unified Modeling Language - ✔✔a software engineering language that was
developed to create a standard way of visualizing the design of a system
UML Class Diagrams - ✔✔describe the structure of a system by showing
the system's classes and how they relate to one another
Inheritance, polymorphism, abstraction and encapsulation - ✔✔Four main
concepts of object oriented programming
- decomposition of programs into a number of entities
- consist of data and function
- the data of an object can be accessed only by the functions associated
with that object - ✔✔Characteristics of object
1
©JOSHCLAY 2024/2025. YEAR PUBLISHED 2024.
, Objects - ✔✔an entity which has a state (data) and a defined set of
operations
data and behavior - ✔✔an object consists of ?
data and behavior - ✔✔comprises an interface, which specifies how the
object may be utilized by any of various consumers of the object
Class - ✔✔an extensible program-code-template for creating objects,
providing initial values for state (member variables) and implementations of
behavior (member functions or methods)
member variables - ✔✔state is also known as
member functions or methods - ✔✔behavior is also known as
Class - ✔✔contains data field descriptions (properties, fields, data
members, or attributes)
data field descriptions - ✔✔these are usually field types and names that will
be associated with state variables at program run time
state variables - ✔✔either belong to the class or specific instances of the
class
behavior - ✔✔the behavior of class or its instances is defined using
meethods
2
©JOSHCLAY 2024/2025. YEAR PUBLISHED 2024.