Diagnóstico Estructura de Datos (Java)

Quiz
•
Computers
•
University
•
Medium
MIGUEL RUBIO
Used 3+ times
FREE Resource
11 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Qué es un arreglo en Java?
Una estructura de datos que sólo puede almacenar valores numéricos.
Una estructura de datos que puede almacenar múltiples valores del mismo tipo.
Un tipo de dato primitivo en Java.
Un operador utilizado para comparar valores.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Cómo se declara un arreglo en Java?
array miArreglo = new array();
array[] miArreglo = new array[];
int[] miArreglo = new int[];
int miArreglo = new int[5];
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Cuál es la longitud de un arreglo?
La cantidad de elementos que almacena el arreglo.
El promedio de los elementos contenidos en el arreglo.
El número máximo de elementos que puede almacenar el arreglo.
El tamaño en bytes que ocupa el arreglo en memoria.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Cómo se accede a un elemento específico dentro de un arreglo?
Utilizando el operador de suma (+).
Utilizando el operador de asignación (=).
Utilizando el nombre del arreglo seguido de un corchete con el número índice del elemento deseado.
Utilizando el nombre del arreglo seguido de un punto (.) y el nombre del elemento deseado.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cuál es la forma correcta de asignar un valor a un elemento específico dentro de un arreglo?
miArreglo[índice] = valor;
valor = miArreglo[índice];
miArreglo[] = valor;
miArreglo = valor[índice];
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Cuál es la forma correcta de recorrer un arreglo en Java utilizando un bucle for?
for (int i = 0; i < miArreglo.length; i++) { }
for (int i = 0; i <= miArreglo.length; i++) { }
for (int i = miArreglo.length; i > 0; i--) { }
for (int i = 1; i <= miArreglo.length; i++) { }
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Qué es la indexación fuera de rango?
Un error que ocurre cuando se intenta acceder a un elemento de un arreglo utilizando un índice mayor a la longitud del arreglo.
Un operador utilizado para comparar valores numéricos.
Un bucle utilizado para repetir un bloque de código.
Un tipo de dato primitivo en Java.
Create a free account and access millions of resources
Similar Resources on Wayground
7 questions
Árboles p1

Quiz
•
University
10 questions
Programación II Parte 5

Quiz
•
University
10 questions
Arreglos en PSeInt

Quiz
•
University
10 questions
Base de Datos

Quiz
•
1st Grade - University
10 questions
ARBOLES. ESTRUCTURA DE DATOS NO LINEALES.

Quiz
•
University
10 questions
Openfiler

Quiz
•
University
9 questions
Organizadores Gráficos

Quiz
•
University
10 questions
Introducción a la estructura de datos

Quiz
•
University
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
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
15 questions
Properties of Equality

Quiz
•
8th Grade - University
38 questions
WH - Unit 3 Exam Review*

Quiz
•
10th Grade - University
21 questions
Advise vs. Advice

Quiz
•
6th Grade - University
12 questions
Reading a ruler!

Quiz
•
9th Grade - University