Fill in the blanks so that the program draws a row of dots starting in column 0 (X=0) and ending in column 630, and spaced out every 15 pixels.

Answer:

' Start the graphics system.
SCREEN 12
'
FOR X = 0 TO 630  STEP 15
  PSET( X, 240)        ' Set one pixel in row 240
NEXT X
'
END

Changed Program

The previous few programs drew the dots horizontally because the row number Y remained the same. Here is a program that is slightly different:

' Start the graphics system.
SCREEN 12
'
FOR Y = 0 TO 100  STEP 5
  PSET( 320, Y)        ' Set one pixel in column 320
NEXT X
'
END

In this program, each time a pixel is set, the pixel is in column 320 but with a different row number.

QUESTION 12:

What will this program draw on the screen?