
Control Structures Flashcard
Flashcard
•
Computers
•
8th Grade
•
Practice Problem
•
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();
Access all questions and much more by creating a free account
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
9 questions
Inequalities
Flashcard
•
9th Grade
10 questions
Equations of Circles
Flashcard
•
9th Grade
12 questions
Blender - Modifiers in 3D Modeling
Flashcard
•
7th Grade
12 questions
Penyajian Data
Flashcard
•
7th Grade
14 questions
LETTER 1
Flashcard
•
KG
10 questions
Present Simple
Flashcard
•
6th - 7th Grade
13 questions
Grade 9 Unit 4 Review: Linear Relations
Flashcard
•
9th Grade
14 questions
Menentukan Nilai Fungsi
Flashcard
•
8th - 9th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade