NEW
Font size
WorksheetsLA6.C6: Graphics Window
Total questions: 14
Worksheet time: 7mins
What command is used to display the Graphics Window in Small Basic?
Open.GraphicsWindow()
Show.GraphicsWindow()
GraphicsWindow.Display()
GraphicsWindow.Show()
Which property is used to change the background color of the Graphics Window?
GraphicsWindow.Color
GraphicsWindow.Background
GraphicsWindow.FillColor
GraphicsWindow.BackgroundColor
What is the "default" PenWidth in Small Basic?
1
0
10
5
Which command is used to draw a line in the Graphics Window?
GraphicsWindow.CreateLine()
GraphicsWindow.DrawLine()
GraphicsWindow.Line()
Draw.Line(GraphicsWindow)
What does the command GraphicsWindow.FillRectangle() do?
Draws a rectangle outline
Fills a rectangle with color
Erases a rectangle
Creates a rectangle shape
In the coordinate system of the Graphics Window, where does (0,0) start?
Top right corner
Top left corner
Bottom right corner
Bottom left corner
What is the purpose of the command GraphicsWindow.GetRandomColor()?
To fill a shape with color
To draw a random shape
To change the background color
To set a random color for the brush
Which property is used to set the title of the Graphics Window?
GraphicsWindow.Title
GraphicsWindow.Header
GraphicsWindow.Name
GraphicsWindow.Caption
What does the command GraphicsWindow.DrawEllipse() require?
Only one parameter: diameter
Four parameters: x, y, width, height
Two parameters: radius, color
Three parameters: x, y, radius
How can you modify the thickness of lines drawn in the Graphics Window?
By adjusting the DrawLine parameters
By changing the LineWidth property
By changing the PenWidth property
By using the SetThickness method
What is the effect of using the command Program.Delay()?
It pauses the program for a specified time
It speeds up the drawing process
It changes the background color
It resets the Graphics Window
What type of shapes can be drawn using the Graphics Window?
Only rectangles and lines
Lines, rectangles, and ellipses
Only lines and ellipses
Lines, rectangles, and circles
What does the command GraphicsWindow.SetPixel() do?
Fills a shape
Draws a line
Erases a pixel
Sets the color of a specific pixel
Which command is used to fill an ellipse with color?
GraphicsWindow.FillEllipse()
GraphicsWindow.DrawEllipse()
GraphicsWindow.ColorEllipse()
GraphicsWindow.PaintEllipse()
