
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
11 questions
Identifying Functions from a function map

Flashcard
•
8th Grade
16 questions
JavaScript

Flashcard
•
7th - 8th Grade
10 questions
Games: Blockly vs Scratch

Flashcard
•
9th Grade
16 questions
JavaScript Basics

Flashcard
•
9th Grade
10 questions
Understanding Variables in Programming

Flashcard
•
6th Grade
15 questions
Domain and Range

Flashcard
•
8th Grade
15 questions
Algebra 1 Transformations Exit Ticket

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

Flashcard
•
6th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
18 questions
Company Logos

Quiz
•
6th - 8th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade