Unit 1 Variables, Subroutines, and Conditional Statements-Quiz

Unit 1 Variables, Subroutines, and Conditional Statements-Quiz

6th - 8th Grade

10 Qs

quiz-placeholder

Similar activities

Exploring Vectr Basics

Exploring Vectr Basics

6th Grade

10 Qs

mind map

mind map

6th - 8th Grade

10 Qs

CARTOON CHARACTER

CARTOON CHARACTER

6th Grade

10 Qs

Quiz #2 Move. Marquee and Lasso Tool

Quiz #2 Move. Marquee and Lasso Tool

7th Grade

15 Qs

Small Basic 2

Small Basic 2

KG - 8th Grade

10 Qs

Introduction to flowcharts

Introduction to flowcharts

6th - 7th Grade

10 Qs

Introduction to Adobe Flash/Animate

Introduction to Adobe Flash/Animate

8th Grade

14 Qs

Unit 1 Variables, Subroutines, and Conditional Statements-Quiz

Unit 1 Variables, Subroutines, and Conditional Statements-Quiz

Assessment

Quiz

Computers

6th - 8th Grade

Medium

Created by

shumaila shereen

Used 3+ times

FREE Resource

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?