FUNDAMENTALS OF COMPUTER

COMPUTER PROGRAMMING FUNDAMENTALS

WHAT IS PROGRAMMING

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Which of the following is unique to the object-oriented paradigm of programming?
A
Support for abstract data types (ADTs)
B
Support for the concepts of encapsulation and inheritance
C
Support for control structures
D
Support for the practice of code reuse
Explanation: 

Detailed explanation-1: -There are three major features in object-oriented programming that makes them different than non-OOP languages: encapsulation, inheritance and polymorphism.

Detailed explanation-2: -Which of the following Paradigm is followed by Object Oriented Language Design? b) Data Controlling access to code. Explanation: Object-oriented programming organises a program around its data(that is, objects) and a set of well-defined interfaces to that data.

Detailed explanation-3: -Object-oriented programming (OOP) is defined as a programming paradigm (and not a specific language) built on the concept of objects, i.e., a set of data contained in fields, and code, indicating procedures – instead of the usual logic-based system.

There is 1 question to complete.