COMPUTER PROGRAMMING FUNDAMENTALS
WHAT IS PROGRAMMING
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
object-oriented
|
|
procedural
|
|
scripting
|
|
aspect-oriented
|
Detailed explanation-1: -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-2: -Disadvantages of Procedural Programming The code reusability feature is not present in procedural-oriented programming. We have to rewrite the same programming code many times. Difficult to relate to real-world objects. We can not perform operations like encapsulation, inheritance, etc.
Detailed explanation-3: -Declarative programming is where you say what you want without having to say how to do it. With procedural programming, you have to specify exact steps to get the result. For example, SQL is more declarative than procedural, because the queries don’t specify steps to produce the result.