NEW
Font size
WorksheetsCoding Basics for Grade 6
Total questions: 15
Worksheet time: 8mins
What is a variable in programming?
A variable is a command that executes a program.
A variable is a named storage location in programming that holds a value.
A variable is a fixed value that cannot change.
A variable is a type of function in programming.
Which of the following is a programming language?
Python
CSS
HTML
JavaScript
What does 'debugging' mean?
Debugging refers to the design phase of software development.
Debugging means identifying and fixing errors in software.
Debugging means optimizing software performance.
Debugging is the process of writing new code.
In Scratch, what is a sprite?
A sprite is a character or object in Scratch that can be programmed.
A sprite is a type of programming language.
A sprite is a sound effect used in Scratch.
A sprite is a background image in Scratch.
What is an algorithm?
A programming language used for coding.
An algorithm is a step-by-step procedure for solving a problem.
A random guess for a solution.
A type of computer hardware.
How do you start a new project in Scratch?
Select 'New Project' from the Scratch menu bar.
Click 'Create' on the Scratch website to start a new project.
Press 'Enter' to create a new project in Scratch.
Click 'Start' on the Scratch homepage to begin a project.
What is the purpose of a loop in programming?
To store data temporarily during program execution.
The purpose of a loop in programming is to repeat a set of instructions until a condition is satisfied.
To create user interfaces in applications.
To define functions and methods in a program.
What does the 'if' statement do?
The 'if' statement terminates the program.
The 'if' statement controls the flow of execution based on a condition.
The 'if' statement defines a variable.
The 'if' statement creates a loop.
How can you make a sprite move in Scratch?
Click the sprite to make it move automatically.
Use the 'jump [number] units' block in the 'Action' category.
Drag the sprite to move it manually on the stage.
Use the 'move [number] steps' block in the 'Motion' category.
What is a function in programming?
A function is a command that executes only once.
A function is a type of variable that stores data.
A function is a reusable block of code that performs a specific task.
A function is a graphical representation of data.
What is the first step in debugging a program?
Add more features
Reproduce the error.
Optimize the code
Check the syntax
What is the goal of creating a simple game?
To teach advanced programming skills.
To create complex strategies for players.
To provide entertainment and engage players.
To generate revenue through in-game purchases.
How do you add sound to a Scratch project?
Use the 'Costumes' tab to add sound effects.
Drag and drop a sound file onto the stage.
Select a sprite and press the 'Play' button to add sound.
Click on the 'Sounds' tab, choose or upload a sound, and use sound blocks to play it.
What is a conditional statement?
A conditional statement is a statement that provides a definition.
A conditional statement is a type of mathematical equation.
A conditional statement is a statement that always holds true.
A conditional statement is a statement that expresses a condition and its outcome, often structured as 'If P, then Q'.
What does 'testing' a program involve?
Testing a program involves writing documentation for it.
Testing a program means only checking its user interface.
Testing a program is about optimizing its performance.
Testing a program involves executing it to identify errors and verify its functionality.
