Scala & ZIO Quiz - Functional Scala 2022

Quiz
•
Computers
•
Professional Development
•
Hard
Katarzyna Królikowska
Used 5+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The ZIO#ignore method allows you to ignore values:
In the success channel
In the typed error channel
In both success and typed error channels
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In ZIO, the default thread pool:
Is intended for running async computations, and has a number of threads equal to the number of cores of your machine
Is intended for running blocking computations, and has a number of threads equal to the number of cores of your machine
Is intended for running blocking computations, and has an unlimited number of threads
Is intended for running async computations, and has an unlimited number of threads
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In ZIO 2.0, the ZManaged data-type was completely removed, what’s the replacement for it?
ZStream
ZSTM
ZIO
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When running the following: leftEffect zipPar rightEffect:
If either side fails, then the other one automatically fails
If either side fails, then the other one gets automatically interrupted
If either side fails, then the other one keeps running until its execution gets completed
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When running, the following: leftEffect race rightEffect:
If either side fails, then the other one automatically fails
If either side fails, then the other one gets automatically interrupted
If either side fails, then the other one keeps running until its execution gets completed
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A Ref[A] models a purely functional mutable reference to a value of type A, in which we can store:
Immutable data
Mutable data
Either of them
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A Promise[E, A] in ZIO:
Can start with a non-empty value, and can be set multiple times
Always starts with an empty value, and can be set just once
Always starts with an empty value, and can be set multiple times
Can start with a non-empty value, and can be set just one
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Apache Spark

Quiz
•
Professional Development
20 questions
js_edu_wrap_up

Quiz
•
1st Grade - Professio...
10 questions
Java SE: Programming I

Quiz
•
Professional Development
13 questions
MLOps - Drifts!

Quiz
•
Professional Development
10 questions
ITF - Quiz 7.1 - Installing and Uninstalling Peripherals

Quiz
•
Professional Development
20 questions
Part 1.6

Quiz
•
Professional Development
16 questions
AWS ACF Módulo 8 - Bancos de dados

Quiz
•
Professional Development
10 questions
Pertemuan 7 - Azure Data Engineer

Quiz
•
Professional Development
Popular Resources on Wayground
15 questions
Hersheys' Travels Quiz (AM)

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
30 questions
Lufkin Road Middle School Student Handbook & Policies Assessment

Quiz
•
7th Grade
20 questions
Multiplication Facts

Quiz
•
3rd Grade
17 questions
MIXED Factoring Review

Quiz
•
KG - University
10 questions
Laws of Exponents

Quiz
•
9th Grade
10 questions
Characterization

Quiz
•
3rd - 7th Grade
10 questions
Multiply Fractions

Quiz
•
6th Grade