When is a compound condition using the logic operator AND true?

Unit 4: Variables, Conditionals, & Functions (2)

Flashcard
•
Computers
•
9th - 12th Grade
•
Hard
Quizizz Content
FREE Resource
Student preview

32 questions
Show all answers
1.
FLASHCARD QUESTION
Front
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
Similar Resources on Quizizz
23 questions
Python - Conditional Statements

Flashcard
•
9th - 11th Grade
21 questions
AP CSP Unit 7: Parameters, Returns, and Libraries

Flashcard
•
9th - 12th Grade
25 questions
Alabama Permit Test 3

Flashcard
•
9th - 12th Grade
25 questions
CPR Review

Flashcard
•
9th - 12th Grade
26 questions
Acts 3+4 Review for Assessment 23-24

Flashcard
•
9th - 12th Grade
26 questions
Acts 3+4 Review for Assessment 23-24

Flashcard
•
9th - 12th Grade
25 questions
Intro to CS Unit 3 Review

Flashcard
•
9th - 12th Grade
23 questions
Java Loops

Flashcard
•
10th - 12th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University