Site navigation

Programming Languages and Computer Graphics MCQs with Answers

Try the topic preview and open any solution for a worked explanation.

Question 1

Which of the statements given below is/are correct?
It is always important and useful to include an 'alt' attribute on 'img' tag in HTML because
A. users who cannot see the image due to vision impairment can have a textual description of the image (which can be spoken aloud by a screenreader).
B. If the image fails to load (slow connection, broken path, etc.) then alt text is displayed instead.
C. SEO (Search Engine Optimization) benefits.

Select one answer

Question 2

What is the transformation matrix M that transforms a square in the xy-plane defined by

(1, 1)T, (−1, 1)T, (−1, −1)T and (1, −1)T to a parallelogram whose corresponding vertices are (2, 1)T, (0, 1)T, (−2, −1)T and (0, −1)T?

Select one answer

Question 3

Suppose a Bezier curve P(t) is defined by the following four control points in the xy-plane:

P0 = (−2, 0); P1 = (−2, 4); P2 = (2, 4); and P3 = (2, 0). Then which of the following statements are correct?

A. Bezier curve P(t) has degree 3.
B. P(1/2) = (0, 3).
C. Bezier curve P(t) may extend outside the convex hull of its control points.

Select one answer

Question 4

Given below are two statements
Statement I: The maximum number of sides that a triangle might have when clipped to a rectangular viewport is 6.
Statement II: In 3D graphics, the perspective transformation is nonlinear in z.

Select one answer

Question 5

Suppose you have eight 'black and white' images taken with a 1‐megapixel camera and one '8‐color' image taken by an 8‐megapixel camera. How much hard disk space in total do you need to store these images on your computer?

Select one answer

Question 6

X -= Y + 1 means:

Select one answer

Question 7

Which activity is not included in the first pass of two pass assemblers ?

Select one answer

Question 8

The data hiding is taken care by :

Select one answer

Question 9

If a data-item is declared as a protected access specifier then it can be accessed :

Select one answer

Question 10

A WINDOW into a portion of a data base is :

Select one answer

Practise for these exams

  • UGC NET Computer Science and Applications

  • CUSAT CAT M.Sc. Forensic Science