Multiple choice general knowledge

Which of the following is a product of a knowledge that is said to be declarative?

  1. Writing Contract

  2. Writing the Program Body

  3. Both of the above

  4. None of the above

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

Declarative knowledge involves knowing 'what' - facts and concepts. Writing a contract is primarily declarative as it states what will be done, not how. Programming the 'how' is procedural knowledge.