
Coding Challenge
Quiz
•
Computers
•
4th Grade
•
Easy
Emmanuel Ejoor
Used 1+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a variable in Scratch?
A variable in Scratch is a placeholder for a value that can change.
A variable in Scratch is a type of costume for sprites.
A variable in Scratch is a type of sound effect.
A variable in Scratch is a fixed value that never changes.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you declare a variable in JavaScript?
myVariable = 0;
var myVariable;
const myVariable;
let myVariable;
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of conditionals in coding?
Conditionals in coding are used to make decisions based on certain conditions.
Conditionals in coding are used to store data.
Conditionals in coding are used to format text.
Conditionals in coding are used to create loops.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Explain the 'if' statement in JavaScript.
The 'if' statement in JavaScript is used to make decisions in code based on whether a condition is true or false.
The 'if' statement in JavaScript is not supported in modern browsers
The 'if' statement in JavaScript is only used for printing output
The 'if' statement in JavaScript is used for looping through arrays
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are comparison operators used for?
Comparison operators are used to create loops in programming
Comparison operators are used to store data in variables
Comparison operators are used to perform mathematical operations
Comparison operators are used to compare values in programming.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you create a loop in Scratch?
Use the 'loop' block in Scratch.
Click the green flag in Scratch.
Type 'loop' in the Scratch search bar.
Use the 'repeat' block in Scratch.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the difference between '==' and '===' in JavaScript?
'==' is the strict equality operator
'===' converts values to a common type before comparison
'==' is the equality operator that converts values to a common type before comparison, while '===' is the strict equality operator that compares both value and type without conversion.
'==' compares value and type without conversion
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
10 questions
Python - Operators and Conditional Statement
Quiz
•
3rd - 10th Grade
10 questions
FINAL FOR YEAR 3 - 4
Quiz
•
4th Grade
10 questions
Small Basic 2
Quiz
•
KG - 8th Grade
10 questions
Scratch
Quiz
•
1st - 5th Grade
10 questions
MINDX - SB Buổi 4
Quiz
•
1st - 5th Grade
15 questions
A G4 Scratch REVISION
Quiz
•
4th Grade
10 questions
Scratch basics BIl.
Quiz
•
4th Grade
10 questions
Scratch Programming
Quiz
•
4th - 6th Grade
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
20 questions
ELA Advisory Review
Quiz
•
7th Grade
15 questions
Subtracting Integers
Quiz
•
7th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade