Scala & ZIO Quiz - Functional Scala 2022

Scala & ZIO Quiz - Functional Scala 2022

Professional Development

15 Qs

quiz-placeholder

Similar activities

Software Requirements

Software Requirements

University - Professional Development

10 Qs

Mobile Technology

Mobile Technology

Professional Development

10 Qs

Fundamentals II. Final de módulo

Fundamentals II. Final de módulo

Professional Development

16 Qs

IT ENGLISH: Research Project Topics - Programming Languages

IT ENGLISH: Research Project Topics - Programming Languages

Professional Development

10 Qs

BIG DATA DAY 3 Quiz

BIG DATA DAY 3 Quiz

Professional Development

15 Qs

Computer Quiz

Computer Quiz

1st Grade - Professional Development

15 Qs

Bid Data: Day 2

Bid Data: Day 2

KG - Professional Development

20 Qs

Azure practice quiz 4

Azure practice quiz 4

Professional Development

10 Qs

Scala & ZIO Quiz - Functional Scala 2022

Scala & ZIO Quiz - Functional Scala 2022

Assessment

Quiz

Computers

Professional Development

Hard

Created by

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?