Midterm study questions
Exam regulations:
- You have the entire lab time (110 minutes)
- You can use an individually-prepared study sheet. Just one sheet, both sides. You can use a computer to make it but you have to make it yourself. (Sheets will be collected with the exam.)
- No other aids or notes will be allowed.
- Expect some multiple-choice/fill-in questions and some more open ended problems.
- Anything from Units 1–6 is “fair game”. Thinking about the questions here can help remind you what we learned and guide your studying.
Unit 1: Money as medium of exchange
What is the “double coincidence of wants”? What does it have to do with money?
What are some important characteristics for an asset to be a good medium of exchange?
What does it mean for an economy to be in equilibrium?
Suppose we live in a world with three kinds of people:
- Delawareans produce beer and want barbecue
- Marylanders produce horses and want beer
- Virginians produce barbecue and want horses
Assume that horses are much more expensive to carry than beer, and beer is much more expensive to carry than barbecue.
In this system, which two kinds of people will never directly trade with each other? (Why not?)
There is one good that will be used only as a medium of exchange. That is, someone will trade for it, even though they don’t actually want to consume it. Which good is used this way, and who is willing to trade for it even through they don’t consume it?
What additional thing could we introduce into this system so that everyone will be willing to trade with everyone else?
Unit 2: Bitcoin overview
Who created Bitcoin, and when?
Thinking of blockchains, what operations need to be fast?
What kind of blockchain actions should be slow, but possible?
What kind(s) of blockchain actions should be infeasible?
A “normal” distributed database works by splitting up some large amount of information across multiple networked servers, so that each server holds part of the database, and they cooperate to be able to look up information for queries.
In what ways is this the same as a blockchain, and in what ways is it different?
Unit 3: Cryptographic hashing
There are at least two important ways hashing is used for blockchains. What are they?
What are the properties of a good cryptographic hash function?
Which of the following hash functions are no longer considered secure, and why not: Keccak, MD5, SHA1, SHA2, SHA3
In what ways is a hash function similar to performing an encryption? In what ways is it different?
Define a hash function which has good collision resistance but is not hiding. Could this safely be used as the previous block hash for blockchains?
Unit 4: Overlapping Generations and Money is Memory
Suppose that in the OLG economy without money, where people live for two periods - young and old - income of the young is \(\omega^y = 1\) and income of the old is \(\omega^o = 5\). The utility function of a typical household is: \[\log c^y + \log c^o\]
What will be the allocation of consumption when young and when old in the competitive equilibrium?
Is the competitive equilibrium Pareto efficient? If Yes, explain. If No, what allocation makes at least one person better off, without making anyone worse off?
Suppose that in the OLG economy without money, where people live for two periods - young and old - income of the young is \(\omega^y = 8\) and income of the old is \(\omega^o = 0\). The utility function of a typical household is: \[\sqrt{c^y} + \sqrt{c^o}\]
What will be the allocation of consumption when young and when old in the competitive equilibrium?
Is the competitive equilibrium Pareto efficient? If Yes, explain. If No, what allocation makes at least one person better off, without making anyone worse off?
Suppose that in the OLG economy without money, where people live for two periods - young and old - income of the young is \(\omega^y = 5\) and income of the old is \(\omega^o = 1\). The utility function of a typical household is: \[\log c^y + \log c^o\]
- Give an example of two different Pareto Efficient allocations.
(Difficult!) Suppose that in the OLG economy with money, where people live for two periods - young and old - income of the young is \(\omega^y = 5\) and income of the old is \(\omega^o = 1\). The utility function of a typical household is: \[\log c^y + \log c^o\] The initial generation that is old in period \(t=1\) is endowed with the amount of money \(m = 6\).
Pick a Pareto Efficient allocation from Question 3, and suppose that allocation is an outcome in a competitive equilibrium with money. What will be the price level?
Suppose that \(m = 8\). In the competitive equilibrium with money from part (a) above, what will be the price level?
In an OLG model, why do households want to keep their consumption constant across periods?
In an OLG model we learned in class, is it possible to shift TOTAL resources between periods?
What does it mean for an allocation to be Pareto Efficient?
Is Pareto Efficiency a useful concept? Why or why not?
If an allocation is Pareto Efficient, does it mean it is “good” or “desirable”?
In an OLG model we learned in class, can you explain under what conditions will a competitive equilibrium without money be Pareto Efficient? Under what conditions will it not be Pareto Efficient?
What does it mean that money is equivalent to memory?
Why an intrinsically worthless asset can serve as a medium of exchange and have a positive value?
Why would you accept something intrinsically useless as a form of payment for a couch you sell on Craigslist?
If Bitcoin is intrinsically useless, does it mean it cannot be used as money? Explain.
Unit 5: Cryptographic puzzles and mining
What two important aspects or rules of the blockchain are used to achieve distributed consensus?
What exactly must a miner do in order to add the next node to the blockchain?
How is it that the time to mine each Bitcoin block is consistently close to 10 minutes, even though the speed of computers (as well as the number of them) mining has increased by orders of magnitude since 2010?
How was “proof of work” supposed to help fight email spam?
In what way(s) is Sudoku not a good example of a cryptographic puzzle?
Here’s another cryptographic puzzle, based on the idea of RSA encryption. I pick two large random prime numbers \(p\) and \(q\), and publish their product \(n=pq\). Now you have to figure out one of the factors of \(n\), either \(p\) or \(q\).
In what way(s) is this a good cryptographic puzzle, and in what way(s) is it not? Explain.
Unit 6: Digital signatures and transactions
Suppose I create a transaction and send it to all bitcoin miners. But I never see my transaction included in any block that gets mined. What two reasons could there be that my transaction is not being included?
Whose responsibility is it to check the validity of transactions in each block?
What two pieces of information are needed to create a digital signature?
What three pieces of information are needed to verify a digital signature?
Here is a possible digital signature algorithm: Given the message, I compute a cryptographic hash of that message and send this hash as the signature. Because a good hash function is collision-resistant, you know the message can’t be changed without modifying the hash, so it’s secure.
Why does this not work as a good digital signature algorithm?
Who needs to sign a transaction: the sender, the recipient, the miner, or some combination of them?
What is a UTXO?
Why is it important for transactions to have multiple inputs?
Why is it important for transactions to have multiple outputs?
Why do Bitcoin transactions specify an amount for each output, but don’t specify any amount for the inputs?
Suppose some crypto coin protocol only required signing the transaction inputs, not the outputs. Why would this be bad?