Edited, memorised or added to reading queue

on 01-Sep-2014 (Mon)

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

Flashcard 149624515

Tags
#bonds #finance
Question
The Interpolated Spread or I-spread or ISPRD is the difference between the yield to maturity of the bond and
Answer
the linearly interpolated yield to the same maturity on an appropriate reference curve

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
The Interpolated Spread or I-spread or ISPRD is the difference between the yield to maturity of the bond and the linearly interpolated yield to the same maturity on an appropriate reference curve

Original toplevel document

I-spread - Wikipedia, the free encyclopedia
enwiki:resourceloader:filter:minify-css:7:3904d24a08aa08f6a68dc338f9be277e */ I-spread From Wikipedia, the free encyclopedia Jump to: navigation, search <span>The Interpolated Spread or I-spread or ISPRD is the difference between the yield to maturity of the bond and the linearly interpolated yield to the same maturity on an appropriate reference curve.[1] See also[edit] Option-adjusted spreadZ-spread References[edit] ^ Credit Spreads Explained vte Bond market BondDebentureFixed income Types of bonds by issuer Agency bondCor







Flashcard 149625233

Tags
#calculus #mathematics
Question
Elasticity is [change of what with respect to change of what].
Answer
percent change of the output divided by percent change of the input

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






Flashcard 149631720

Tags
#odersky-programming-in-scala-2ed #scala
Question
The only identifiers that can be used as prefix operators are [...], -, !, and ~.
Answer
+

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
The only identifiers that can be used as prefix operators are +, -, !, and ~.

Original toplevel document (pdf)

cannot see any pdfs







Flashcard 149631727

Tags
#odersky-programming-in-scala-2ed #scala
Question
The only identifiers that can be used as prefix operators are +, [...], !, and ~.
Answer
-

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
The only identifiers that can be used as prefix operators are +, -, !, and ~.

Original toplevel document (pdf)

cannot see any pdfs







Flashcard 149631734

Tags
#odersky-programming-in-scala-2ed #scala
Question
The only identifiers that can be used as prefix operators are +, -, [...], and ~.
Answer
!

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
The only identifiers that can be used as prefix operators are +, -, !, and ~.

Original toplevel document (pdf)

cannot see any pdfs







Flashcard 149631741

Tags
#odersky-programming-in-scala-2ed #scala
Question
The only identifiers that can be used as prefix operators are +, -, !, and [...].
Answer
~

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
The only identifiers that can be used as prefix operators are +, -, !, and ~.

Original toplevel document (pdf)

cannot see any pdfs







Flashcard 149631748

Tags
#odersky-programming-in-scala-2ed #scala
Question
x *= y + 1
means the same as:
x *= (y + 1)
because [...], even though the operator’s first character is *, which would suggest a precedence higher than +.
Answer
*= is classified as an assignment operator whose precedence is lower than +

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
x *= y + 1 means the same as: x *= (y + 1) because *= is classified as an assignment operator whose precedence is lower than +, even though the operator’s first character is *, which would suggest a precedence higher than +.

Original toplevel document (pdf)

cannot see any pdfs







Flashcard 149631760

Tags
#horstmann-java8-for-really-impatient #java #java8 #lambda-expressions
Question
Can you assign a lambda expression to a variable of type Object and why?
Answer
No — Object is not a functional interface.

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







#default-methods #horstmann-java8-for-really-impatient #java #java8
You can never make a default method that redefines one of the methods in the Object class.
statusnot read reprioritisations
last reprioritisation on suggested re-reading day
started reading on finished reading on


Parent (intermediate) annotation

Open it
You can never make a default method that redefines one of the methods in the Object class. For example, you can’t define a default method for toString or equals, even though that might be attractive for interfaces such as List. As a consequence of the “classes win” rule, such

Original toplevel document (pdf)

cannot see any pdfs




#default-methods #horstmann-java8-for-really-impatient #java #java8
you can’t define a default method for toString or equals, even though that might be attractive for interfaces such as List. As a consequence of the “classes win” rule, such a method could never win against Object.toString or Object.equals.
statusnot read reprioritisations
last reprioritisation on suggested re-reading day
started reading on finished reading on


Parent (intermediate) annotation

Open it
You can never make a default method that redefines one of the methods in the Object class. For example, you can’t define a default method for toString or equals, even though that might be attractive for interfaces such as List. As a consequence of the “classes win” rule, such a method could never win against Object.toString or Object.equals.

Original toplevel document (pdf)

cannot see any pdfs




Flashcard 149631783

Tags
#default-methods #horstmann-java8-for-really-impatient #java #java8
Question
Can you define a default method for toString or equals and why? It might be attractive for interfaces such as List.
Answer
As a consequence of the “classes win” rule, such a method could never win against Object.toString or Object.equals.

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
you can’t define a default method for toString or equals, even though that might be attractive for interfaces such as List. As a consequence of the “classes win” rule, such a method could never win against Object.toString or Object.equals.

Original toplevel document (pdf)

cannot see any pdfs







#collections #scala #tuples

Given the following definition:

val t = (4,3,2,1)

To access elements of a tuple t, you can use method t._1 to access the first element, t._2 to access the second, and so on.

statusnot read reprioritisations
last reprioritisation on suggested re-reading day
started reading on finished reading on


Parent (intermediate) annotation

Open it
Given the following definition: val t = (4,3,2,1) To access elements of a tuple t, you can use method t._1 to access the first element, t._2 to access the second, and so on. For example, the following expression computes the sum of all elements of t: val sum = t._1 + t._2 + t._3 + t._4

Original toplevel document

Scala Tuples
e1, Tuple2, Tuple3 and so on. There currently is an upper limit of 22 in the Scala if you need more, then you can use a collection, not a tuple. For each TupleN type, where 1 <= N <= 22, Scala defines a number of element-access methods. <span>Given the following definition: val t = (4,3,2,1) To access elements of a tuple t, you can use method t._1 to access the first element, t._2 to access the second, and so on. For example, the following expression computes the sum of all elements of t: val sum = t._1 + t._2 + t._3 + t._4 You can use Tupel to write a method that takes a List[Double] and returns the count, the sum, and the sum of squares returned in a three-element Tuple, a Tuple3[Int, Double, Double]. The




Flashcard 149631821

Tags
#collections #scala #tuples
Question

Given the following definition:

val t = (4,3,2,1)

To access elements of a tuple t, you can use method [...]to access the first element, [...] to access the second, and so on.

Answer
t._1, t._2 and so on

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
Given the following definition: val t = (4,3,2,1) To access elements of a tuple t, you can use method t._1 to access the first element, t._2 to access the second, and so on.

Original toplevel document

Scala Tuples
e1, Tuple2, Tuple3 and so on. There currently is an upper limit of 22 in the Scala if you need more, then you can use a collection, not a tuple. For each TupleN type, where 1 <= N <= 22, Scala defines a number of element-access methods. <span>Given the following definition: val t = (4,3,2,1) To access elements of a tuple t, you can use method t._1 to access the first element, t._2 to access the second, and so on. For example, the following expression computes the sum of all elements of t: val sum = t._1 + t._2 + t._3 + t._4 You can use Tupel to write a method that takes a List[Double] and returns the count, the sum, and the sum of squares returned in a three-element Tuple, a Tuple3[Int, Double, Double]. The







Flashcard 149631870

Tags
#currying #functions #scala
Question

Curried functions are defined with multiple parameter lists, as follows:

def strcat(s1: String)(s2: String) = s1 + s2

Alternatively, you can also use the following syntax to define a curried function:

[...]
Answer
def strcat(s1: String) = (s2: String) => s1 + s2

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
Curried functions are defined with multiple parameter lists, as follows: def strcat(s1: String)(s2: String) = s1 + s2 Alternatively, you can also use the following syntax to define a curried function: def strcat(s1: String) = (s2: String) => s1 + s2

Original toplevel document

Scala Currying Functions
esume WritingComputer GlossaryWho is Who Scala Currying Functions Advertisements Previous Page Next Page Currying transforms a function that takes multiple parameters into a chain of functions, each taking a single parameter. <span>Curried functions are defined with multiple parameter lists, as follows: def strcat(s1: String)(s2: String) = s1 + s2 Alternatively, you can also use the following syntax to define a curried function: def strcat(s1: String) = (s2: String) => s1 + s2 Following is the syntax to call a curried function: strcat("foo")("bar") You can define more than two parameters on a curried function based on your requirement. Let