MCQ IN COMPUTER SCIENCE & ENGINEERING

COMPUTER SCIENCE AND ENGINEERING

COMPUTER GRAPHICS

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
line(10, 10, 100, 10); produce a line
A
vertical
B
slant
C
Horizontal
D
All the above
Explanation: 

Detailed explanation-1: -Horizontal lines Each point on a horizontal line has the same y-coordinate. If two points have the same y-coordinate, b, the equation of the line is y=b . The y-intercept of a horizontal line y=b is the point (0, b) .

Detailed explanation-2: -Because there is no x term in this equation this is, by definition, a horizontal line where for any and all values of x, y is 10 . And, by definition a horizontal line has slope 0 .

Detailed explanation-3: -A horizontal line is a line extending from left to right. When you look at the sunrise over the horizon you are seeing the sunrise over a horizontal line. The x-axis is an example of a horizontal line.

There is 1 question to complete.