Question 124

Which statement about algorithm properties is correct?

  1. AIt takes zero or more inputs and produces at least one output
  2. BIt may run forever
  3. CIt must be written in C
  4. DIt must take at least two inputs
Show answerHide answer

Correct answer: (A) It takes zero or more inputs and produces at least one output

Explanation

Input: zero or more; output: at least one.

From DSSSB TGT Computer Science Full Mock Test 3

This is question 124 of DSSSB TGT Computer Science Full Mock Test 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.