Midterm Exam Study Questions Flashcards
What is the output of the following Python session? >>> def func(x = 2): ... b = 2 ... return x * b ... >>> x = 3 >>> b = 3 >>> print func() A) 2 B) 6 C) 4 D) 9
C
What is the output of the following Python session? >>> a = 3 >>> b = a >>> a = 2 >>> print b * a A) 4 B) 6 C) 3 D) 2
B
Consider the following Python session and its output. What should you replace XXXX with in order to get the following output? >>> a = np.random.uniform(size=(3,2)) >>> b = a/a[1,:] >>> print XXXX 1.0 A) b[0,1] B) b[1,1] C) a[0,1] D) a[1,1]
B
Consider the following data:
COL_1 COL_2 COL_3
100.00 0.00 0.00
101.00 0.01 0.01
102.00 0.02 0.01
100.00 0.00 -0.02
102.00 0.02 0.02
What might the data in each of the columns represent (from left to right)?
A) Cumulative return, portfolio value, daily return
B) Daily return, portfolio value, cumulative return
C) Cumulative return, daily return, portfolio value
D) Portfolio value, cumulative return, daily return
D
Which code snippet below would correctly calculate the Sharpe ratio for time series daily_rets that represents 60 days of daily returns? The risk free rate is represented by rfr # snippet A sharpe = math.sqrt(60.0) * np.mean(daily_rets – rfr) / np.std(daily_rets) #snippet B sharpe = math.sqrt(60.0) * np.std(daily_rets – rfr) / np.mean(daily_rets) # snippet C sharpe = math.sqrt(252.0) * np.mean(daily_rets – rfr) / np.std(daily_rets) #snippet D sharpe = math.sqrt(252.0) * np.std(daily_rets – rfr) / np.mean(daily_rets)
C
Consider the following code snippet. What code could you replace with XXXX to cause the following output? >>> a = np.random.uniform(size=(3,2)) >>> a array([[ 0.9598058 , 0.30898308], [ 0.08671576, 0.83212644], [ 0.9701383 , 0.25618103]]) >>> b = np.random.uniform(size=(3,2)) >>> b array([[ 0.363649 , 0.86394158], [ 0.89838762, 0.46682958], [ 0.76027507, 0.46149348]]) >>> XXXX >>> a array([[-1. , 0.30898308], [ 0.08671576, -1. ], [ 0.9701383 , -1. ]]) A) a[0,0] = -1 B) a[a<0.5] = -1 C) a = a/a[0,:] D) a[b<0.5] = -1
D
Which statement is TRUE?
A) Mutual funds can be traded throughout the trading day.
B) Hedge fund holdings are fully transparent.
C) ETF managers earn 20% of the ETF’s profits.
D) ETFs can be traded throughout the trading day.
D
Which statement is FALSE?
A) Hedge fund managers typically charge 2% of profits and 20% of AUM as fees.
B) Mutual fund managers typically charge 0.25% to 2.0% of AUM as fees.
C) ETF managers typically charge 0.1% to 1.0% of AUM as fees.
D) Hedge fund managers typically charge 2% of AUM and 20% of profits as fees.
A
Consider two hedge funds. Both of them have provided equivalent positive cumulative
returns. Which of the following might be a valid reason for choosing HF1 over HF2?
A) HF1 has a lower Sharpe ratio than it’s benchmark, but HF2 has a higher Sharpe that its
benchmark.
B) HF1 has a higher standard deviation of daily returns than HF2.
C) HF1 has a lower standard deviation of daily returns than HF2.
D) HF1 has a higher Bollinger value than HF2.
C
According to the 60 minutes video “Is the stock market rigged?” which strategies have
high frequency traders used to exploit market mechanics?
A) A dedicated fiber optic link between Silicon Valley and the exchanges in New York.
B) A dedicated fiber optic link between Chicago and the exchanges in New Jersey.
C) Front running orders by exploiting faster network connectivity.
D) B and C.
D
How does the IEX exchange defeat the high frequency traders investigated in the 60
minutes video?
A) Using dark pools.
B) Using 60 kilometers of fiber optic link to delay visibility of the order book.
C) By converting the market to a series of discrete auctions every 2 seconds.
D) By prohibiting limit orders.
B
Consider the following order book. At what average price would a limit order to BUY 100 shares at 100.05 be executed at? Bid size Price Ask size 100.10 300 100.05 300 100.00 200 100 99.95 50 99.90 100 99.85 A) 100.00 B) 100.025 C) 100.05 D) 100.10
A
Consider the following order book. At what average price would a market order to SELL 250 shares be executed at? Bid size Price Ask size 100.10 300 100.05 300 100.00 200 100 99.95 50 99.90 100 99.85 A) 99,95 B) 99.90 C) 99.85 D) None of the above
B
Consider the following order book. How would you expect the price to change over the next few minutes? Bid size Price Ask size 100.10 100 100.05 100 100.00 200 1000 99.95 500 99.90 500 99.85 A) The price will go up because there is buying pressure. B) The price will go down because there is selling pressure. C) The price will stay about the same. D) The price will remain fixed at 99.95
A
Consider the following valuation factors of a company: It owns 1000 cars valued at $20,000 each It holds patents worth $5,000,000 It owes $5,000,000 in loans It pays $1.00 per year per share in dividends starting in one year The stock price is $60.00 per share There are 1,000,000 shares outstanding The discount rate is 2% What is the book value of the company? A) $25,000,000 B) $20,000,000 C) $15,000,000 D) $30,000,000
C