
Unit 1 Variables, Subroutines, and Conditional Statements-Quiz
Authored by shumaila shereen
Computers
6th - 8th Grade
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is a variable in Small Basic?
A place to store data
A command to move shapes
A text window
A shape
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
How do you declare a variable in Small Basic?
variableName is value
variableName = value
variableName -> value
variableName : value
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following is a correct variable name?
2name
first name
age_12
Height-Value
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following is a reserved word in Small Basic?
if
hello
My_Var
circle
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the purpose of the Shapes.AddRectangle() command in Small Basic?
It adds text to the graphics window
It draws a rectangle shape on the graphics window
It moves a rectangle to a new position
It changes the color of the rectangle
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following commands will create a circle in Small Basic?
Shapes.AddRectangle(100, 100)
Shapes.AddEllipse(60, 60)
Shapes.AddTriangle(60, 60)
Shapes.AddLine(60, 60)
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following correctly defines a subroutine in Small Basic?
Method AddShape()
Def subName()
Sub subName
Proc subName
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?