COMPUTER FUNDAMENTALS

COMPUTER SOFTWARE

PROGRAMMING LANGUAGES

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
“Contain both data and the procedures that read or manipulate that data". This statement describe which programming paradigm?
A
Logic
B
Object Oriented
C
Procedural
D
None of the above
Explanation: 

Detailed explanation-1: -In procedural programming, data moves freely within the system from one function to another. In OOP, objects can move and communicate with each other via member functions.

Detailed explanation-2: -The procedural programming paradigm is where program code is divided up into procedures, which are discrete blocks of code that carry out a single task. Procedures, also called subroutines or functions, contain a series of computational steps to be carried out in the order specified by the programmer.

Detailed explanation-3: -Once the data has been defined for what it means to be an object, then the programmer needs ways to manipulate that data. These ways are called functions.

Detailed explanation-4: -Object-oriented programming (OOP) is a programming paradigm based on the concept of “objects", which may contain data, in the form of fields, often known as attributes; and code, in the form of procedures, often known as methods.

There is 1 question to complete.