Matching
Match each term with the correct statement below.
Premises:
Two possible courses of action
Separated with a question mark and a colon
A double equal sign
Two ampersands
true and false
Used in the OR operator
An alternative to using a series of nested if statements
The logical NOT operator
> or
Responses:
conditional operator
pipes
logical AND operator
equality
Boolean values
!
switch statement
relational operator
dual-alternative
Correct Answer:
Premises:
Responses:
Two possible courses of action
Separated with a question mark and a colon
A double equal sign
Two ampersands
true and false
Used in the OR operator
An alternative to using a series of nested if statements
The logical NOT operator
> or
Premises:
Two possible courses of action
Separated with a question mark and a colon
A double equal sign
Two ampersands
true and false
Used in the OR operator
An alternative to using a series of nested if statements
The logical NOT operator
> or
Responses:
Related Questions
Q10: When an expression containing a _ is
Q12: The simplest statement you can use to
Q16: Create an if…else statement that will check
Q36: Write a single-alternative if statement that will
Q43: <img src="https://d2lvgg3v3hfg70.cloudfront.net/TBX9005/.jpg" alt=" Using the
Q48: _ is a tool that helps programmers
Q49: <img src="https://d2lvgg3v3hfg70.cloudfront.net/TBX9005/.jpg" alt=" Using the flowchart
Q51: Both & and | are valid Java
Q55: When writing a statement with the two-line
Q73: Why would a programmer use an &&