
Control Structures Flashcard
Flashcard
•
Computers
•
8th Grade
•
Practice Problem
•
Hard
Aldo Chapa
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
Already have an account?
Similar Resources on Wayground
10 questions
rectangular coordinate system
Flashcard
•
8th Grade
12 questions
Grade 8 Science Quiz Bee
Flashcard
•
8th Grade
10 questions
Level 1 Recall Asesmen Jambore
Flashcard
•
7th Grade
10 questions
Personal pronouns
Flashcard
•
7th Grade
10 questions
Basic Mandarin Phrases
Flashcard
•
7th Grade
11 questions
Identify Parts of an Algebraic Expression and Evaluate
Flashcard
•
9th Grade
10 questions
ReactJS Flashcards
Flashcard
•
KG
14 questions
Comparatives and Superlatives adjectives
Flashcard
•
8th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade