
Preguntas de Programación en Java

Quiz
•
Computers
•
10th Grade
•
Medium
Alex Huarayo
Used 2+ times
FREE Resource
27 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Cuál es la forma correcta de declarar un arreglo de enteros en Java?
int arreglo[] = new int(5);
int arreglo = new int[5];
int[] arreglo = new int[5];
int arreglo = [5]int;
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Qué valor tiene el índice del primer elemento de un arreglo en Java?
0
1
-1
Depende del tipo de arreglo
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Qué estructura se usa para tomar decisiones en Java?
switch
if
for
loop
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Cuál es la sintaxis correcta de un if en Java?
if x > 5 then {...}
if (x > 5) {...}
if x > 5: {...}
if x > 5 {}
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Qué bucle se usa para repetir instrucciones una cantidad definida de veces?
while
for
do-while
if
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Qué clase en Swing se usa para crear una ventana?
JPanel
JFrame
JButton
Window
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Cuál es el método para hacer visible un JFrame?
show(true)
visible(true)
setVisible(true)
enable(true)
Create a free account and access millions of resources
Similar Resources on Wayground
25 questions
Dasprog X PPLG

Quiz
•
9th - 12th Grade
23 questions
if - else

Quiz
•
10th Grade
25 questions
Prueba Programacion

Quiz
•
10th Grade
25 questions
TECH IQ CLASH

Quiz
•
9th - 12th Grade
25 questions
Corsaje 10-02

Quiz
•
10th Grade
24 questions
AGAD: UNIT 4_C# & UNITY

Quiz
•
9th - 12th Grade
22 questions
Examen 10° - II Trimestre

Quiz
•
10th Grade
25 questions
Library Classes

Quiz
•
10th Grade
Popular Resources on Wayground
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
10 questions
"LAST STOP ON MARKET STREET" Vocabulary Quiz

Quiz
•
3rd Grade
19 questions
Fractions to Decimals and Decimals to Fractions

Quiz
•
6th Grade
16 questions
Logic and Venn Diagrams

Quiz
•
12th Grade
15 questions
Compare and Order Decimals

Quiz
•
4th - 5th Grade
20 questions
Simplifying Fractions

Quiz
•
6th Grade
20 questions
Multiplication facts 1-12

Quiz
•
2nd - 3rd Grade