COMP SCI 252 Midterm: CS 252 UW Madison Fall2012 Exam2B sol

13 views9 pages
31 Jan 2019
Professor

Document Summary

No: book(s), note(s), or calculators of any sort. Plan your time carefully since some problems are longer than others. Problem 1: draw the logic circuit for the following logic expression using 2 input and gates, 2 input or gates and not gates. Z = ((a and not (b)) or (not (a) and b)) (2 points) Problem 2: complete the truth table for the following transistor level circuit: (4 points) Problem 3: the figure below is the block diagram of the memory unit in a von. List the steps required to: read from a location a in memory. Read data from mdr: write a value x to location b in memory. (1 point) (1 point) Problem 4: what is the addressability of a memory whose total size is 1024 bytes and needs 8 bits of address to access a location in memory? (2 points) (1024 * 8) / (256) = 32.