Se ejecuta el siguiente programa, el usuario ingresa el número 30. ¿Cuál será el resultado mostrado en pantalla?
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
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 Quizizz
10 questions
Python

Quiz
•
3rd - 10th Grade
14 questions
programación en java

Quiz
•
10th Grade
14 questions
Windows 10

Quiz
•
10th Grade
17 questions
Excel Básico

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

Quiz
•
8th Grade - University
10 questions
Arrays

Quiz
•
10th - 12th Grade
16 questions
Loops

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

Quiz
•
10th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University