logo

Question detail

Explain how calculating the sum of two specific values can be transformed into a procedure through procedural abstraction. Your answer should refer to actual values, a general computational method and the use of the resulting procedure.

Try the question, check the answer, then read the explanation to understand the curriculum point.

At a glance

Question

Type

practice

Style

Topic

Abstraction and automation

Exam-style question

Try this first

Explain how calculating the sum of two specific values can be transformed into a procedure through procedural abstraction. Your answer should refer to actual values, a general computational method and the use of the resulting procedure.

Model answer

What a good answer should say

  • A calculation using two specific values is one particular computation.
  • The actual values are abstracted away, leaving the general method of adding two values.
  • This method can be represented as a procedure.
  • The procedure can then be used with different pairs of values while applying the same computational method.

Explanation

Why this works

A complete answer identifies that the original calculation depends on particular values, explains that those values are removed from the general description, and states that the resulting procedure can be reused with other values.

Common mistake

No common mistake is linked to this question yet.

Related flashcards

No flashcards are published for this page yet.

Related practice questions

No questions are published for this page yet.