on 02-Aug-2014 (Sat)

Flashcard 149626455

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

status measured difficulty not learned 37% [default] 0

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 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 [...].
term structure of interest rates

status measured difficulty not learned 37% [default] 0

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 <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 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.
discount rate

status measured difficulty not learned 37% [default] 0

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 [...].
sum of all future cash flows from the bond (coupons and principal) is equal to the price of the bond

status measured difficulty not learned 37% [default] 0

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 [...].
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

status measured difficulty not learned 37% [default] 0

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


arrays are covariant

status measured difficulty not learned 37% [default] 0

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


generics are invariant

status measured difficulty not learned 37% [default] 0

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).

status measured difficulty not learned 37% [default] 0
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).
reified

status measured difficulty not learned 37% [default] 0
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>[] ?
No

status measured difficulty not learned 37% [default] 0

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>[] ?
No.

status measured difficulty not learned 37% [default] 0

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[] ?
No.

status measured difficulty not learned 37% [default] 0

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).