Question 7688 – UGC-NET DEC-2019 Part-2
November 19, 2023
Question 15971 – STQC-NIELIT STA 2021
November 19, 2023
Question 7688 – UGC-NET DEC-2019 Part-2
November 19, 2023
Question 15971 – STQC-NIELIT STA 2021
November 19, 2023

Question 6844 – UGC NET CS 2016 Aug- paper-3

Consider the Bresenham’s line generation algorithm for a line with gradient greater than one, current point (xi, yi) and decision parameter, di. The next point to be plotted (xi+1, yi+1) and updated decision parameter, di+1, for di < 0 are given as _______.

Correct Answer: B

Question 15 Explanation: 
A
xi+1 = xi +1
yi+1 = yi
di+1 = di+ 2 dy
B
xi+1 = xi
yi+1 = yi +1
di+1 = di+ 2 dx
C
xi+1 = xi
yi+1 = yi +1
di+1 = di+ 2(dx -dy)
D
xi+1 = xi +1
yi+1 = yi +1
di+1 = di+ 2(dy -dx)
0 0 votes
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x
error: Alert: Content selection is disabled!!