Computer Science, asked by nandhare154, 2 months ago

Question 1:
If a line is drawn from (0,0) to (10,5)
with a symmetrical DDA.
How many iterations are performed?
11 Iterations
5 Iterations
20 Iterations
15 Iterations​

Answers

Answered by rishabrana228
0

Answer: 10 Iterations

Explanation:

Δx= 10 -0 = 10

Δy= 5 - 0 = 5

if Δx > Δy

      Number of Iteration is Δx

      which in this case is 10.

else

       Number of Iteration is  Δy

       which in this case is 5.

Similar questions