#100 Devs - LwL - class 15

#100 Devs - LwL - class 15

10th Grade - Professional Development

25 Qs

quiz-placeholder

Similar activities

JS #4 Functions That Return Information

JS #4 Functions That Return Information

12th Grade - University

20 Qs

PC FE Quiz

PC FE Quiz

Professional Development

29 Qs

UH-PWPB

UH-PWPB

12th Grade

25 Qs

Typescript class 02

Typescript class 02

University

26 Qs

Team 4 Data structure

Team 4 Data structure

University

20 Qs

Examen 1P DAND 23

Examen 1P DAND 23

University

20 Qs

Code.org Unit 5

Code.org Unit 5

10th - 12th Grade

20 Qs

PHP & MySQL

PHP & MySQL

University

20 Qs

#100 Devs - LwL - class 15

#100 Devs - LwL - class 15

Assessment

Quiz

Computers, Professional Development

10th Grade - Professional Development

Easy

Created by

Leonardo Ghiggino

Used 2+ times

FREE Resource

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?