2022866972CS1102C
2022866972CS1102C
2022866972CS1102C
QUIZ (10%)
(CLO2, C1, C2)
Section A
● We confirm that I/We read and shall comply with all the terms and conditions of the UiTM
plagiarism policy.
● We confirm that the online submission had also been sent accordingly with the attachment
through the UiTM i-Learn portal, and We had already checked the submission regularly before
submission. Any problem due to the submission will be bare on our responsibilities.
● We declare that this assignment is free from plagiarism and is our own properly derived work.
● We further confirm that the same work, where appropriate, has been verified by anti-plagiarism
software: (Please insert if applicable).
Answer ALL questions as provided below. Write your answer in the space provided.
Given the equation, draw the logic circuit and truth table for each of the following:
1. Y = (A + B)(C + D)
2. Y = A'B'C + AB'C + ABC'
3. Y = (A AND B) OR (A AND NOT B AND C) OR (B AND C)
4. Y = (A OR B) AND NOT (A AND B)
5. Y = (A AND NOT B) OR (B AND C)
Background:
A company wants to design a security system for its office building with the following
requirements:
1) The system should be able to detect if someone has entered the building using
the sensor through any of its two (2) entrances. If an intrusion is detected, an
alarm should be triggered to alert security personnel.
2) We can use magnetic door sensors installed at each entrance to detect if
someone has entered the building. These sensors will output a logical 0 when
the door is closed and a logical 1 when it is opened.
3) To combine the sensor outputs and trigger the alarm, we can use a combination
of AND and OR gates.
1. Proposed and draw the logic circuit for the above case study.
2. Create a truth table to show the output values for each input combination for the
system.
END OF QUIZ
QUESTION 1
1.
.
2.
3.
4.
5.
QUESTION 2: