1. Under the von Neumann architecture, a program and its data are both stored in memory. It is therefore possible for a program, thinking a memory location holds a piece of data when it actually holds a program instruction, to accidentally (or on purpose) modify itself. What implications does this present to you as a programmer?
2. What are the limitations of Moore's Law? Why can't this law hold forever? Explain
3. Given a (very) tiny computer that has a word size of 6 bits, what are the smallest negative numbers and the largest positive numbers that this computer can represent in each of the following representations?
a. Signed magnitude
b. One's complement
c. Two's complement
4. Convert the followings:
a. AC1216 to binary
b. -10710 to 8-bit 2's Complement
c. 11001101012 to Hexadecimal
d. 100111102 (8-bit 2's complement representation) to decimal
e. -1.510 to IEEE-754 single precision
5. Construct the XOR operator using only AND, OR and NOT gates.
6. Tyrone Shoelaces has invested a huge amount of money into the stock market and doesn't trust just anyone to give him buying and selling information. Before he will buy a certain stock, he must get input from three sources. His first source is Pain Webster, a famous stock broker. His second source is Meg A. Tyrone's third source is Madame LaZora, world famous psychic. After several months of receiving advice from all three, he has come to the following conclusions:
a. Buy if Pain and Meg both say yes and the psychic says no.
b. Buy if the psychic says yes.
c. Don't buy otherwise.
Construct a truth table and find the minimized Boolean function to implement the logic telling Tyrone when to buy. Draw a circuit diagram for the Boolean function.