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

23 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 b) or (not (a) and not (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 x in memory. Read data from mdr: write a value a to location y in memory. (1 point) (1 point) Problem 4: what is the addressability of a memory whose total size is 1024 bytes and needs 9 bits of address to access a location in memory? (2 points) (1024 * 8) / (512) = 16.