Question 186

The DDA line-drawing algorithm mainly uses:

  1. ARecursion
  2. BFloating-point arithmetic
  3. CPolar coordinates
  4. DOnly integer arithmetic
Show answerHide answer

Correct answer: (B) Floating-point arithmetic

Explanation

Bresenham's algorithm avoids floating point.

From DSSSB TGT Computer Science Full Mock Test 3

This is question 186 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.