
Small Basic Programming Quiz
Authored by Andrew Harrop [Manchester]
Information Technology (IT)
7th Grade
Used 24+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a variable in programming?
A type of loop
A storage location identified by a memory address
A type of function
A control structure
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a valid data type in Small Basic?
Integer
String
Boolean
All of the above
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of an 'If' statement in programming?
To repeat a block of code
To make decisions based on conditions
To define a function
To store data
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a loop structure in Small Basic?
For...EndFor
If...EndIf
Function...EndFunction
Input...Output
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the following code do? ```smallbasic For i = 1 To 5 TextWindow.WriteLine(i) EndFor ```
Prints numbers 1 to 5
Prints numbers 0 to 4
Prints the number 5
Prints the number 1
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you take input from the user in Small Basic?
TextWindow.Read()
TextWindow.Write()
TextWindow.Print()
TextWindow.Display()
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the following code output? ```smallbasic TextWindow.WriteLine("Hello, World!") ```
Hello, World!
"Hello, World!"
Hello World
"Hello World"
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?