FUNDAMENTALS OF COMPUTER

COMPUTER PROGRAMMING FUNDAMENTALS

WHAT IS PROGRAMMING

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Which paradigm dictates WHAT should be done but not HOW it should be done?
A
Declarative
B
Imperative
C
Object Oriented
D
Low level
Explanation: 

Detailed explanation-1: -They are the opposite of declarative paradigms, these focus on WHAT the program should accomplish without specifying HOW the program should achieve that result.

Detailed explanation-2: -In computer science, declarative programming is a programming paradigm-a style of building the structure and elements of computer programs-that expresses the logic of a computation without describing its control flow.

Detailed explanation-3: -Declarative programming is a paradigm describing WHAT the program does, without explicitly specifying its control flow. Imperative programming is a paradigm describing HOW the program should do something by explicitly specifying each instruction (or statement) step by step, which mutate the program’s state.

Detailed explanation-4: -Procedural Knowledge means how a particular thing can be accomplished. While Declarative Knowledge means basic knowledge about something.

Detailed explanation-5: -Declarative programming is a method to abstract away the control flow for logic required for software to perform an action, and instead involves stating what the task or desired outcome is. Declarative programming is a high-level programming concept, which is the opposite of imperative programming.

There is 1 question to complete.