Loops in JavaScript

Flashcard
•
Computers
•
9th - 12th Grade
•
Hard
Quizizz Content
FREE Resource
Student preview

13 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Goal = Create a loop that turns as long as i is less than 10. What should replace ⭐? Options: >, <, >=, <=
Back
<
Answer explanation
Inequalities in JS
== is equal to
> is greater than
>= is greater than or equal to
< is less than
<= is less than or equal to
!= is not equal to
! not
2.
FLASHCARD QUESTION
Front
What is a value for ⭐ that would prevent the loop from ever running?
Back
10
Answer explanation
Loop ONLY while i is less than 10
3.
FLASHCARD QUESTION
Front
What JavaScript code matches this statement: Their name is Jacob and they are less than 15 years old.? Options: if(name = "Jacob" && age < 15), if(name == "Jacob" && age < 15), if(name == "Jacob" || age < 15), if("name" == "Jacob" && age < 15)
Back
if(name == "Jacob" && age < 15)
Answer explanation
~~~Logical Operators~~~
&& and
|| or
! not
~~~Inequalities in JS~~~
== is equal to
> is greater than
>= is greater than or equal to
< is less than
<= is less than or equal to
!= is not equal to
4.
FLASHCARD QUESTION
Front
What is a value for ⭐ that would prevent the loop from ever running?
Back
10
Answer explanation
Loops ONLY while i is greater than 10
5.
FLASHCARD QUESTION
Front
Goal = Create a loop that turns as long as i is greater than 10. What should replace ⭐? Options: >, <, >=, <=
Back
>
Answer explanation
~~~Inequalities in JS~~~
== is equal to
> is greater than
>= is greater than or equal to
< is less than
<= is less than or equal to
!= is not equal to
6.
FLASHCARD QUESTION
Front
Greater than or equal to
Back
>=
Answer explanation
~~~Inequalities in JS~~~
== is equal to
> is greater than
>= is greater than or equal to
< is less than
<= is less than or equal to
!= is not equal to
7.
FLASHCARD QUESTION
Front
Logical Operators - What is the symbol below?
&&
Back
And
Answer explanation
~~~Logical Operators~~~
&& and
|| or
! not
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Weird FLASHCARDZ

Flashcard
•
KG - University
11 questions
Python Loops

Flashcard
•
9th - 11th Grade
10 questions
Christmas Flashcard

Flashcard
•
10th Grade - University
10 questions
Esau and Jacob

Flashcard
•
9th - 12th Grade
10 questions
Articulation

Flashcard
•
9th - 12th Grade
10 questions
Torah Vocab

Flashcard
•
9th - 12th Grade
12 questions
Classifying Quadrilaterals

Flashcard
•
9th - 12th Grade
13 questions
java variables 1

Flashcard
•
9th - 12th Grade
Popular Resources on Wayground
15 questions
Hersheys' Travels Quiz (AM)

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
30 questions
Lufkin Road Middle School Student Handbook & Policies Assessment

Quiz
•
7th Grade
20 questions
Multiplication Facts

Quiz
•
3rd Grade
17 questions
MIXED Factoring Review

Quiz
•
KG - University
10 questions
Laws of Exponents

Quiz
•
9th Grade
10 questions
Characterization

Quiz
•
3rd - 7th Grade
10 questions
Multiply Fractions

Quiz
•
6th Grade