Quizzes
Site Language: English
Українська
English
Русский
Programming Tests
Login
Sign Up
Programming Tests
Theory
Snippets
Papers
Landing
Android
Prices
FAQ
Cosmo Story
Terms and Conditions
Privacy Policy
Cookies Policy
Send Feedback
functions
:
Content language: English
Русский
Tail recursion optimization
functions
Which recursive calls are optimized by Scala complier, so they run just as quickly as hand-optimized versions that use while loops?
functions
Currying example
functions
Given the following curried function, what is the correct way to get a reference to curriedSum’s “second” function? def curriedSum(x: Int)(y: Int) = x + y
functions
Curly braces instead of parentheses
functions
Select all correct invocations of the given function: def sum(x: Int, y: Int = 0) = x + y
functions
Select correct statement regarding evaluation of functions parameters
functions
What is the correct syntax for using call-by-name evaluation strategy?
functions
What is the correct syntax for using call-by-value evaluation strategy?
functions
What is default evaluation strategy in Scala?
functions
← Prev
1
2
3
4
5
Next →
Sign Up Now
or
Subscribe for future quizzes