Trabajando con ArrayList

Quiz
•
Computers
•
9th - 12th Grade
•
Medium
AGUSTIN LÓPEZ
Used 7+ 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
10 questions
ATIVIDADE 4 2° ANO SENAC

Quiz
•
11th Grade
14 questions
Arrays, lists, tuples, stacks and queues

Quiz
•
11th - 12th Grade
13 questions
Dojo - Type Inference

Quiz
•
1st - 12th Grade
15 questions
2D Lists and Arrays

Quiz
•
10th - 12th Grade
12 questions
Javascript Arrays

Quiz
•
9th - 12th Grade
11 questions
PRUEBA CORTA 1 - DESARROLLO DE SOFTWARE 1 - U3

Quiz
•
10th Grade
10 questions
CONTEST 10 WORD 2019

Quiz
•
6th - 12th Grade
15 questions
Java Basic Data Structures

Quiz
•
6th - 10th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

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

Interactive video
•
6th - 10th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade
29 questions
AP CSP Unit 2 Review (Code.org)

Quiz
•
10th - 12th Grade