wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Y7 - Small Basic - HL 1

Total questions: 20

Worksheet time: 10mins

Name
Class
Date
1.

What is a variable?

a)

Place in memory that stores information

b)

A place that never has data

c)

Storage for music

d)

A type of programming language

2.

Which of these is the correct way to write the line of code?

a)

turtle.forward(10)

b)

turtle.go(10)

c)

turtle.forward[10]

d)

turtle.forward = 10

3.
What is Small Basic?
a)
Text based programming
b)
Pictoral based programming
4.
What can you do in Small Basic?
a)
Fix Hardware
b)
Create a Computer Programme
c)
Hack Compu
5.
Which key is used to run a program in Small Basic? 
a)
Enter
b)
F5
c)
F10
d)
F12
6.
What code would you use to write a message to the screen?
a)
TextWindow.Title
b)
TextWindow.WriteLine
7.

What does this code do: GraphicsWindow.BackgroundColor="red"

a)

Change the background colour to red

b)

Draw a Square

c)

Create a house

d)

Draw a Blue Line

8.
An algorithm is..
a)
A series of steps that is followed in order
b)
A type of logic gate
c)
PowerPoint
d)
A binary number 
9.
Turtle.Speed can
a)
Make the turtle go quicker
b)
Make the turtle dissapear
c)
Stop the pen from drawing 
d)
Make the turtle delete 
10.
What is the name of the area where you are writing your code?
a)
Editor
b)
Code Window
11.
What does the following code do?

TextWindow.Height = 100
a)
Sets the graphics window to be 100 px high 
b)
Sets the graphics window to be 50 px high
c)
Sets the text window to be 100 px high
d)
Creates a graphics window
12.
What does the following code do?

GraphicsWindow.PenColor
a)
Changes the pen size 
b)
Changes the fill colour of a shape
c)
Changes the pen colour
d)
Creates a graphics window
13.
What does the following code do?

TextWindow.WriteLine("Hello")
a)
Asks the user to write "Hello"
b)
Displays thec urrent date
c)
Displays the word "Hello"
d)
Adds the value "Hello" to the variable "TextWindow"
14.
Which of these is used to create images?
a)
TextWindow
b)
GraphicsWindow
15.
What will be displayed in the Text Window?

TextWindow.WriteLine("8 + 4")

a)
8 + 4
b)
12
16.
What will be displayed in the Text Window?

animal = "lion"

TextWindow.WriteLine(animal)
a)
lion
b)
Lion
c)
animal
d)
Error
17.
What code would you use to read a user's input into a variable?
a)
TextWindow.WriteLine
b)
TextWindow.Read()
c)
Text.Window(read)
d)
WindowTextReadWrite
18.
What code would you use to give the Text Window a title?
a)
TextWindow.Title
b)
TextWindow.WriteLine
19.
What will be displayed in the Text Window?
a)
8 + 4
b)
12
20.
What will be displayed in the Text Window?
a)
20
b)
15 + 5