Skip to content
Related Articles

Related Articles

UGC-NET | UGC NET CS 2017 Jan – III | Question 18
  • Last Updated : 29 Mar, 2018

Consider a line AB with A = (0, 0) and B = (8, 4). Apply a simple DDA algorithm and compute the first four plots on this line.
(A) [(0, 0), (1, 1), (2, 1), (3, 2)]
(B) [(0, 0), (1, 1.5), (2, 2), (3, 3)]
(C) [(0, 0), (1, 1), (2, 2.5), (3, 3)]
(D) [(0, 0), (1, 2), (2, 2), (3, 2)]


Answer: (A)

Explanation:

Quiz of this Question
Please comment below if you find anything wrong in the above post

Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready.

My Personal Notes arrow_drop_up
Recommended Articles
Page :