Aspire Faculty ID #18817 · Topic: UGC NET Computer Science Nov 2021 (Paper II) · Just now
UGC NET Computer Science Nov 2021 (Paper II)

Which of the statements given below are correct?

The midpoint or Bresenham algorithm for rasterizing lines is optimized relative to DDA algorithm in that

A. it avoids round-off operations.

B. it is incremental.

C. it uses only integer arithmetic.

D. all straight lines can be displayed as straight exact.

Choose the correct answer from the options given below:

Solution

Bresenham line drawing algorithm is optimized compared to DDA algorithm.
DDA uses floating point calculations and round-off operations.
Bresenham avoids round-off operations, so statement A is correct.
Bresenham is incremental because the next pixel is calculated from the previous pixel, so statement B is correct.
Bresenham uses only integer arithmetic, so statement C is correct.
But on raster display, every straight line cannot be displayed exactly as a mathematical straight line because pixels are discrete, so statement D is false.
Therefore, A, B and C only are correct.

Previous 10 Questions — UGC NET Computer Science Nov 2021 (Paper II)

Nearest first

Next 10 Questions — UGC NET Computer Science Nov 2021 (Paper II)

Ascending by ID
1
 What is the transformation matrix $M$ that transforms a square in the $xy$-plane defined by $(1,1)^T,(-1,1)^T,(-1…
Topic: UGC NET Computer Science Nov 2021 (Paper II)
2
Suppose a Bezier curve $P(t)$ is defined by the following four control points in the $xy$-plane:$P_0=(-2,0),\ P_1=(-2,4…
Topic: UGC NET Computer Science Nov 2021 (Paper II)
3
Given below are two statements:Statement I: The maximum number of sides that a triangle might have when clipped to a re…
Topic: UGC NET Computer Science Nov 2021 (Paper II)
4
In software testing, beta testing is the testing performed by ____________.
Topic: UGC NET Computer Science Nov 2021 (Paper II)
5
The V components in MVC are responsible for:
Topic: UGC NET Computer Science Nov 2021 (Paper II)
6
In software engineering, what kind of notation do formal methods predominantly use?
Topic: UGC NET Computer Science Nov 2021 (Paper II)
7
If every requirement stated in the Software Requirement Specification $(SRS)$ has only one interpretation, then SRS is …
Topic: UGC NET Computer Science Nov 2021 (Paper II)
8
A system has $99.99\%$ uptime and has a mean-time-between-failure of $1$ day. How fast does the system has to repair it…
Topic: UGC NET Computer Science Nov 2021 (Paper II)
9
In the context of Software Configuration Management $(SCM)$, what kind of files should be committed to your source cont…
Topic: UGC NET Computer Science Nov 2021 (Paper II)
10
Match List I with List IIList IList IIA. Waterfall ModelI. Software can be developed incrementallyB. Evolutionary Model…
Topic: UGC NET Computer Science Nov 2021 (Paper II)
Ask Your Question or Put Your Review.

loading...