1 / 7

CS2100 Computer Organisation comp.nus.sg/~cs2100/

CS2100 Computer Organisation http://www.comp.nus.edu.sg/~cs2100/. Assignment #1 Answers (AY2013/4) Semester 2. ASSIGNMENT #1 ANSWERS (1/6). Have you written your name and tutorial group number ? [ 100 marks ]. 1a. Convert (101101) Gray into binary. [1 mark]

chaz
Download Presentation

CS2100 Computer Organisation comp.nus.sg/~cs2100/

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. CS2100 Computer Organisationhttp://www.comp.nus.edu.sg/~cs2100/ Assignment #1 Answers (AY2013/4) Semester 2

  2. ASSIGNMENT #1 ANSWERS (1/6) • Have you written your nameandtutorial group number? [100 marks] • 1a.Convert (101101)Gray into binary. [1 mark] (101101)Gray = ( )2 1 0 1 1 0 1 110110 1 1 0 1 1 0 • 1b.Convert (011011)2 into std Gray code. [1 mark] (011011)2 = ( )Gray 010110 0 1 1 0 1 1 0 1 0 1 1 0 Write acongratulation message for your friend if he/she got them right, or some encouraging words if he/she got them wrong. Notes

  3. ASSIGNMENT #1 ANSWERS (2/6) • 2.What is maxterm M177? [1 mark] M177 = A' + B + C' + D' + E + F + G + H' 17710 = 101100012 Write acongratulation message for your friend if he/she got itright, or some encouraging words if he/she got itwrong. Notes

  4. ASSIGNMENT #1 ANSWERS (3/6) • 3.Given F(A,B,C) = A + B' G(A,B,C) = (A'+B)  (A+C) What is Z(A,B,C) = F  G? [1 mark] F B 1 1 1 1 1 1 A F(A,B,C) = Sm(0, 1, 4, 5, 6, 7) G(A,B,C) = Sm(1, 3, 6, 7) G = (A'+B) (A+C) = A'C + AB + BC = A'B'C + A'BC + ABC' + ABC + A'BC + ABC Z(A,B,C) = Sm(0, 3, 4, 5) Notes

  5. ASSIGNMENT #1 ANSWERS (4/6) • 4.Express F(A,B,C,D) in simplified SOP form. [2 marks] 4-bit COMP A B C D X3 X2 X1 X0 X<Y X=Y X>Y F Y3 Y2 Y1 Y0 A B D C F = C'D Notes

  6. ASSIGNMENT #1 ANSWERS (5/6) • 5.F(A,B,C,D) = PM(0,1,3,4,9,11)X(6,7,10,12,13) 5 • (a) PIs = [1 mark] C 3 • (d) Simplified POS expr. • (c) Simplified SOP expr. • (b) EPIs = 1 0 0 0 [2 marks] [2 marks] [1 mark] 0 1 X X B X X 1 1 A X 1 0 0 F = CD' + AD' + BD D F = (B+D')(A+C+D) Notes

  7. ASSIGNMENT #1 ANSWERS (6/6) • 6.Count number of ‘1’ in ABCD, output XYZ. • (a) Z = Sm( ) • (a) P = A  B Q = C  D 1,2,4,7,8,11,13,14 [2 marks] [1 mark]  Z = P Q XOR gate Notes

More Related