NEW
Font size
S
M
L
XL
WorksheetsSmall Basic
Total questions: 44
Worksheet time: 20mins
Name
Class
Date
1.
What is Small Basic?
a)
Text based programming
b)
Pictoral based programming
2.
What can you do in Small Basic?
a)
Fix Hardware
b)
Create a Computer Programme
c)
Hack Compu
3.
Which key is used to run a program in Small Basic?
a)
Enter
b)
F5
c)
F10
d)
F12
4.
What code would you use to write a message to the screen?
a)
TextWindow.Title
b)
TextWindow.WriteLine
5.
Text in speech marks e.g. "Hello World!" are called?
a)
Variables
b)
Booleans
c)
Strings
d)
Text Operators
6.
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
7.
What is this called?
a)
Black Box
b)
Text Window
8.
A storage area that can change
a)
Differing
b)
Variable
9.
What code would you use to read the user's answer?
a)
TextWindow.Read()
b)
TextWindow.WriteLine
10.
To temporarily store a value in Small Basic you need to create a..?
a)
Operator
b)
Variable
c)
Statement
d)
Text Window
11.
To make the pen go up you can use...
a)
PenUp()
b)
Turtle.PenUp()
c)
Turtle.Pen(Up)
d)
Turtle.Pendown()
12.
Which of these pieces of code will not work
a)
Turtle.PenDown()
b)
Turtle.TurnLeft(100)
c)
Turtle.Move(50)
d)
Turtle.Show()
13.
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
14.
What is this called?
a)
Black Box
b)
Text Window
15.
To make the pen go down you can use..
a)
Turtle.PenDown()
b)
Turtle.Pen(Down)
c)
GraphicsWindow.Title = ""
d)
TurtlePenDown()
16.
What is the name of the area where you are writing your code?
a)
Editor
b)
Code Window
17.
What will be displayed in the Text Window?
a)
tiger
b)
animal
18.
What does the following code do?
TextWindow.WriteLine("Hello")
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"
19.
What does the following code do?
TextWindow.WriteLine("Hello")
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"
20.
What is a variable?
a)
A location to store a value
b)
A date
c)
A time
d)
None of the above
21.
Which of these is used to create images?
a)
TextWindow
b)
GraphicsWindow
22.
What line of code would I use to create the image above?
a)
Window.DrawRect(100, 100, 40, 80)
b)
GraphicsWindow.DrawRectangle
c)
GraphicsWindow.DrawRectangle(100, 100, 40, 80)
d)
GraphicsWindow.DrawEllipse(100, 100, 40, 80)
23.
What will be displayed in the Text Window?
TextWindow.WriteLine("8 + 4")
TextWindow.WriteLine("8 + 4")
a)
8 + 4
b)
12
24.
What will be displayed in the Text Window?
animal = "lion"
TextWindow.WriteLine(animal)
animal = "lion"
TextWindow.WriteLine(animal)
a)
lion
b)
Lion
c)
animal
d)
Error
25.
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
26.
What code would you use to write a message to the screen?
a)
TextWindow.Title
b)
TextWindow.WriteLine
27.
What code would you use to give the Text Window a title?
a)
TextWindow.Title
b)
TextWindow.WriteLine
28.
A storage area that can change
a)
Differing
b)
Variable
29.
What code would you use to read the user's answer?
a)
TextWindow.Read()
b)
TextWindow.WriteLine
30.
To temporarily store a value in Small Basic you need to create a..?
a)
Operator
b)
Variable
c)
Statement
d)
Text Window
31.
To store the user´s input as a variable, which Small Basic command should be used?
a)
TextWindow.Read()
b)
TextWindow.Write()
c)
TextWindow(Read)
d)
TextWindow(Write)
32.
Text in speech marks e.g. "Hello World!" are called?
a)
Variables
b)
Booleans
c)
Strings
d)
Text Operators
33.
A variable that contains a whole number is called an..?
a)
String
b)
Boolean
c)
Integer
d)
Real Number
34.
Giving a value to a variable e.g. name = "Tim" is called..?
a)
Making
b)
Attaching
c)
Listing
d)
Assigning
35.
To multiply two values in Small Basic, which operator should you use?
a)
**
b)
*
c)
x
d)
X
36.
A line of code that gives an instruction to a computer is a..?
a)
Code
b)
Statement
c)
Property
d)
Operation
37.
A value that can be assigned to a text window such as Backgroundcolor = "Blue" is a..?
a)
Property
b)
Statement
c)
Program
d)
Array
38.
Who developed Small Basic?
a)
Microsoft
b)
Apple
c)
Adobe
d)
Android
39.
What can you do in Small Basic?
a)
Fix Hardware
b)
Create a Computer Programme
c)
Hack Compu
40.
Which key is used to run a program in Small Basic?
a)
Enter
b)
F5
c)
F10
d)
F12
41.
What code would you use to write a message to the screen?
a)
TextWindow.Title
b)
TextWindow.WriteLine
42.
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
43.
What is this called?
a)
Black Box
b)
Text Window
44.
To temporarily store a value in Small Basic you need to create a..?
a)
Operator
b)
Variable
c)
Statement
d)
Text Window
Reset
