0% found this document useful (0 votes)
16 views2 pages

Truth Table Worksheet

Uploaded by

jaidalalor
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
16 views2 pages

Truth Table Worksheet

Uploaded by

jaidalalor
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

TRUTH TABLE WORKSHEET

Activity 1

Consider: A = 10, B = 12, C = 14, D = 11 and evaluate the Boolean Expressions

1. A = B

2. A > B

3. C < > 14

4. D < A

Activity 2

SBA Completed Exam Written SBA completed AND Exam


Written
T T
T F
F F
F F

SBA Completed Exam Written SBA completed OR Exam


Written
T T
T F
F T
F F

Activity 3

Consider: A = 10, B = 12, C = 14, D = 11 and evaluate the Boolean Expressions


1. (A < C) AND (B < D)
2. (A>B) OR (A < 5)
3. (D>A) AND (NOT(C > D))
4. (A>B) OR ((A+B) < (A *B))
Activity 4

The following are some rules for passing a course:

- Passed both tests: Award Grade P


- Pass any one test only: Award Grade R
- Failed both tests: Award Grade F.

(a) Copy and complete the following table in your answer booklet:

Passed_Test_1 Passed_Test_2 Result

Y Y

Y N

N Y

N N

(4 marks)

(b) State TWO Boolean values that are used to test the rules in part (a).
(1 mark)

(c) Write a Pseudocode if condition to represent the rule that states if BOTH tests are passed
then award Grade P.
(5 marks)

Total 10 Marks

You might also like