Difference between Procedural and Declarative Knowledge
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. |
Recommended Posts:
- Difference between Procedural and Non-Procedural language
- Differences between Procedural and Object Oriented Programming
- Difference between JSP and ASP
- Difference between TDM and FDM
- What is the difference between GUI and CUI?
- Difference Between BFS and DFS
- Difference between C and C++
- Difference between 1G and 2G
- Difference between LAN, MAN and WAN
- What's difference between MMU and MPU?
- Difference between CRT and LCD
- Difference between LAN and MAN
- Difference between H.323 and SIP
- Difference between Blu-ray and DVD
- Difference between CD and DVD
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.



