
#100 Devs - LwL - class 15
Authored by Leonardo Ghiggino
Computers, Professional Development
10th Grade - Professional Development
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are variables?
They are ways to store data in the computer memory
Data Buckets
Boxes
All are correct
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How to declare and assign values to variables?
let variableName = "this is a string"
variableName = "this is a string"
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Ways to assign values to a string type of variable?
single quote', "double quote", or `backticks`
single quote', "double quote"
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the difference between === and ==
Three equal signs compares type and value, and two equal signs compares only value
Three equal signs compares only value, and two equal signs compares type and value
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
const age = 17
if (age >= 18){
console.log("you can get in")
} else if (age > 16) {
console.log("you're not quite ready")
}else {
console.log("You're too young")
}
What will this code return?
"you're not quite ready"
"you can get in"
"You're too young"
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
const fishSpecies = "clownfish"
const inhabitat = "anemone"
if (fishSpecies === "clownfish" && inhabitat === "anemone"){
console.log("welcome home, nemo")
} else{
console.log("only clownfish is allowed in the anemone")
}
What will this return?
"welcome home, nemo"
"only clownfish is allowed in the anemone"
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
if (name === "leon" && hair ==="gorgeous"{ //run code } What must be true so the code runs?
name must be Leon and hair must be gorgeous
Either name must be Leon or hair must be gorgeous
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?