You are on page 1of 3

SOLUTION 1 CSCI 343 FALL 2012

CUNYID: 12345678 NAME: TEST STUDENT Draw the functional table and logic circuits for Question 1 & 2. [ 5, 5 ]
A B C D BC D A + B ( A + BC A + BC + D A + B) C + D ( A + B).(C + D) C ( A + B).(C + D).C

0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1

0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1

0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1

0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1

0 0 0 0 0 0 1 1 0 0 0 0 0 0 1 1

1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0

0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1

1 0 1 0 1 0 1 1 1 1 1 1 1 1 1 1

0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1

1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0

0 1 1 1 0 1 1 1 0 1 1 1 0 1 1 1

0 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0

1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0

0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Q1) A + BC + D

Q2) ( A + B).(C + D).C

Q3) List all 6 (six) abstract layers of a computer system [6 > = 10, 5 = 8, 4 = 6, 3 = 2, 1 = 1, 0 = 0 ]

Q4) What are the intermediate programs which are part of full compilation process in gcc and list the associated output files produced by these programs, if the input filename is exam1.cc? [5,5]

Convert Bases for Question 5 & 6 [ 10 ] Q5) Convert to base 10: F816 (248)10 Q6) Convert to base 2: 6.78510 (110.11001000111101011100001010001111)2 Describe in Register Transfer Language for Question 7, 8 & 9 Q7) if P = 1, then load the contents of register R1 into register R2 P: R2 R1 Q8) Transfer content of R1 into bus A and, at the same time, transfer content of bus A into R2.

ABUS R1, R2 ABUS Q9) Contents of R1 minus R2 transferred to R3 R3 R1 - R2 Q10) Are following Logic Circuit equivalent

X = A (B+C)

You might also like