All Exams Test series for 1 year @ ₹349 only
Question

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.

This question was previously asked in
UGC NET 2016 Paper 1 Question Paper (10-Jul-2016)
The correct answer is

[(0, 0), (1, 1), (2, 1), (3, 2)]

The Digital Differential Analyzer (DDA) steps along the axis of greater change one unit at a time and adds the slope to the other coordinate, rounding it to the nearest pixel.

Step 1 — \(\Delta x = 8,\ \Delta y = 4\), so the number of steps is \(\max(8, 4) = 8\).

Step 2 — Increments: \(x_{inc} = 8/8 = 1,\ y_{inc} = 4/8 = 0.5\).

Step 3 — Trace the first four points, rounding y (0.5 rounds up):

kxy (exact)plotted
000(0, 0)
110.5(1, 1)
221.0(2, 1)
331.5(3, 2)

The lists containing 1.5 or 2.5 cannot be plots, because a pixel address is an integer; the list with (1, 2) would need y to rise by 2 for one unit of x, i.e. slope 2, whereas this line has slope 0.5.

[(0, 0), (1, 1), (2, 1), (3, 2)] option is correct.

Was this answer helpful?

Similar Questions

  1. Which raster locations would be chosen by Bresenham’s algorithm when scan converting a line from (1, 1) to (8, 5) ?

  2. Which of the following graphic primitives are considered as the basic building blocks of computer graphics ?

    (a) Points    (b) Lines    (c) Polylines    (d) Polygons

    Codes :

  3. The end points of a given line are (0, 0) and (6, 18). Compute each value of y as x steps from 0 to 3, by using equation of straight line :

  4. Which of the following is not a basic primitive of the Graphics Kernel System (GKS) ?

  5. Given below are certain output primitives and their associated attributes. Match each primitive with its corresponding attributes :

    List - IList - II
    a. Linei. Type, Size, Color
    b. Fill Areaii. Color, Size, Font
    c. Textiii. Style, Color, Pattern
    d. Markeriv. Type, Width, Color
  6. Line caps are used for adjusting the shape of the line ends to give them a better appearance. Various kinds of line caps used are

  7. The major adverse side effects of scan conversion are ;-

    A. Staircase appearance

    B. Unequal brightness of slanted lines

    C. Picket fence problem

    D. Rasterization

    E. Pre-filtering and Post-filtering

    Choose the correct answer from the options given below:

  8. Consider the Breshenham’s circle generation algorithm for plotting a circle with centre (0, 0) and radius ‘r’ units in first quadrant. If the current point is (xi, yi) and decision parameter is pi then what will be the next point (xi + 1, yi + 1) and updated decision parameter pi + 1 for pi ≥ 0 ?

  9. Which of the following is/are side effects of scan conversion ?

    a. Aliasing

    b. Unequal intensity of diagonal lines

    c. Overstriking in photographic applications

    d. Local or Global aliasing

  10. Below are the few steps given for scan-converting a circle using Bresenham’s Algorithm.

    Which of the given steps is not correct ?


Important Questions from Output Primitives

  1. A/An _____ creates an image directly on paper by spraying ink.

  2. Consider the following statements with respect to approaches to fill area on raster system:

    P: To determine the overlap intervals for scan lines that cross the area.

    Q: To start from a given interior position and paint outward from this point until we encounter the specific boundary conditions.

    Select the correct answer from the options given below:
  3. Which of the following is not a component of Memory tube display ?

  4. Which raster locations would be chosen by Bresenham’s algorithm when scan converting a line from (1, 1) to (8, 5) ?

  5. Which of the following graphic primitives are considered as the basic building blocks of computer graphics ?

    (a) Points    (b) Lines    (c) Polylines    (d) Polygons

    Codes :

Need Expert Advice?
Upcoming Exams
CTET
December 12, 2026
CBSE UGC NET
December 14, 2026
CSIR UGC NET
December 19, 2026
Test Series
UGC NET img
Teaching
UGC NET (Paper 2) 2026 Mock Test Series
796 Tests 2 Tests Free
4.4(40)
English
More Questions from UGC NET

Start Your Preparation with Prepp Mobile App

Download the app from Google Play & App Store
Download the app from Google Play & App Store
Prepp Mobile App