Solved

Assume That the Box Below Represents a Computer Screen x=1\mathrm { x } = 1

Question 28

Multiple Choice

Assume that the box below represents a computer screen. Use it to complete the following Questions.
 Assume that the box below represents a computer screen. Use it to complete the following Questions.   -Suppose that the screen has a resolution of 1024 by 768. Which loop would produce the output shown?  A)  For  \mathrm { x } = 1  to 512 Plot Pixel (x, 256)  Next  x   B)  For  \mathrm { x } = 1  to 1024 Plot Pixel  ( \mathrm { x } , 256 )   Next  x   C)  For  \mathrm { x } = 1  to 1024 Plot Pixel  ( x , 512 )   Next  x   D)  For  \mathrm { x } = 1  to 512 Plot Pixel  ( x , 512 )   Next  x  E)  None of these
-Suppose that the screen has a resolution of 1024 by 768. Which loop would produce the output shown?


A) For x=1\mathrm { x } = 1 to 512
Plot Pixel (x, 256)
Next xx

B) For x=1\mathrm { x } = 1 to 1024
Plot Pixel (x,256) ( \mathrm { x } , 256 )
Next xx

C) For x=1\mathrm { x } = 1 to 1024
Plot Pixel (x,512) ( x , 512 )
Next xx

D) For x=1\mathrm { x } = 1 to 512
Plot Pixel (x,512) ( x , 512 )
Next xx
E) None of these

Correct Answer:

verifed

Verified

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

Related Questions