Question 5Asked in DSSSB TGT Computer Science (Technical), 7 Aug 2021, Shift 3

Which of the following is a type of subprogram? I. Functions

Which of the following is a type of subprogram? I. Functions II. Subroutines
  1. AOnly I
  2. BOnly II
  3. CBoth I and II
  4. DNeither I nor II
Show answerHide answer

Correct answer: (C) Both I and II

Explanation

Functions (which return a value) and subroutines (procedures) are both types of subprograms.

From DSSSB TGT Computer Science PYQ (Technical), 7 Aug 2021, Shift 3

This is question 5 of DSSSB TGT Computer Science PYQ (Technical), 7 Aug 2021, Shift 3. See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.