Edited, memorised or added to reading list

on 02-Aug-2014 (Sat)

Do you want BuboFlash to help you learning these things? Click here to log in or create user.

Flashcard 149626455

Tags
#bonds #duration #finance
Question
Macaulay duration is a weighted average [...] until repayment (measured in [...])
Answer
time until repayments, e.g. coupons and principal (measured in units of time such as years)


statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill

Parent (intermediate) annotation

Open it
Macaulay duration is a weighted average time until repayment (measured in units of time such as years)

Original toplevel document

Bond duration - Wikipedia, the free encyclopedia
the asset. This gives the well-known relation between Macaulay duration and modified duration quoted above. It should be remembered that, even though Macaulay duration and modified duration are closely related, they are conceptually distinct. <span>Macaulay duration is a weighted average time until repayment (measured in units of time such as years) while modified duration is a price sensitivity measure when the price is treated as a function of yield, the percentage change in price with respect to yield. Units[edit] For modified du







Flashcard 149626971

Tags
#bonds #duration #finance
Question
Fisher-Weil duration is a refinement of Macaulay’s duration which takes into account the [...].
Answer
term structure of interest rates


statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill

Parent (intermediate) annotation

Open it
Fisher-Weil duration is a refinement of Macaulay’s duration which takes into account the term structure of interest rates.

Original toplevel document

Bond duration - Wikipedia, the free encyclopedia
a 15-year bond with a Macaulay duration of 7 years would have a Modified duration of roughly 7% and would fall approximately 7% in value if the interest rate increased by one percentage point (say from 7% to 8%).[6] Fisher-Weil Duration[edit] <span>Fisher-Weil duration is a refinement of Macaulay’s duration which takes into account the term structure of interest rates.Fisher-Weil duration calculates the present values of the relevant cashflows (more strictly) by using the zero coupon yield for each respective maturity.[7] Key Rate Duration[edit] Key r







Flashcard 149626986

Tags
#bonds #finance #yield-to-maturity
Question
Yield to maturity is simply the [...]at which the sum of all future cash flows from the bond (coupons and principal) is equal to the price of the bond.
Answer
discount rate


statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill

Parent (intermediate) annotation

Open it
Yield to maturity is simply the discount rate at which the sum of all future cash flows from the bond (coupons and principal) is equal to the price of the bond.

Original toplevel document

Yield to maturity - Wikipedia, the free encyclopedia
nternal rate of return (IRR, overall interest rate) earned by an investor who buys the bond today at the market price, assuming that the bond will be held until maturity, and that all coupon and principal payments will be made on schedule.[1] <span>Yield to maturity is simply the discount rate at which the sum of all future cash flows from the bond (coupons and principal) is equal to the price of the bond. The YTM is often given in terms of Annual Percentage Rate (A.P.R.), but more usually market convention is followed. In a number of major markets (such as gilts) the convention is to quot







Flashcard 149626993

Tags
#bonds #finance #yield-to-maturity
Question
Yield to maturity is simply the discount rate at which the [...].
Answer
sum of all future cash flows from the bond (coupons and principal) is equal to the price of the bond


statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill

Parent (intermediate) annotation

Open it
Yield to maturity is simply the discount rate at which the sum of all future cash flows from the bond (coupons and principal) is equal to the price of the bond.

Original toplevel document

Yield to maturity - Wikipedia, the free encyclopedia
nternal rate of return (IRR, overall interest rate) earned by an investor who buys the bond today at the market price, assuming that the bond will be held until maturity, and that all coupon and principal payments will be made on schedule.[1] <span>Yield to maturity is simply the discount rate at which the sum of all future cash flows from the bond (coupons and principal) is equal to the price of the bond. The YTM is often given in terms of Annual Percentage Rate (A.P.R.), but more usually market convention is followed. In a number of major markets (such as gilts) the convention is to quot







Flashcard 149627000

Tags
#bonds #finance #yield-to-maturity
Question
Yield to maturity is simply the [...].
Answer
discount rate at which the sum of all future cash flows from the bond (coupons and principal) is equal to the price of the bond


statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill

Parent (intermediate) annotation

Open it
Yield to maturity is simply the discount rate at which the sum of all future cash flows from the bond (coupons and principal) is equal to the price of the bond.

Original toplevel document

Yield to maturity - Wikipedia, the free encyclopedia
nternal rate of return (IRR, overall interest rate) earned by an investor who buys the bond today at the market price, assuming that the bond will be held until maturity, and that all coupon and principal payments will be made on schedule.[1] <span>Yield to maturity is simply the discount rate at which the sum of all future cash flows from the bond (coupons and principal) is equal to the price of the bond. The YTM is often given in terms of Annual Percentage Rate (A.P.R.), but more usually market convention is followed. In a number of major markets (such as gilts) the convention is to quot







Flashcard 149627007

Tags
#bloch-effective-java-2ed #java #java-generics
Question
What is the name of the property of arrays that allow us to cast Long[] to Object[], like here?

// Fails at runtime!
Object[] objectArray = new Long[1];
objectArray[0] = "I don't fit in"; // Throws ArrayStoreException

Answer
arrays are covariant


statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill

pdf

cannot see any pdfs







Flashcard 149627018

Tags
#bloch-effective-java-2ed #java #java-generics
Question
What is the name of the property of parametrized List that causes compilation error (unlike in arrays)?

// Won't compile!
List<Object> ol = new ArrayList<Long>(); // Incompatible types
ol.add("I don't fit in");

Answer
generics are invariant


statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill

pdf

cannot see any pdfs







Article 149627029


#bloch-effective-java-2ed #java #p119

Generics are implemented by erasure. This means that they enforce their type constraints only at compile time and discard (or erase) their element type information at runtime. By contrast, array types are reified, so they can enforce their type at runtime (e.g. if you try to store a String into an array of Long, you’ll get an ArrayStoreException).



Flashcard 149627046

Tags
#bloch-effective-java-2ed #java #java-generics
Question
Generics are implemented by [...]. This means that they enforce their type constraints only at compile time and [...] their element type information at runtime. By contrast, array types are reified, so they can enforce their type at runtime (e.g. if you try to store a String into an array of Long, you’ll get an ArrayStoreException).
Answer
erasure / discard (or erase)


statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill
Open it
Generics are implemented by erasure. This means that they enforce their type constraints only at compile time and discard (or erase) their element type information at runtime. By contrast, array types are reified, so they







Flashcard 149627057

Tags
#bloch-effective-java-2ed #java #java-generics
Question
Generics are implemented by erasure. This means that they enforce their type constraints only at compile time and discard (or erase) their element type information at runtime. By contrast, array types are [...], so they can enforce their type at runtime (e.g. if you try to store a String into an array of Long, you’ll get an ArrayStoreException).
Answer
reified


statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill
Open it
Generics are implemented by erasure. This means that they enforce their type constraints only at compile time and discard (or erase) their element type information at runtime. By contrast, array types are reified, so they can enforce their type at runtime (e.g. if you try to store a String into an array of Long, you’ll get an ArrayStoreException).







Flashcard 149627064

Tags
#bloch-effective-java-2ed #java #java-generics
Question
Is it legal to create an array of generic type, e.g. new List<E>[] ?
Answer
No


statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill

pdf

cannot see any pdfs







Flashcard 149627082

Tags
#bloch-effective-java-2ed #java #java-generics
Question
Is it legal to create array of a parametrized type new List<String>[] ?
Answer
No.


statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill

pdf

cannot see any pdfs







Flashcard 149627093

Tags
#bloch-effective-java-2ed #java #java-generics
Question
Is it legal to create array of a type parameter new E[] ?
Answer
No.


statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill

pdf

cannot see any pdfs







Flashcard 149627104

Tags
#bloch-effective-java-2ed #java #java-generics
Question
Give an example how type safety could be compromised if it was legal to create arrays of parametrized types (but it is not legal).
Answer
  1. You could create an array of lists of strings:
    List<String>[] stringLists = new List<String>[1]; // this part is not legal and wouldn't compile
  2. Because arrays are covariant, you can store the array into a variable of Object[] type and then store an element of type List<Integer> (or really List<anything>) as an element of the original array without causing ArrayStoreException because at runtime List<String> and List<Integer> are simply lists
  3. So, we are in trouble - List<Integer> is stored where the compiler thought it was List<String>


statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill

pdf

cannot see any pdfs