CS1104 Unit 2 Written Assignment PDF

Title CS1104 Unit 2 Written Assignment
Author Paye Alex
Course Computer Systems
Institution University of the People
Pages 2
File Size 116.2 KB
File Type PDF
Total Downloads 83
Total Views 151

Summary

This is Unit 1 Written Assignment for CS1104...


Description

First assignment:

Second questions: Below is the truth table that represents the first AND gate on the diagram(the AND gate on the top). Y the output. A

B 0 0 0 0 1 1 1 1

C 0 0 1 1 0 0 1 1

~A 0 1 0 1 0 1 0 1

1 1 1 1 0 0 0 0

(~A.B) 0 0 1 1 0 0 0 0

Y=(~A.B).C 0 0 0 1 0 0 0 0

Therefore, the lower AND gate can be represented as the following truth table: A

B 0 0 0 0 1 1 1 1

C 0 0 1 1 0 0 0 1

~B 0 1 0 1 0 1 1 1

1 1 0 0 1 1 1 0

(~B.C) 0 1 0 0 0 1 1 0

Z=(~B= (~B.C).A 0 0 0 0 0 1 1 0

Based on the result, the final output for the OR gate can be represented by the truth table below by combing the results of Y and Z by additional operator.

Y 0 0 0 1 0 0 0 0

Z 0 0 0 0 0 1 0 0

X=Y+Z 0 0 0 1 0 1 0 0

Third Assignment: 3-Input (A,B,C) XNOR Gate Truth Table A

B 0 0 0 0 1 1 1 1

C 0 0 1 1 0 0 1 1

0 1 0 1 0 1 0 1

Y=A Xnor B Xnor C 1 0 0 1 0 1 1 0

References Nissan, N., Schocken, S. (2005). The Elements of Computiing Systems – Chapter 2. Retrieved rom http://www1.idc.ac.il/tecs/book/chapter%2002.pdf

Tarnoff, D. (2007). Computer Organization and Design Fundamentals- Chapter 3. Retrieved from https://my.uopeople.edu/mod/resource/view.php?id=132803...


Similar Free PDFs