Scala Online Test | A Secret Box of Knowledge
After learning scala, we come up with a tricky Scala Online Test. This Scala Online Test has more interesting MCQ’s for Scala Programming.
Do not forget to check other Scala quizzes as well in this series of scala quiz to revise all concepts thoroughly:
0 of 20 Questions completed
You have already completed the quiz before. Hence you can not start it again.
Quiz is loading…
You must sign in or sign up to start the quiz.
You must first complete the following:
0 of 20 Questions answered correctly
Time has elapsed
You have reached 0 of 0 point(s), (0)
Earned Point(s): 0 of 0, (0)
0 Essay(s) Pending (Possible Point(s): 0)
- Review / Skip
sbt is an open-source build tool for Scala and Java projects. Can it execute tasks in parallel?CorrectIncorrect
Which of the following statements is untrue about a functor in Scala?CorrectIncorrect
Select the true statements from the following:CorrectIncorrect
Left and Right are case classes. True or False?CorrectIncorrect
Which of the following statements are true about Either?CorrectIncorrect
What Boolean value do the following statements return?
case class People(name:String,age:Int)
Select the correct output for the following code:
Looking at the previous code, can you predict the output of the following code?
Which of the following function definitions are erroneous?CorrectIncorrect
Scala is also a:CorrectIncorrect
Of the following, select the Scala construct that holds pairwise different elements of the same type.CorrectIncorrect
Select the correct value specified by the following line of code:
“abcde” ensuring (_.length>3)CorrectIncorrect
Which is the correct value of the following expression?
For which kind of data should you use a case class?CorrectIncorrect
The following technique/construct lets us transform a function with multiple arguments into a chain of functions. Each of these has one single argument.CorrectIncorrect
How do you abruptly stop execution in the REPL?CorrectIncorrect
Which of the following is true about Scala and Java?CorrectIncorrect
Scala is a portmanteau for:CorrectIncorrect
Its Java compatibility makes Scala suitable for:CorrectIncorrect
A collection of type collection.Seq is immutable.CorrectIncorrect
Have you enjoyed the Scala Quiz? Share your feedback with us through comment box!