Logical Operators Worksheet Answers
If x = -2, y = 5, z = 0 , and t = -4, what is the value of each of
the following logical expressions?
- False
- True
- True && True is True
- False || True is True
- True || True is True
- False && True is False
- False || False is False
- !False is True
- !True || True is False || True is True
- False || True && False is False || False is False
- !True && True is False && True is False
Write sytactically correct logical expressions for the
following conditions:
- m < 100
- n > 0 && n > m
- m >= 5 && m <= 10
- k < 1 || k > 2
- j < 0 && k < 0
- i % 2 == 0
Email Me |
Office Hours |
My Home Page |
Department Home |
MCC Home Page
© Copyright Emmi Schatz 2002