ACTUAL UPDATED Questions and
CORRECT Answers
object-oriented programming - CORRECT ANSWER- a programming language model in
which programs are organized around data, or objects, rather than functions and logic
Unified Modeling Language - CORRECT ANSWER- a software engineering language that
was developed to create a standard way of visualizing the design of a system
UML Class Diagrams - CORRECT ANSWER- describe the structure of a system by showing
the system's classes and how they relate to one another
Inheritance, polymorphism, abstraction and encapsulation - CORRECT ANSWER- 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 -
CORRECT ANSWER- Characteristics of object
Objects - CORRECT ANSWER- an entity which has a state (data) and a defined set of
operations
data and behavior - CORRECT ANSWER- an object consists of ?
data and behavior - CORRECT ANSWER- comprises an interface, which specifies how the
object may be utilized by any of various consumers of the object
Class - CORRECT ANSWER- 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 - CORRECT ANSWER- state is also known as
member functions or methods - CORRECT ANSWER- behavior is also known as
Class - CORRECT ANSWER- contains data field descriptions (properties, fields, data
members, or attributes)
data field descriptions - CORRECT ANSWER- these are usually field types and names that
will be associated with state variables at program run time
state variables - CORRECT ANSWER- either belong to the class or specific instances of the
class
behavior - CORRECT ANSWER- the behavior of class or its instances is defined using
meethods
Methods - CORRECT ANSWER- are subroutines with the ability to operate on objects or
classes
Method - CORRECT ANSWER- is a procedure associated with a message and an object
compiler-generated code - CORRECT ANSWER- special methods such as contructors,
destructors, and conversion operators
- accessor methods
- mutator methods
- manager methods - CORRECT ANSWER- three types of method
accessor methods - CORRECT ANSWER- used to read data values of an object
mutator methods - CORRECT ANSWER- used to modify the data of an object