Practice Library

All MCQs

Browse exam-wise, subject-wise, and country-wise MCQs with explanations.

What is Apache Spark?

Choose an option to check your answer.

Why is defining explicit types at public API boundaries often useful despite type inference?

Choose an option to check your answer.

What does serialization mean?

Choose an option to check your answer.

Why is blocking on Futures discouraged in scalable applications?

Choose an option to check your answer.

What is an ExecutionContext responsible for?

Choose an option to check your answer.

What is a Future?

Choose an option to check your answer.

What is Try used for?

Choose an option to check your answer.

What is Either commonly used to represent?

Choose an option to check your answer.

What does contravariance express?

Choose an option to check your answer.

What does covariance in a Scala type parameter express?

Choose an option to check your answer.

What is a generic class?

Choose an option to check your answer.

What does collect do on a Scala collection?

Choose an option to check your answer.