FUNDAMENTALS OF COMPUTER

COMPUTER PROGRAMMING FUNDAMENTALS

WHAT IS PROGRAMMING

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
WHAT IS OBJECT ORIENTED PROGRAMMING
A
this means that control is passed downwards only through the hierarchy
B
the object have relationships with one another
C
in the top-down design model, programs are drawn as rectangles
D
top-down design means that the whole program is broken down into smaller sections that are known as modules
E
beneficial for organizing and coding computer programs which employ a hierarchy of modules, this means that control is passed downwards
Explanation: 

Detailed explanation-1: -Object oriented programming generally support 4 types of relationships that are: inheritance, association, composition and aggregation.

Detailed explanation-2: -An IS-A relationship is inheritance. The classes which inherit are known as sub classes or child classes. On the other hand, HAS-A relationship is composition. In OOP, IS-A relationship is completely inheritance. This means, that the child class is a type of parent class.

Detailed explanation-3: -In systems analysis, a one-to-many relationship is a type of cardinality that refers to the relationship between two entities (see also entity–relationship model) A and B in which an element of A may be linked to many elements of B, but a member of B is linked to only one element of A.

Detailed explanation-4: -A relationship is a two-way association between two objects. Relationships associate objects with other objects. Create relationships to link objects with each other, so that when your users view records, they can also see related data.

Detailed explanation-5: -IS-A Relationship: In object-oriented programming, the concept of IS-A is a totally based on Inheritance, which can be of two types Class Inheritance or Interface Inheritance. It is just like saying “A is a B type of thing". For example, Apple is a Fruit, Car is a Vehicle etc.

There is 1 question to complete.