#100 Devs - LwL - class 15

#100 Devs - LwL - class 15

10th Grade - Professional Development

25 Qs

quiz-placeholder

Similar activities

AJP - UNIT I - DESIGN PATTERNS

AJP - UNIT I - DESIGN PATTERNS

University

20 Qs

Code.org AP CSP Lists

Code.org AP CSP Lists

9th - 12th Grade

20 Qs

Lists and Loops in Computer Science

Lists and Loops in Computer Science

10th - 12th Grade

20 Qs

Javascript Arrays

Javascript Arrays

10th Grade

25 Qs

JavaScript Arrays

JavaScript Arrays

10th - 12th Grade

30 Qs

Repaso Examen Teórico de JavaScript

Repaso Examen Teórico de JavaScript

12th Grade

20 Qs

2 Big oh

2 Big oh

University

20 Qs

Quiz Js

Quiz Js

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?