“For” loops are used to make some block of code be iterated a number of times, setting a variable or parameter to a monotonically increasing integ
Continue ReadingC++: Arena Storage Pool
Dynamically allocated objects take their memory from a heap. The memory for an object is provided by an allocator which maintains the storage pool use
Continue ReadingBest Quant Questions
[pt_view id="dc61708919"]
Continue ReadingC++: Evaluate Binomial Coefficients
This programming task, is to calculate ANY binomial coefficient. However, it has to be able to output , which is 10. This formula is recommended
Continue ReadingC++: Catch an Exception Thrown in a Nested Call
Show how to create a user-defined exception and show how to catch an exception raised from several nested calls away. Create two user-defined exc
Continue ReadingC++: Guess the Number With Feedback
The task is to write a game that follows the following rules: The computer will choose a number between given set limits and asks the player for
Continue ReadingC++: While Loops
Start an integer value at 1024. Loop while it is greater than 0. Print the value (with a newline) and divide it by two each time through the loop.
Continue ReadingC++ Full Course Lesson 8: If Statement
https://www.youtube.com/watch?v=yEY8xlnarNo&index=8&list=PLAE85DE8440AA6B83
Continue ReadingC++: Copy and Swap
The copy-and-swap idiom identifies that we can implement a classes copy/move assignment operators in terms of its copy/move constructor and achieve st
Continue ReadingC++: Black Scholes Call Option Theta
// Calculate the Black Scholes European call option Theta double BS_Call_Option_Theta(double S, double K, double r, double v, double T) // Para
Continue Reading




