
Control Structures Flashcard
Flashcard
•
Computers
•
8th Grade
•
Easy
Aldo Chapa
Used 1+ times
FREE Resource
Student preview

12 questions
Show all answers
1.
FLASHCARD QUESTION
Front
What is the correct way to define a function in JavaScript? Options: function: myFunction() {}, function myFunction() {}, def myFunction() {}, function = myFunction() {}
Back
function myFunction() {}
2.
FLASHCARD QUESTION
Front
Which of the following is a Boolean value in JavaScript? Options: 0, "true", true, `"false"
Back
true
3.
FLASHCARD QUESTION
Front
Which logical operator represents "AND" in JavaScript? Options: &&, ||, !, ==
Back
&&
4.
FLASHCARD QUESTION
Front
What is the result of the following comparison in JavaScript: 10 == "10"?
Back
true
5.
FLASHCARD QUESTION
Front
What will the following code output?
```javascript
let x = 0;
while (x < 3) {
console.log(x);
x++;
}
```
Back
0 1 2
6.
FLASHCARD QUESTION
Front
Which statement is used to exit a loop prematurely in JavaScript?
Back
break
7.
FLASHCARD QUESTION
Front
Which of the following is a valid function call in JavaScript? Options: myFunction;, myFunction[];, myFunction();, myFunction{}
Back
myFunction();
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
10 questions
Order of Operations
Flashcard
•
6th Grade
10 questions
Aplikasi Fungsi Kuadrat untuk Siswa Kelas 9
Flashcard
•
9th Grade
10 questions
Avaliação 8º ANO
Flashcard
•
8th Grade
6 questions
Flashcardz Equações 7 Ano
Flashcard
•
7th - 8th Grade
15 questions
math
Flashcard
•
KG
14 questions
7a 1.6 rzeźba polodowcowa
Flashcard
•
7th Grade
7 questions
French to English Future Intentions
Flashcard
•
8th Grade
8 questions
Possessive Pronouns
Flashcard
•
6th Grade
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
11 questions
NEASC Extended Advisory
Lesson
•
9th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade