You are on page 1of 6

COLLEGE OF COMPUTING, INFORMATICS AND MEDIA

UNIVERSITI TEKNOLOGI MARA CAWANGAN PAHANG


RAUB CAMPUS

CSC159 - COMPUTER ORGANISATIONS


SEMESTER MARCH - JULY 2023

QUIZ (10%)
(CLO2, C1, C2)

Please read the Instruction as follow:


1. This is an individual assessment.
2. Please complete the details required in section A.
3. Please read the questions carefully and give your answer in the section provided in this template.
4. For Any intention of plagiarism or any misconduct of this assignment, you will be penalized
according to the rules, and a zero mark will be given due to the action. Further action will be
considered according to the Academic UiTM rules and regulations in the Buku Peraturan
Akademik UiTM (Pindaan 2017) and Akta Plagiarism UiTM (2017).
5. Good Luck

Section A

Declaration (Please read the following):

● 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).

No Student Name Student ID Class Declaration


Signature

1 MUHAMMAD HAZIQ DANISH 2022866972 CS1102C


BIN HAIDIL AMIR
QUIZ CSC159

Answer ALL questions as provided below. Write your answer in the space provided.

QUESTION 1 (20 MARKS)

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)

QUESTION 2 (20 MARKS)

Case study: Designing a Security System

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:

You might also like