logo

Question detail

How is a subroutine executed in a program?

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

At a glance

MCQ

Type

practice

Style

Topic

Programming

Exam-style question

Try this first

How is a subroutine executed in a program?.

  1. A.By deleting its name from the program
  2. B.By writing its name in a program statement
  3. C.By converting the program into machine code manually
  4. D.By storing the subroutine name as a comment

Model answer

What a good answer should say

  • By writing its name in a program statement

Explanation

Why this works

A subroutine is executed, or called, by simply writing its name in a program statement.

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.