Loops in JavaScript
Flashcard
•
Computers
•
9th - 12th Grade
•
Practice Problem
•
Hard
Wayground 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
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?
Similar Resources on Wayground
8 questions
CHILDREN 2 (1ST CLASS)
Flashcard
•
KG
10 questions
Projectile Motion
Flashcard
•
10th - 12th Grade
12 questions
Organic 2 Exam 4 Review
Flashcard
•
KG
12 questions
Decimal place value expanded and standard form
Flashcard
•
9th - 12th Grade
8 questions
Pierre-Luc's Flashcard
Flashcard
•
KG - University
11 questions
Percent Abundance
Flashcard
•
10th - 12th Grade
6 questions
12/6 News Flashcard
Flashcard
•
9th - 12th Grade
10 questions
Secondary storage
Flashcard
•
9th - 11th Grade
Popular Resources on Wayground
10 questions
Forest Self-Management
Lesson
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
30 questions
Thanksgiving Trivia
Quiz
•
9th - 12th Grade
30 questions
Thanksgiving Trivia
Quiz
•
6th Grade
11 questions
Would You Rather - Thanksgiving
Lesson
•
KG - 12th Grade
48 questions
The Eagle Way
Quiz
•
6th Grade
10 questions
Identifying equations
Quiz
•
KG - University
10 questions
Thanksgiving
Lesson
•
5th - 7th Grade
Discover more resources for Computers
30 questions
Thanksgiving Trivia
Quiz
•
9th - 12th Grade
11 questions
Would You Rather - Thanksgiving
Lesson
•
KG - 12th Grade
10 questions
Identifying equations
Quiz
•
KG - University
18 questions
Thanksgiving Trivia
Quiz
•
4th - 12th Grade
20 questions
Thanksgiving
Quiz
•
KG - 12th Grade
20 questions
Pythagorean Theorem and Their Converse
Quiz
•
8th - 9th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
10 questions
Thanksgiving Trivia Challenge: Test Your Knowledge!
Interactive video
•
6th - 10th Grade