Solved

For the Following Problems , Assume the Command Dcolor Sets x=0\mathrm { x } = 0

Question 50

Multiple Choice

For the following Problems , assume the command Dcolor sets a decimal color triple and that that the code is applied to a computer monitor with a resolution of 1280 by 1024. Choose the letter that best describes the output.
-
For x=0\mathrm { x } = 0 to 255
Dcolor ="x,x,255x= " \mathrm { x } , \mathrm { x } , 255 - \mathrm { x } ^ { \prime \prime }
Plot Pixel (x+1,256x) ( \mathrm { x } + 1,256 - \mathrm { x } )
Next x\mathrm { x }


A) A line that starts on the right-hand side of the screen, about three fourths of the way down, and slopes up to the top of the screen One fifth of the way across; the color of the line changes from Blue at the left to grey in the middle, and finally to yellow on The right.
B) A line that starts on the left-hand side of the screen, about one fourth of the way down, and slopes up to the top of the screen One fifth of the way across; the color of the line changes from Yellow at the left to grey in the middle, and finally to blue on The right.
C) A line that starts on the left-hand side of the screen, about three fourths of the way down, and slopes up to the middle of the screen One fifth of the way across; the color of the line changes from Blue at the left to grey in the middle, and finally to yellow on The right.
D) A line that starts on the left-hand side of the screen, about one fourth of the way down, and slopes up to the top of the screen One fifth of the way across; the color of the line changes from Blue at the left to grey in the middle, and finally to yellow on The right.
E) None of these

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions