logo

Question detail

A programmer writes a separate procedure to calculate the total cost of an order. Which paradigm is this organisation most directly illustrating?

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

At a glance

MCQ

Type

practice

Style

Topic

Programming paradigms

Exam-style question

Try this first

A programmer writes a separate procedure to calculate the total cost of an order. Which paradigm is this organisation most directly illustrating?.

  1. A.Procedural programming
  2. B.Object-oriented programming
  3. C.Neither paradigm
  4. D.Both paradigms equally, because a procedure cannot belong to a paradigm

Model answer

What a good answer should say

  • Procedural programming

Explanation

Why this works

Organising part of a solution as a procedure that performs a task is characteristic of the procedural paradigm.

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.