HAYAGRIVA VIDHYASHRAM SCHOOL, SRIPERUMBUDUR
SUB: COMPUTER SCIENCE CLASS XI A,C & E
DATE: 15.07.2023 SUBMISSION DATE: 19.07.2023
BOOLEAN LOGIC – WORKSHEET 1
I. Answer the following questions by choosing the correct option (A, B, C, or D).
1. What is the output of the following Boolean expression?
NOT (True AND False)
A. True
B. False
C. Undefined
D. None of the above
2. What is the result of the following expression?
(True OR False) AND (True AND True)
A. True
B. False
C. Undefined
D. None of the above
3. What is the value of the following expression?
NOT (False OR True)
A. True
B. False
C. Undefined
D. None of the above
4. Which logical operator represents the XOR operation?
A. XOR
B. NOT
C. OR
D. AND
5. What is the result of the following expression?
(True AND True) OR (False AND True)
A. True
B. False
C. Undefined
D. None of the above
6. Which logical operator represents the NOT operation?
A. XOR
B. AND
C. OR
D. NOT
7. What is the output of the following Boolean expression?
NOT (True XOR False)
A. True
B. False
C. Undefined
D. None of the above
8. Evaluate the following Boolean expression:
(True AND False) OR (True XOR False)
A. True
B. False
C. Undefined
D. None of the above
9. Identify the output of the following Boolean expression:
(NOT True) AND (True OR False)
A. True
B. False
C. Undefined
D. None of the above
10. Simplify the following Boolean expression:
(A XOR B) OR (A AND B)
A. A OR B
B. A AND B
C. A XOR B
D. A NOR B
II: True or False
1. Boolean logic deals with values that are either true or false.
2. The logical operator "AND" returns true if both operands are true.
3. The logical operator "OR" returns true if at least one operand is true.
4. The logical operator "NOT" inverts the value of a Boolean expression.
5. The logical operator "XOR" returns true if both operands have the same value.
III. Application Based Question:
1. Write a Boolean expression to represent the following statement:
"The temperature is greater than 30 degrees Celsius and the humidity is less than 50%."
_________________________________________________________
IV. Truth Table Expression:
1. Construct the truth table for the expression: (A + B ) C
2. Construct the truth table for the expression: (A + B) ( C)’
3. Construct the truth table for the expression: A XOR B XOR C
4. Construct the truth table for the expression: NOT (A AND B) OR (C AND D)
5. Construct the truth table for the expression: (A OR B) XOR (C AND D)
6. Construct the truth table for the expression: NOT A OR (B AND C) OR D