
C++ Conditional Statements

Quiz
•
Other
•
University
•
Hard
Noelyn Mandanas - De Jesus
Used 26+ times
FREE Resource
44 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
It is used to combine two Boolean values and return a result. The most common logical operators are && (AND), || (OR) and ! (NOT).
Arithmetic Operator
Assignment Operator
Relational Operator
Logical Operator
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
It is used to compare two expressions and return true or false. The most common are > (greater than), < (less than), >= (greater than or equal to), <= (less than or equal to), == (equal to), != (not equal to).
Arithmetic Operator
Assignment Operator
Relational Operator
Logical Operator
3.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Else block runs if all conditions in the statement are false
TRUE
FALSE
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Not (!) results in "True" if one or both operands are true; otherwise the operator results in false. Everything the works for && also works for ||
TRUE
FALSE
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
results in "true" if the value is false, and vice versa. It effectively inverts the value. True becomes false and false becomes true. Overlaps with || but not with &&
Or (||)
Not (!)
And (&&)
Boolean
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
A symbol or a word, such as "and", "or" and "not" that connects two or more Booleans to make conditional decisions more specific
Nested if-statement
Condition
Logical operator
Boolean
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Something you test that results in true or false-start with question, determine possible outcomes, act on the outcome
And (&&)
Condition
Boolean
Or (||)
Create a free account and access millions of resources
Similar Resources on Wayground
40 questions
Python Programming Quiz

Quiz
•
University
40 questions
môn F1

Quiz
•
University
43 questions
QB | Basic Financial Accounting 1

Quiz
•
University
40 questions
Database Systems Final Exam

Quiz
•
University
40 questions
Economics: Chapters 4 & 5 Review

Quiz
•
KG - University
49 questions
Final - P2

Quiz
•
University
40 questions
STIs

Quiz
•
KG - University
42 questions
STS - CONCEPTS OF ENVIRONMENT

Quiz
•
University
Popular Resources on Wayground
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World

Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
20 questions
ELA Advisory Review

Quiz
•
7th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns

Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Other
11 questions
NFL Football logos

Quiz
•
KG - Professional Dev...
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
38 questions
Unit 6 Key Terms

Quiz
•
11th Grade - University
20 questions
La Hora

Quiz
•
9th Grade - University
7 questions
Cell Transport

Interactive video
•
11th Grade - University
7 questions
What Is Narrative Writing?

Interactive video
•
4th Grade - University