
Spring Term 1 Assessment - Small Basics Quiz

Quiz
•
Computers
•
6th Grade
•
Hard

Julian Hooper
Used 5+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a variable in programming?
A fixed value that cannot change
A storage location identified by a memory address
A symbol that represents a mathematical operation
A type of error in a program
Answer explanation
A variable in programming is a storage location identified by a memory address, allowing data to be stored and manipulated. This distinguishes it from fixed values, mathematical symbols, or errors.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which is a data type in Small Basic?
Integer
Colour
Metre
Celsius
Answer explanation
In Small Basic, 'Integer' is a recognized data type used for whole numbers. The other options, 'Colour', 'Metre', and 'Celsius', are not standard data types in Small Basic.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you take input in Small Basic?
Using `InputBox`
Using `ReadLine`
Using `GetInput`
Using `UserInput`
Answer explanation
In Small Basic, user input is taken using the `InputBox` function, which prompts the user for input and returns the entered value. The other options are not valid functions for this purpose.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does this code output? ```smallbasic TextWindow.WriteLine("Hello, World!") ```
Hello, World!
"Hello, World!"
Hello World
"Hello World"
Answer explanation
The code uses TextWindow.WriteLine to output text. It prints exactly what is inside the quotes, including punctuation. Therefore, the correct output is 'Hello, World!', matching the first answer choice.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which is a conditional statement in Small Basic?
If...Then
Switch...Case
For...Next
While...Do
Answer explanation
The `If...Then` statement is a conditional statement in Small Basic, allowing the execution of code based on whether a condition is true. The other options serve different purposes: `Switch...Case` is for multiple conditions, `For...Next` is for loops, and `While...Do` is for repeated execution.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the code output if `x = 5`? ```smallbasic If x > 3 Then TextWindow.WriteLine("Greater") Else TextWindow.WriteLine("Smaller") EndIf ```
Greater
Smaller
Error
Nothing
Answer explanation
The code checks if x (5) is greater than 3. Since 5 is indeed greater than 3, it executes the first branch, outputting 'Greater'. Therefore, the correct answer is 'Greater'.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a common coding error?
Syntax Error
Colour Error
Metre Error
Celsius Error
Answer explanation
A Syntax Error is a common coding mistake that occurs when the code does not conform to the rules of the programming language. Unlike the other options, which are not standard coding errors, Syntax Errors prevent code from running.
Create a free account and access millions of resources
Similar Resources on Wayground
16 questions
Python programming

Quiz
•
6th - 12th Grade
17 questions
Microbit

Quiz
•
6th Grade
20 questions
Python Intermediate Quiz (Including pygame)

Quiz
•
3rd - 12th Grade
16 questions
Python - Variables and Input

Quiz
•
1st - 10th Grade
11 questions
Python L24 Debugging Skill

Quiz
•
6th - 8th Grade
20 questions
JavaScript Level 1

Quiz
•
5th - 9th Grade
17 questions
Python KS3

Quiz
•
6th - 9th Grade
15 questions
Intro to Small Basic

Quiz
•
KG - 7th Grade
Popular Resources on Wayground
12 questions
Unit Zero lesson 2 cafeteria

Lesson
•
9th - 12th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
20 questions
Lab Safety and Equipment

Quiz
•
8th Grade
13 questions
25-26 Behavior Expectations Matrix

Quiz
•
9th - 12th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
8 questions
Time Management

Quiz
•
6th Grade
18 questions
Company Logos

Quiz
•
6th - 8th Grade
15 questions
Acceptable Use Policy (Quiz)

Quiz
•
6th - 8th Grade
16 questions
Clovis Unified Student Use of Technology

Quiz
•
4th - 8th Grade
13 questions
Digital Citizenship

Quiz
•
6th Grade
11 questions
Technology Acceptable Use

Quiz
•
6th - 8th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade