
Unit 4: Variables, Conditionals, & Functions (2)
Flashcard
•
Computers
•
9th - 12th Grade
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Student preview

32 questions
Show all answers
1.
FLASHCARD QUESTION
Front
When is a compound condition using the logic operator AND true?
Back
When both of the conditions are true
2.
FLASHCARD QUESTION
Front
Which are examples of Boolean operators? Options: AND, OR and NOT, Greater than (>), less than (<) and equal to (=), Multiplication (*), subtraction (-), addition (+) and division (/), Picking random numbers
Back
AND, OR and NOT
3.
FLASHCARD QUESTION
Front
Which are examples of relational operators? Options: AND, OR and NOT, Greater than (>), less than (<) and equal to (=), Multiplication (*), subtraction (-), addition (+) and division (/), Picking random numbers
Back
Greater than (>), less than (<) and equal to (=)
4.
FLASHCARD QUESTION
Front
Which of the following is FALSE regarding ELSE IF statements?
You add an ELSE IF when you have another condition you want to check.
You are limited to only one ELSE in your code
Each condition in an ELSE IF is checked from top to bottom
The final ELSE clause is executed if all the previous conditions evaluated to false.
Back
You are limited to only one ELSE in your code
5.
FLASHCARD QUESTION
Front
Which of the following statements regarding AND/OR operators are FALSE? true && true --> true, true && false --> true, false || true --> true, false || false --> false
Back
true && false --> true
6.
FLASHCARD QUESTION
Front
Which of the following statements regarding AND/OR/NOT operators are TRUE? Options: !(true) = true, true || true = false, false && true = true, false || true = true
Back
false || true = true
7.
FLASHCARD QUESTION
Front
Based on the following, determine whether the expression !(season== “Summer”) is TRUE or FALSE:
var season= “Spring”;
Back
True
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
29 questions
OMSIMGAMING
Flashcard
•
11th Grade
20 questions
HGE S1 Final Exam 2024 Edition - **AI Generated**
Flashcard
•
10th Grade
20 questions
Overcoming Limiting Beliefs
Flashcard
•
11th Grade
25 questions
The Gospels Midterm Review
Flashcard
•
KG - University
21 questions
Java Flashcard-1
Flashcard
•
KG - University
20 questions
BHS. INGGRIS KELAS 9
Flashcard
•
9th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression
Flashcard
•
9th - 12th Grade
30 questions
Exploring Motion and Waves Flashcard
Flashcard
•
8th Grade - University
Popular Resources on Wayground
10 questions
Forest Self-Management
Lesson
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
30 questions
Thanksgiving Trivia
Quiz
•
9th - 12th Grade
30 questions
Thanksgiving Trivia
Quiz
•
6th Grade
11 questions
Would You Rather - Thanksgiving
Lesson
•
KG - 12th Grade
48 questions
The Eagle Way
Quiz
•
6th Grade
10 questions
Identifying equations
Quiz
•
KG - University
10 questions
Thanksgiving
Lesson
•
5th - 7th Grade
Discover more resources for Computers
30 questions
Thanksgiving Trivia
Quiz
•
9th - 12th Grade
11 questions
Would You Rather - Thanksgiving
Lesson
•
KG - 12th Grade
10 questions
Identifying equations
Quiz
•
KG - University
18 questions
Thanksgiving Trivia
Quiz
•
4th - 12th Grade
20 questions
Thanksgiving
Quiz
•
KG - 12th Grade
20 questions
Pythagorean Theorem and Their Converse
Quiz
•
8th - 9th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
10 questions
Thanksgiving Trivia Challenge: Test Your Knowledge!
Interactive video
•
6th - 10th Grade