Question 56Asked in DSSSB TGT Computer Science (Technical), 12 Sep 2025, Shift 3 (5:00 PM)

Which of the following options is INCORRECT about randomised algorithms?

  1. ARandomised algorithms that always produce the same(correct)output for the same input is known as Las Vegas Algorithms.
  2. BRandomised algorithms whose output differs from run to run for the same inputs is known as Monte Carlo Algorithms.
  3. CThe execution time of Las Vegas Algorithm does not depend on the output of the randomiser.
  4. DA randomised algorithm is an algorithm in which some of the decisions made in the algorithm depend on the output of the randomiser.
Show answerHide answer

Correct answer: (C) The execution time of Las Vegas Algorithm does not depend on the output of the randomiser.

Explanation

Statement C is incorrect: a Las Vegas algorithm always gives the correct answer, but its running time depends on the random choices. A Monte Carlo algorithm has bounded time, but its output may vary or be wrong.

From DSSSB TGT Computer Science PYQ (Technical), 12 Sep 2025, Shift 3 (5:00 PM)

This is question 56 of DSSSB TGT Computer Science PYQ (Technical), 12 Sep 2025, Shift 3 (5:00 PM). 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.