wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

LA6.C6: Graphics Window

Total questions: 14

Worksheet time: 7mins

Name
Class
Date
1.

What command is used to display the Graphics Window in Small Basic?

a)

Open.GraphicsWindow()

b)

Show.GraphicsWindow()

c)

GraphicsWindow.Display()

d)

GraphicsWindow.Show()

2.

Which property is used to change the background color of the Graphics Window?

a)

GraphicsWindow.Color

b)

GraphicsWindow.Background

c)

GraphicsWindow.FillColor

d)

GraphicsWindow.BackgroundColor

3.

What is the "default" PenWidth in Small Basic?

a)

1

b)

0

c)

10

d)

5

4.

Which command is used to draw a line in the Graphics Window?

a)

GraphicsWindow.CreateLine()

b)

GraphicsWindow.DrawLine()

c)

GraphicsWindow.Line()

d)

Draw.Line(GraphicsWindow)

5.

What does the command GraphicsWindow.FillRectangle() do?

a)

Draws a rectangle outline

b)

Fills a rectangle with color

c)

Erases a rectangle

d)

Creates a rectangle shape

6.

In the coordinate system of the Graphics Window, where does (0,0) start?

a)

Top right corner

b)

Top left corner

c)

Bottom right corner

d)

Bottom left corner

7.

What is the purpose of the command GraphicsWindow.GetRandomColor()?

a)

To fill a shape with color

b)

To draw a random shape

c)

To change the background color

d)

To set a random color for the brush

8.

Which property is used to set the title of the Graphics Window?

a)

GraphicsWindow.Title

b)

GraphicsWindow.Header

c)

GraphicsWindow.Name

d)

GraphicsWindow.Caption

9.

What does the command GraphicsWindow.DrawEllipse() require?

a)

Only one parameter: diameter

b)

Four parameters: x, y, width, height

c)

Two parameters: radius, color

d)

Three parameters: x, y, radius

10.

How can you modify the thickness of lines drawn in the Graphics Window?

a)

By adjusting the DrawLine parameters

b)

By changing the LineWidth property

c)

By changing the PenWidth property

d)

By using the SetThickness method

11.

What is the effect of using the command Program.Delay()?

a)

It pauses the program for a specified time

b)

It speeds up the drawing process

c)

It changes the background color

d)

It resets the Graphics Window

12.

What type of shapes can be drawn using the Graphics Window?

a)

Only rectangles and lines

b)

Lines, rectangles, and ellipses

c)

Only lines and ellipses

d)

Lines, rectangles, and circles

13.

What does the command GraphicsWindow.SetPixel() do?

a)

Fills a shape

b)

Draws a line

c)

Erases a pixel

d)

Sets the color of a specific pixel

14.

Which command is used to fill an ellipse with color?

a)

GraphicsWindow.FillEllipse()

b)

GraphicsWindow.DrawEllipse()

c)

GraphicsWindow.ColorEllipse()

d)

GraphicsWindow.PaintEllipse()