COMPUTER PROGRAMMING FUNDAMENTALS
WHAT IS PROGRAMMING
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
Object-oriented
|
|
Logic
|
|
Procedural
|
|
None of the above
|
Detailed explanation-1: -Following are the major disadvantages of procedural oriented programming: Data is exposed to the entire software, hence there is no data security. Real-world objects are difficult to relate to.
Detailed explanation-2: -Procedural programming is a programming paradigm built around the idea that programs are sequences of instructions to be executed. They focus heavily on splitting up programs into named sets of instructions called procedures, analogous to functions.
Detailed explanation-3: -The Procedural Programming follows a Top-Down approach. The Object Oriented Programming follows a Bottom-Up approach. This programming model does not give importance to data. It prioritizes the functions along with the sequence of actions that needs to follow.
Detailed explanation-4: -Examples of procedural programming are FORTRAN, ALGOL, COBOL, BASIC, Pascal, and C.
Detailed explanation-5: -Procedural programming organizes the code into chunks of procedures, Object-oriented code helps the programmer think of objects which represent a concept or real-world component, and Functional programming orients the programmer in the world of pure functions.