Mental Math | Probability/Statistics | Math / Brain-Teaser | Programming | Finance/Trading |
---|---|---|---|---|
289
17*17
|
5.5
What is the expect value of a ten sides (1 - 10) die?
|
10
How many perfect squares are between 1 and 100 inclusive?
|
Queue
A ______ is described as a "First in, first out" data structure.
|
ETF - Exchange Traded Fund
A security that tracks an index, a commodity or a basket of assets like an index fund, but trades like a stock on an exchange.
|
2380
34*70
|
$2
Suppose the payout is $10 for a roll of a 6 on a fair die, while you lose your premium paid if you get a 1 - 5.
What is the max you would pay to play this game? |
1/16
You have a square and three dots. You randomly place the dots along the edges of the square? What is the probability that the dots do not form a triangle?
|
Polymorphism
In programming languages and type theory, _________
(from Greek "many, much" / "form, shape") is the provision of a single interface to entities of different types. |
Cost of carry; or carrying cost
Because purchasing a future has no ________, the price of a future will always be higher than it's spot price.
|
7.02
13% of 54
|
12.25
What is the expected value of the product of two independent six-sided die rolls?
|
10
Given 1000 bottles of wine, 1 has poison, how many rats would it take to find the poison if you only get only can run the experiment and check the rats once.
|
Semaphore
A _______ is a variable or abstract data type that is used for controlling access, by multiple processes, to a common resource in a parallel programming or a multi user environment. Unlike a mutex, its access count can be > 1.
|
$102.01
If an index is trading at $100 per share and interest is compounded monthly at 1% per month, what should the future expiring in two months be trading at?
|
428
45 * 9 + 23
|
8.75/3
0.5^2/3 + 1.5^2/3 + 2.5^2/3 = 8.75/3
What is the variance of a 6-sided dice roll?
|
3660
What is the sum of all even numbers from 1 to 120?
|
Reverses a Linked List
|
Go long (buy) 750 stock
If we buy 15 put options (1 option for 100 stock) with -50 delta each, what underlying position should we take to be delta neutral? (note - stocks have 100 delta)
|
3896
4*1023 - 196
|
21
Suppose we have a game where two players each guess a different number, and then one 30-sided die is rolled. Whoever guesses the closest number to the die outcome wins the number of dollars of the dice roll. What is the optimal number for the 1st player?
|
24
How many zeros are in 100! (100 factorial)?
|
Prevents certain compiler optimizations
What does the keyword "volatile" do in C/C++?
|
It explodes to infinity.
What happens to the gamma of an at-the-money option as time to expiration approaches zero?
|