





Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!






PROGRAM TITLE: Btec-Computing UNIT TITLE: Unit 18 - Discrete Maths ASSIGNMENT NUMBER: 03 ASSIGNMENT NAME: ASSIGNMENT 3- Boolean algebra. SUBMISSION DATE: 4/11/2021. TUTORIAL LECTURER: Lưu Thị Hương Giang. WORD COUNT: 1611. STUDENT NAME: Nguyễn Bích Hạnh STUDENT ID: BKC 1985
Summative Feedback: Internal verification:
Part 1: Discuss two real world binary problems in two different fields using applications of Boolean algebra.
as needed. A key distinguishing feature between these families of activities is the existence of an operation that performs in the first but not the second. So in binary code, the number 56 is written is 111000, Which means: 56 / 2 = 28 with 0 remainder 28 / 2 = 14 with 0 remainder 14 / 2 = 7 with 0 remainder 7 / 2 = 3 with 1 remainder 3 / 2 = 1 with 1 remainder 1 / 2 = 0 with 1 remainder b. Using logic gates with binary: When you want to do the sum 3 + 2 = 5. A calculator tackles a problem like this by turning the two numbers into binary, giving 11 (which is 3 in binary = 1 × 2 + 1 × 1) plus 10 (2 in binary = 1 × 2 + 0 × 1) makes 101 (5 in binary = 1 × 4 + 0 × 2 + 1 × 1).So how does the calculator do the actual sum, it uses logic gates to compare the pattern of switches that are active and come up with a new pattern of switches instead. A logic gate is really just a simple electrical circuit that compares two numbers and produces a third number depending on the values of the original numbers.
W: " warning_light " =>W = D. 𝐵̅ .I D B I (^) 𝐵̅ W = D. 𝐵̅ .I 0 0 0 1 0 0 0 1 1 0 0 1 0 0 0 0 1 1 0 0 1 0 0 1 0 1 0 1 1 1 1 1 0 0 0 1 1 1 0 0 b) If it rains and you don't open your umbrella then you will get wet. We have:s R: "rains" U: "open_umbrella" W: "Wet" =>W =R. 𝑈̅ R U (^) 𝑈̅ W = R. 𝑈̅ 0 0 1 0 0 1 0 0 1 0 1 1 1 1 0 0 2.Produce truth tables for given Boolean expressions. i. 𝐴̅ 𝐵̅ C+AB𝐶̅ + ABC +𝐴̅ B𝐶̅
ii. (A+𝐵̅ +C) (A+B+C) ( 𝐴̅ + B + 𝐶̅ ) A B C 𝐴̅ 𝐵̅ 𝐶̅ A+𝐵̅ +C A+B+C 𝐴̅ + B + 𝐶̅ (A+𝐵̅ +C) (A+B+C) ( 𝐴̅ +B + 𝐶̅ ) 0 0 0 1 1 1 1 0 1 0 0 0 1 1 1 0 1 1 1 1 0 1 0 1 0 1 0 1 1 0 0 1 1 1 0 0 1 1 1 1 1 0 0 0 1 1 1 1 1 1 1 0 1 0 1 0 1 1 0 0 1 1 0 0 0 1 1 1 1 1 1 1 1 0 0 0 1 1 1 1 Part 3: Find the simplest form of given Boolean expressions using algebraic methods. i. A(A+B) +B(B+C) +C(C+A) = A.A + A.B +B.B +B.C+C.C+C.A = A +AB+B+BC+C+CA [We have: A.A =A; B.B =B; C.C =C (Idempotent Law)] = A(1+B) +B(1+C) +C(1+A) [We have: 1+B = 1; 1+C=1; 1+A=1(Bound Laws)] =A+B+C ii. (A+𝐵̅ )(B+C) + (A+B) (C+𝐴̅ ) =AB+AC+𝐵̅ B+𝐵̅ C+AC+A𝐴̅ +BC+B𝐴̅ [We have: 𝐵̅ B =0; A𝐴̅ =0(Complement laws)] =AB+AC+𝐵̅ C+AC+BC+B𝐴̅ [We have: AC+AC = AC (Idempotent Law)]