Trabajando con ArrayList

Trabajando con ArrayList

9th - 12th Grade

11 Qs

quiz-placeholder

Similar activities

Archivos Digitales

Archivos Digitales

9th Grade - University

14 Qs

Parcial-Dibujo

Parcial-Dibujo

12th Grade

10 Qs

Tecnología Digital

Tecnología Digital

12th Grade

12 Qs

test 3.6

test 3.6

11th Grade

10 Qs

PRUEBA CORTA I - SISTEMA E INSTALACIÓN DE SOFTWARE I - U4

PRUEBA CORTA I - SISTEMA E INSTALACIÓN DE SOFTWARE I - U4

9th - 12th Grade

15 Qs

Examen final algoritmo

Examen final algoritmo

11th Grade

12 Qs

Programs and Variables in Code and Play

Programs and Variables in Code and Play

5th - 9th Grade

7 Qs

Quizz Internet

Quizz Internet

KG - Professional Development

12 Qs

Trabajando con ArrayList

Trabajando con ArrayList

Assessment

Quiz

Computers

9th - 12th Grade

Practice Problem

Medium

Created by

AGUSTIN LÓPEZ

Used 7+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

11 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Un ArrayList puede cambiar de tamaño automáticamente cuando se añaden o eliminan elementos.

Verdadero

Falso

2.

FILL IN THE BLANK QUESTION

1 min • 1 pt

¿Cuál es el resultado de la operación get(2) en un ArrayList que contiene los elementos [1, 2, 3, 4]?

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Qué método se utiliza para añadir un elemento al final de un ArrayList?

insert()

add()

append()

push()

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Qué método se utiliza para eliminar un elemento específico de un ArrayList?

discard(index)

delete(index)

erase(index)

remove(index)

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Qué ocurre cuando se intenta acceder a un índice que está fuera de los límites de un ArrayList?

Retorna null

Retorna el último elemento

Lanza una IndexOutOfBoundsException

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Qué método se utiliza para comprobar si un ArrayList está vacío?

isEmpty()

empty()

size() == 0

hasNoElements()

7.

DRAG AND DROP QUESTION

1 min • 1 pt

​ (a)   <String> lista = ​ (b)   ArrayList​ (c)   ();

ArrayList
<>
new
Array
<String>
<>()

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?