logo

AQA A-Level Computer Science practice

A procedure is designed to find the larger of two values. Which use of the procedure is an example of applying the same abstracted method to a new computation?

Try the question first, then check the answer and practise the same topic again.

At a glance

MCQ

Type

practice

Style

Topic

Abstraction and automation

Exam-style question

Try this first

A procedure is designed to find the larger of two values. Which use of the procedure is an example of applying the same abstracted method to a new computation?.

  1. A.Using it with a different pair of values
  2. B.Changing the method so it always returns the first value
  3. C.Removing the comparison from the method
  4. D.Keeping the original pair of values permanently

Answer and explanation

Concise answer

Using it with a different pair of values

Why this is correct

The method for finding the larger value remains the same, while the particular values used in the computation change.

Use the concise answer above for a quick check, then reveal the full model answer and detailed explanation.

Common mistake

No common mistake is linked to this question yet.

Related flashcards

No flashcards are published for this page yet.

Related practice questions