No student devices needed. Know more
30 questions
What does this code do: GraphicsWindow.BackgroundColor="red"
Change the background colour to red
Draw a Square
Create a house
Draw a Blue Line
The output of this instruction is GraphicsWindow.FillEllipse(100,100,100,100)
The symbol used to give comments in Small Basic is
? (question mark)
' (apostrophe)
/ (slash)
* ( asterisk)
file extension of small basic
.sba
.sm
.smb
.sb
Gets or sets the color of the pen used to draw shapes on the Graphics Window.
GraphicsWindow.PenColor
GraphicsWindow.PenHue
GraphicsWindow.PenHex
GraphicsWindow.PenKulay
Gets or sets the Background color of the Graphics Window.
GraphicsWindow.BackgroundColor
GraphicsWindow.ForeColor
TextWindow.BackgroundColor
Which of the following sets the background color of a graphics window?
Window.BGColor = "SteelBlue"
GraphicsWindow.Background = "SteelBlue"
GraphicsWindow.BackgroundColor = "SteelBlue"
Window.Background = "SteelBlue"
In the graphics window, where is the coordinate (0,0) located?
In the top-left corner of the window
In the top-right corner of the window
In the bottom-left corner of the window
In the bottom-right corner of the window
in the very center
In the GraphicsWindow, objects that are drawn use a _________________, while objects that are filled use a ___________.
brush, pen
pen, brush
pencil, marker
marker, pencil
The output of this instruction is GraphicsWindow.FillRectangle(100,100,100,100)
Circles and rectangles are the only shapes you can draw in a Graphics Window.
True
False
Which method allows you to display the text and numbers on the Graphics Output area at the specific location ?
DrawTriangle()
DrawLine()
DrawReactangle()
DrawText()
What is default value of FontBold ?
True
False
What is default value for FontItalic ?
True
False
Which is default Background Color of GraphicsWindow?
Black
White
Red
Green
Syntax of DrawText()
GraphicsWindow.DrawText( X1,Y1,X2,Y2,Text)
GraphicsWindow.DrawText( X,Y,Text)
GraphicsWindow.DrawText(Text)
GraphicsWindow.DrawText( X,Y)
GraphicsWindow.DrawLine( X1,Y1, X2,Y2)
What dose X1 and Y1 represents ?
Starting point
Ending point
Which is the correct statement ?
GraphicsWindow.DrawLine(160,30,250,180)
GraphicsWindows.DrawLine(160,30,250,180)
GraphicWindows.DrawLine(160,30,250,180)
GraphicsWindow.Line(160,30,250,180)
The output of this instruction is GraphicsWindow.FillRectangle(100,100,100,100)
GraphicsWindow.Brushcolor="white"
Which statement is correct to draw square ?
GraphicsWindow.DrawRectangle(0,0,300,500)
GraphicsWindow.DrawRectangle(10,0,300,500)
GraphicsWindow.DrawRectangle(0,0,300,300)
GraphicsWindow.DrawSquare(0,0,300,300)
Syntax to Draw Triangle
GraphicsWindow.DrawTriangle( X1, Y1, X2, Y2 )
GraphicsWindow.DrawTriangle( X1, Y1, W,H )
GraphicsWindow.DrawTriangle( X1, Y1, X2, Y2, X3, Y3 )
GraphicsWindow.DrawTriangle( X1, Y1 )
Which statement is correct to draw Circle ?
GraphicsWindow.DrawCircle(0,0,300,500)
GraphicsWindow.DrawEllipse(10,0,300,500)
GraphicsWindow.DrawEllipse(0,0,300,300)
GraphicsWindow.FillEllipse(0,0,300,300)
Which property is used to give heading to Graphics window ?
Height
Title
Fontsize
Fontname
What is Default title of Graphics window ?
Graphics window
Hello
Small Basic Graphics window
Welcome
Which property is used to change the style of font?
FontLook
FontStyle
FontUnderline
FontName
Explore all questions with a free account