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

Y10M2A2 - Selection

Y10M2A2 - Selection

6th - 10th Grade

15 Qs

VisualBasic

VisualBasic

8th Grade

15 Qs

Programming Lesson 3

Programming Lesson 3

6th - 8th Grade

12 Qs

Microsoft PowerPoint 2016

Microsoft PowerPoint 2016

8th Grade

15 Qs

Networking Quiz

Networking Quiz

8th - 9th Grade

15 Qs

Arduino

Arduino

7th - 9th Grade

15 Qs

Primary: Flowcharts

Primary: Flowcharts

5th - 6th Grade

6 Qs

ICT 5 EPP

ICT 5 EPP

5th - 6th Grade

10 Qs

Unit 1 Variables, Subroutines, and Conditional Statements-Quiz

Unit 1 Variables, Subroutines, and Conditional Statements-Quiz

Assessment

Quiz

Computers

6th - 8th Grade

Practice Problem

Medium

Created by

shumaila shereen

Used 3+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?