wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Computer Graphics

Total questions: 55

Worksheet time: 2hrs 50mins

Name
Class
Date
1.

The Cartesian slope-intercept equation for a straight line is

a)

y = m.x + b

b)

y = b.x + m

c)

y = x.x + m

d)

y = b + m.m

2.

On raster system, lines are plotted with

a)

Lines

b)

Dots

c)

Pixels

d)

None of the mentioned

3.

Expansion of line DDA algorithm is

a)

Digital difference analyzer

b)

Direct differential analyzer

c)

Digital differential analyzer

d)

Data differential analyzer

4.

Which algorithm is a faster method for calculating pixel positions?

a)

Bresenham’s line algorithm

b)

Parallel line algorithm

c)

Mid-point algorithm

d)

DDA line algorithm

5.

The disadvantage of line DDA is

a)

Time consuming

b)

Faster

c)

Neither a nor b

d)

None of the mentioned

6.

An accurate and efficient raster line-generating algorithm is

a)

DDA algorithm

b)

Mid-point algorithm

c)

Parallel line algorithm

d)

Bresenham’s line algorithm

7.

In Bresenham’s line algorithm, if the distances d1 < d2 then decision parameter Pk is______

a)

Positive

b)

Equal

c)

Negative

d)

Option a or c

8.

Which is the best line algorithm to balance the processing load among the processers?

a)

Parallel line algorithm

b)

DDA line algorithm

c)

Bresenham’s line algorithm

d)

Position Bresenham’s line algorithm

9.

To apply the midpoint method, we define

a)

circle(x, y)= x2+ y2- r2

b)

circle(x, y)= x+ y2- r2

c)

circle(x, y)= x2– y2- r2

d)

circle(x, y)= x2+ y2- z2

10.

A bitmap is collection of ___________________ that describes an image.

a)

bits

b)

colors

c)

algorithms

d)

pixels

11.

In line clipping, the portion of line which is _____________ of window is cut and the portion that is _____________ the window is kept.

a)

outside, inside

b)

inside, outside

c)

exact copy, different

d)

different, an exact copy

12.

A polygon can be clipped using clipping operations.

a)

True

b)

False

13.

Cohen-Sutherland clipping is an example of _________________

a)

polygon clipping

b)

text clipping

c)

line clipping

d)

curve clipping

14.

The Cohen-Sutherland algorithm divides the region into _____ number of spaces.

a)

8

b)

6

c)

7

d)

9

15.

The centre region of the screen and the window can be represented as________

a)

0000

b)

1111

c)

0110

d)

1001

16.

If both codes are 0000, (bitwise OR of the codes yields 0000) line lies __________________ the window.

a)

completely outside

b)

half inside half outside

c)

completely inside

d)

can’t say anything

17.

Any convenient co-ordinate system or Cartesian co-ordinates which can be used to define the picture is called ___________

a)

spherical co-ordinates

b)

vector co-ordinates

c)

viewport co-ordinates

d)

world co-ordinates

18.

Which of the following co-ordinates are NOT used in 2d viewing transformation?

a)

modelling co-ordinates

b)

vector co-ordinates

c)

viewing co-ordinates

d)

device co-ordinates

19.

An outcode can have ____ bits for two-dimensional clipping and ____ bits for three-dimensional clipping.

a)

b)

c)

d)

a)

6,8

b)

2,4

c)

4,6

d)

1,3

20.

The process of elimination of parts of a scene outside a window or a viewport is called _____________

a)

clipping

b)

editing

c)

plucking

d)

cutting

21.

For a point to be clipped, which of the following conditions must be satisfied by the point?

a)

ywmin = y = ywmax

b)

xwmin > x > xwmax

c)

xwmin = x = xwmax

d)

xwmin < x < xwmax

22.

For a point to be clipped, which of the following conditions must be satisfied by the point?

a)

ywmin > y > ywmax

b)

ywmin = y = ywmax

c)

ywmin < y < ywmax

d)

xwmin < x < xwmax

23.

To generate a rotation , we must specify

a)

Rotation angle ϴ

b)

Distances dx and dy

c)

Rotation distance

d)

All of the mentioned

24.

The coordinates of the point in after rotation in anticlockwise direction

a)

X’=r cos (Ф +ϴ) and Y’=r cos (Ф +ϴ)

b)

X’=r cos (Ф +ϴ) and Y’=r sin (Ф +ϴ)

c)

X’=r cos (Ф -ϴ) and Y’=r cos (Ф -ϴ)

d)

X’=r cos (Ф +ϴ) and Y’=r sin (Ф -ϴ)

25.

The two-dimensional rotation equation in the matrix form is

a)

P’=R*P

b)

P’=P+T

c)

P’=P*P

d)

P’=R+P

26.

Positive values for the rotation angle ϴ defines

a)

Counterclockwise rotations about the end points

b)

Counterclockwise translation about the pivot point

c)

Counterclockwise rotations about the pivot point

d)

Negative direction

27.

In a reflection, by how much angle is the object rotated?

a)

45 degree

b)

180 degree

c)

90 degree

d)

360 degree

28.

Which of the following represents shearing?

a)

(x, y) → (x cos(θ)+y sin(θ), -x sin(θ)+y cos(θ))

b)

(x, y) → (ax, by)

c)

(x, y) → (x+ay, y+bx)

d)

(x, y) → (x+a, y+b)

29.

Which of this is compulsory for 2D reflection.

a)

Origin

b)

Reflection axis

c)

Co-ordinate axis.

d)

Reflection plane.

30.

Two successive translations are___________________

a)

b)

c)

d)

a)

Subtractive

b)

Additive

c)

Inverse

d)

Multiplicative

31.

Two successive rotations are___________________

a)

Additive

b)

Subtractive

c)

Inverse

d)

Multiplicative

32.

Which of the following is NOT correct? (A, B and C are matrices)

a)

1.A = A.1

b)

C(A+B) = C.A + C.B

c)

A.B.C = (A.B).C = A.(B.C)

d)

A.B = B.A

33.

Which transformation distorts the shape of an object such that the transformed shape appears as if the object were composed of internal layers that had been caused to slide over each other?

a)

Scaling down

b)

Shearing

c)

Scaling up

d)

Rotation

34.

Reflection about the line y=0, the axis, is accomplished with the transformation matrix with how many elements as ‘0’?

a)

8

b)

9

c)

4

d)

6

35.

The matrix representation for scaling in homogeneous coordinates is

a)

P’=S*P

b)

P’=R*P

c)

P’=dx+dy

d)

P’=S*S

36.

What is the use of homogeneous coordinates and matrix representation?

a)

To scale

b)

To rotate

c)

To treat all 3 transformations in a consistent way

d)

To shear the object

37.

We can combine the multiplicative and translational terms for 2D into a single matrix representation by expanding

a) 2 by 2 matrix into 4*4 matrix

b) 2 by 2 matrix into 3*3

c) 3 by 3 matrix into 2 by 2

d) Only c

a)

2 by 2 matrix into 4*4 matrix

b)

2 by 2 matrix into 3*3

c)

3 by 3 matrix into 2 by 2

d)

Only C

38.

Which is not a type of 3D projection

a)

Perspective

b)

Orthogrpahic

c)

Isomorphic

d)

Progressive

39.

Circle is represented using equation

a)

 f(x,y)=x2 + y2 r2f\left(x,y\right)=x^2\ +\ y^2\ -r^2  

b)

 f(x,y)=x2 + y2 +r2f\left(x,y\right)=x^2\ +\ y^2\ +r^2  

c)

 f(x,y)=x2 + y2 rf\left(x,y\right)=x^2\ +\ y^2\ -r^{ }  

d)

 f(x,y)=x2 + y2  +rf\left(x,y\right)=x^2\ +\ y^2\ \ +r^{ }  

40.

According to 8 Octant symmetry rule, Which of the following will be a point in 5th octant corresponding to given point P (a,b) in 1st octant of circle.

a)

(a, -b)

b)

(-a, -b)

c)

(b, a)

d)

(-a, b)

41.

Initial decision parameter P0 in Mid Point Circle drawing algorithm is

a)

P0=1-R

b)

P0=1-R2

c)

P0=1 + R

d)

P0= 1+R2

42.

In Breshenham Line Drawing algorithm, the initial decision parameter P0 is

a)

2Δy+Δx2\Delta y+\Delta x

b)

Δy2Δx\Delta y-2\Delta x

c)

2ΔyΔx2\Delta y-\Delta x

d)

ΔyΔx\Delta y-\Delta x

43.

In breshnham line drawing algorithm, on a line having m<1, if current point is (xi,yi) and current decision parameter is <0, then next point (xi+1, yi+1) will be

a)

(Xi+1, yi+1)

b)

(Xi+1, yi)

c)

(Xi, yi+1)

d)

(Xi, yi)

44.

Minimum number of vertices to make a face in polygon meshes is

a)

1

b)

2

c)

3

d)

4

45.

what is Euler's Formula

a)

V-E-F=2

b)

V+E-F=2

c)

V+E+F=0

d)

V-E+F=2

46.

In mid point line algorithm, if current selected point is (Xp+1, yp) then what will be the next mid point

a)

(Xp+1, Yp+1/2)

b)

(Xp+2, Yp+1/2)

c)

(Xp+2, Yp+3/2)

d)

(Xp+1, Yp+3/2)

47.

Vanishing point is where

a)

Perpendicular Lines seem to converge

b)

Parallel lines seem to converge

c)

Origin

d)

Center of Projection

48.

Center of Projection is where

a)

Projection lines converge

b)

Axis lines converge

c)

Perpendicular line converge

d)

Parallel line converge

49.

Center of Projection in Parallel projection

a)

is at finite distance

b)

is at infinite distance

c)

is at same distance of actual object

d)

is near than the actual object

50.

In which 3D projection, Lines parallel to the projection plane normal are halved

a)

Cavalier

b)

Cabinet

c)

Isometic

d)

Trimetric

51.

What is the Clipping point of a line AB where A(40,40) and B is (60,25) against a window defined by (wxmin,wymin) as (10,10) and (wxmax,wymax) as (50,50)

a)

(50,50)

b)

(50,32.50)

c)

(36.67, 32.50)

d)

(36.67,36.67)

52.

Number of control points in parametric cubic curve is

a)

6

b)

9

c)

12

d)

4

53.

cubic bezier curve is example of

a)

Approximating Curve

b)

Interpolating Curve

c)

Smooth Curve

d)

Exponential Curve

54.

Following is the Interpolating Curve

a)

Bezier Curve

b)

Hermite Curve

c)

Exponential Curve

d)

Direct Curve

55.

gd parameter in initgraph() method means

a)

Graphic Display

b)

Graphic Density

c)

Graphic Driver

d)

Graphic declaration