Trabajando con ArrayList

Quiz
•
Computers
•
9th - 12th Grade
•
Medium
AGUSTIN LÓPEZ
Used 6+ times
FREE Resource
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) ();
Create a free account and access millions of resources
Similar Resources on Wayground
9 questions
HTML & CSS

Quiz
•
11th - 12th Grade
12 questions
Programación I

Quiz
•
12th Grade
10 questions
Prova Programação Back end

Quiz
•
3rd Grade - University
13 questions
PRUEBA CORTA I - COMPUTACIÓN APLICADA -U3

Quiz
•
10th Grade
14 questions
AP CSA Review

Quiz
•
11th Grade
15 questions
Uji Pemahaman Komputasional

Quiz
•
9th Grade
10 questions
Laboratorio II

Quiz
•
12th Grade
14 questions
Tipul de date tablou(array) unidimensional

Quiz
•
9th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Appointment Passes Review

Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
Grammar Review

Quiz
•
6th - 9th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
17 questions
[AP CSP] Binary Number System

Lesson
•
9th - 12th Grade
15 questions
1.1 Network Fundamentals Quiz

Quiz
•
10th Grade
20 questions
Understanding Information Processing Cycle

Quiz
•
10th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade