Compound Boolean Expressions

Compound Boolean Expressions

Assessment

Flashcard

Computers

University

Hard

Created by

Wayground Content

FREE Resource

Student preview

quiz-placeholder

13 questions

Show all answers

1.

FLASHCARD QUESTION

Front

Which logical operator is used to negate a boolean value?

Back

!

2.

FLASHCARD QUESTION

Front

What is the result of the expression (a > b) && (b > c) if both a > b and b > c are true?

Back

True

3.

FLASHCARD QUESTION

Front

What is the result of the expression (a > b) || (b > c) if either a > b or b > c is true?

Back

True

4.

FLASHCARD QUESTION

Front

What is the result of the expression !((a > b) && (b > c))?

Back

False

5.

FLASHCARD QUESTION

Front

Which logical operator is used for logical AND?

Back

&&

6.

FLASHCARD QUESTION

Front

Which logical operator is used for logical OR?

Back

||

7.

FLASHCARD QUESTION

Front

What is the result of the expression !((a > b) || (b > c))?

Back

False

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?