logo

Question detail

Which statement correctly describes the relationship between procedural abstraction and functional abstraction?

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

At a glance

MCQ

Type

practice

Style

Topic

Abstraction and automation

Exam-style question

Try this first

Which statement correctly describes the relationship between procedural abstraction and functional abstraction?.

  1. A.A procedure is the result of procedural abstraction, while a function requires a further abstraction that disregards the particular computation method
  2. B.A function is the result of procedural abstraction, and procedural abstraction always hides the computation method completely
  3. C.Procedural abstraction and functional abstraction are two names for exactly the same abstraction
  4. D.Functional abstraction exposes the particular computation method so that it can be checked by the caller

Model answer

What a good answer should say

  • A procedure is the result of procedural abstraction, while a function requires a further abstraction that disregards the particular computation method

Explanation

Why this works

The specification distinguishes the two stages. Procedural abstraction gives a procedure; functional abstraction goes further by disregarding the particular computation method.

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.