Solved

Assume That the Box Below Represents a Computer Screen x=1x = 1

Question 58

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 1280 by 1024. Which loop would produce the output shown?  A)  For  x = 1  to 512 Pixel  ( 256 + \mathrm { x } , 341 )   Next  \mathrm { x }   B)  For  x = 1  to 512 Plot Pixel (641 Next  x   C)  For  \mathrm { x } = 1  to 640 Plot Pixel  (641   2 \mathrm { x } , 341 )   Next  x   D)  For  \mathrm { x } = 1  to 640 Plot Pixel  ( 256 + \mathrm { x } , 256 )   Next  x   E)  None of these
-Suppose that the screen has a resolution of 1280 by 1024. Which loop would produce the output shown?


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

B) For x=1x = 1 to 512
Plot Pixel (641
Next xx

C) For x=1\mathrm { x } = 1 to 640
Plot Pixel (641(641 2x,341) 2 \mathrm { x } , 341 )
Next xx

D) For x=1\mathrm { x } = 1 to 640
Plot Pixel (256+x,256) ( 256 + \mathrm { x } , 256 )
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