Open In App

Difference between Procedural and Declarative Knowledge

Last Updated : 28 Jun, 2020
Improve
Improve
Like Article
Like
Save
Share
Report

Procedural Knowledge:
Procedural Knowledge also known as Interpretive knowledge, is the type of knowledge in which it clarifies how a particular thing can be accomplished. It is not so popular because it is generally not used.
It emphasize how to do something to solve a given problem.
Let’s see it with an example:

var a=[1, 2, 3, 4, 5];
var b=[];
for(var i=0;i<a.length;i++)
{
  b.push(a[i]);
}
console.log(b); 

Output is:

[1, 2, 3, 4, 5]

Declarative Knowledge:
Declarative Knowledge also known as Descriptive knowledge, is the type of knowledge which tells the basic knowledge about something and it is more popular than Procedural Knowledge.
It emphasize what to do something to solve a given problem.
Let’s see it with an example:

var a=[1, 2, 3, 4, 5];
var b=a.map(function(number)
{
 return number*1});
console.log(b);

Output is:

[1, 2, 3, 4, 5]

In both example we can see that the output of a given problem is same because the only difference in that two methods to achieve the output or solution of problem.

Difference the Procedural and Declarative Knowledge:

S.NO Procedural Knowledge Declarative Knowledge
1. It is also known as Interpretive knowledge. It is also known as Descriptive knowledge.
2. Procedural Knowledge means how a particular thing can be accomplished. While Declarative Knowledge means basic knowledge about something.
3. Procedural Knowledge is generally not used means it is not more popular. Declarative Knowledge is more popular.
4. Procedural Knowledge can’t be easily communicate. Declarative Knowledge can be easily communicate.
5. Procedural Knowledge is generally process oriented in nature. Declarative Knowledge is data oriented in nature.
6. In Procedural Knowledge debugging and validation is not easy. In Declarative Knowledge debugging and validation is easy.
7. Procedural Knowledge is less effective in competitive programming. Declarative Knowledge is more effective in competitive programming.

Like Article
Suggest improvement
Previous
Next
Share your thoughts in the comments

Similar Reads