adplus-dvertising
frame-decoration

Question

Consider a window bounded by the lines : x = 0; y= 0; x = 5 and y = 3. The line segment joining (-1, 0) and (4, 5), if clipped against this window will connect the points

a.

(0, 1) and (2, 3)

b.

(0, 1) and (3, 3)

c.

(0, 1) and (4, 3)

d.

(0, 1) and (3, 2)

Answer: (a).(0, 1) and (2, 3)

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Consider a window bounded by the lines : x = 0; y= 0; x = 5 and y = 3. The line segment joining (-1, 0) and (4, 5), if clipped against this window will connect the points

Similar Questions

Discover Related MCQs

Q. Which of the following color models are defined with three primary colors ?

Q. Which of the following statement(s) is/are correct?

Q. A segment is any object described by GKS commands and data that start with CREATE SEGMENT and Terminates with CLOSE SEGMENT command. What functions can be performed on these segments?

Q. Match the following:

a. Glass                         i. Contains liquid crystal and serves
as a bonding surface for a conductive
coating.
b. Conductive coating ii. Acts as a conductor so that a voltage
can be applied across the liquid crystal.
c. Liquid Crystal           iii. A substance which will polarize light
when a voltage is applied to it.
d. Polarized film           iv. A transparent sheet that polarizes light.

Codes:
     a  b   c   d

Q. Below are the few steps given for scan-converting a circle using Bresenham's Algorithm. Which of the given steps is not correct?

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

a. Aliasing
b. Unequal intensity of diagonal lines
c. Over striking in photographic applications
d. Local or Global aliasing

Q. 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.

Q. Consider a raster grid having XY-axes in positive X-direction and positive upward Y-direction with Xmax = 10, Xmin = –5, Ymax = 11, and Ymin = 6. What is the address of memory pixel with location (5, 4) in raster grid assuming base address 1 (one)?

Q. Consider a N-bit plane frame buffer with W-bit wide lookup table with W > N. How many intensity levels are available at a time?

Q. Consider the Breshenham’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 .................

(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)

Q. A point P(2, 5) is rotated about a pivot point (1, 2) by 60°. What is the new transformed point P'?

Q. In perspective projection (from 3D to 2D), objects behind the centre of projection are projected upside down and backward onto the view-plane. This is known as ..............

Q. The Liang-Barsky line clipping algorithm uses the parametric equation of a line from (x1,y1) to (x2,y2) along with its infinite extension which is given as :

x = x1 + Dx.u
y = y1 + Dy.u

Where Dx = x2 – x1, Dy = y2 – y1, and u is the parameter with 0 ≤ u ≤ 1. A line AB with end points A(–1, 7) and B(11, 1) is to be clipped against a rectangular window with xmin=1, xmax=9, ymin=2, and ymax=8. The lower and upper bound values of the parameter u for the clipped line using Liang-Barsky algorithm is given as:

Q. 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 (x1,y1) 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

Q. A point P(5,1) is rotated by 90 degrees about a pivot point (2,2). What is the coordinate of new transformed point P’ ?

Q. Let R be the rectangular window against which the lines are to be clipped using 2D Sutherland-Cohen line clipping algorithm. The rectangular window has lower left-hand corner at (-5,1) and upper right-hand corner at (3,7). Consider the following three lines for clipping with the given end point co-ordinates:

Line AB: A(-6,2) and B(-1,8)
Line CD: C(-1,5) and D(4,8)
Line EF: E(-2,3) and F(1,2)

Which of the following line(s) is/are candidate for clipping?

Q. In perspective projection, if a line segment joining a point which lies in front of the viewer to a point in back of the viewer is projected to a broken line of infinite extent. This is known as ...................

Q. Which of the following statement(s) is/are correct with reference to curve generation?

I. Hermite curves are generated using the concepts of interpolation.
II. Bezier curves are generated using the concepts of approximation.
III. The Bezier curves lies entirely within the convex hull of its control points.
IV. The degree of Bezier curve does not depend on the number of control points.

Q. Which of the following is used for the boundary representation of an image object?

Q. 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 :