Search Header Logo

PC2023

Authored by ENRIQUE GARCIA

Computers

University

Used 1+ times

PC2023
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Si lanzamos 10 tareas y ejecutados "shutdown" ...

Se para todo y el ejecutor finaliza

Se espera a que el ejecutor finalice las tareas

Se mata al ejecutor

Se ejecuta interrupt en todos los hilos del ejecutor

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Si tenemos un ejecutor que permite programar tareas y ejecutados "shutdown":

Se ejecutan las tareas normales, pero las programadas se cancelan

Se ejecutan las tareas normales, y todas las tareas programadas

Se cancelan las tareas normales, pero las programadas se siguen ejecutando

Se cancelan todas las tareas directamente

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Si trabajamos con tareas y ejecutor qué necesitamos para tener el resultado de una tarea

Un "futuro"

Un "callable"

Un "runnable"

Nada

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Se puede reiniciar un CountdownLatch?

Si

No

5.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Si queremos tener métodos que puedan componerse para crear métodos más ponentes. (Son varias opciones)

Synchronized

Cerrojo

Semaforo

Exchanger

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Qué hilo ejecuta la tarea de reinicio de una barrera?

El primer hilo de la barrera

El hilo main

El último hilo en entrar a la barrera

Un hilo de forma aleatoria

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

En el método Fork-Join, ¿cuál es el orden correcto?

Fork-Join-Compute

Fork-Compute-Join

Compute-Fork-Join

Join-Fork-Compute

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Computers