
Control Structures Flashcard

Flashcard
•
Computers
•
8th Grade
•
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
Similar Resources on Wayground
10 questions
ReactJS Flashcards

Flashcard
•
KG
10 questions
Function Notation

Flashcard
•
8th Grade
10 questions
Coding

Flashcard
•
9th Grade
10 questions
Ripasso di Informatica

Flashcard
•
9th Grade
11 questions
For Loops

Flashcard
•
9th Grade
10 questions
Unit 3: Lesson 5: Variables Flashcard

Flashcard
•
6th Grade
12 questions
Control Structures Flashcard

Flashcard
•
8th Grade
14 questions
CodeHS: Unit6 - JavaScript Basics

Flashcard
•
9th Grade
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
Discover more resources for Computers
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
24 questions
Flinn Lab Safety Quiz

Quiz
•
5th - 8th Grade
15 questions
Wren Pride and School Procedures Worksheet

Quiz
•
8th Grade
10 questions
Essential Lab Safety Practices

Interactive video
•
6th - 10th Grade
10 questions
Converting Repeating Decimals to Fractions

Quiz
•
8th Grade