Repaso de Java

Quiz
•
Computers
•
10th Grade
•
Medium
Andres Viré
Used 2+ times
FREE Resource
12 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Se ejecuta el siguiente programa, el usuario ingresa el número 30. ¿Cuál será el resultado mostrado en pantalla?
60
28
32
15
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Se ejecuta el siguiente programa, el usuario ingresa el número -2. ¿Qué mensaje se mostrará en pantalla?
"El número es positivo"
"El número es negativo"
Ninguna de las opciones
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Cuál es la linea que falta para que el programa pueda mostrar el promedio de los números ingresados:
System.out.println(a + b + c + d / 4);
System.out.println((a + b + c + d) / 4);
System.out.println((a + b + c + d) / 2);
System.out.println((a + b + c + d) * 4);
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Se necesita leer un nombre ingresado por teclado y mostrar un mensaje de bienvenida, ¿cuál es la línea que falta en este programa?
System.out.println("Hola + nombre");
System.out.println(Hola + nombre);
System.out.println("Hola " + nombre);
System.out.println("Hola nombre");
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Se ejecuta el siguiente programa y como resultado se muestra el mensaje: "Contraseña correcta!".
¿Cuál es la línea que falta para completar el programa?
if(c == "1234"){
if(c != "1234"){
if(c == 1234){
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Qué símbolo se debe usar para comparar si dos números son iguales?
!=
=
==
<=
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Qué símbolo se debe usar para comprobar si dos números son distintos?
!=
=
!
==
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Area With Arrays

Quiz
•
10th - 12th Grade
10 questions
Java-Quiz 2

Quiz
•
10th Grade
16 questions
Loops

Quiz
•
5th - 12th Grade
8 questions
String Handling in Java

Quiz
•
10th Grade
10 questions
AP CSA Unit 1 & 2 Review

Quiz
•
9th - 12th Grade
16 questions
Loops Quiz

Quiz
•
9th - 12th Grade
8 questions
Conceptos de Programación

Quiz
•
8th Grade - University
10 questions
Java Math

Quiz
•
1st - 12th 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
9/11 Experience and Reflections

Interactive video
•
10th - 12th 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
9 questions
Tips & Tricks

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

Interactive video
•
6th - 10th Grade
10 questions
1.2 OSI & TCP IP Models Quiz

Quiz
•
10th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade