Sandylu Palacios
Quiz by , created more than 1 year ago

sjskdjal

50
0
0
Sandylu Palacios
Created by Sandylu Palacios over 8 years ago
Close

EVALUACION

Question 1 of 5

1

¿COMO ESCRIBIR "HOLA MUNDO" EN JAVA?

Select one of the following:

  • printf("hola mundo");

  • disp('Hola, mundo')

  • System.out.println("Hola Mundo");

  • echo "Hola Mundo";

Explanation

Question 2 of 5

1

¿QUE VALOR SE MUESTRA EN PANTALLA?
int contador;
int x=3;
contador+= x;
System.out.printil(contador);

Select one of the following:

  • EL PROGRAMA NO COMPILA

  • 3

  • 0

  • 1

Explanation

Question 3 of 5

1

¿QUE HACE EL SIGUIENTE PROGRAMA?
int x=0;
int y=0;
for(x=0;x<10; x++)
{
y+=x;
}
System.out.println(y);

Select one of the following:

  • SUMAR UNO A UNO LOS VALORES DE X HASTA LLEGAR A 10

  • CALCULAR LA SUMA DE 1 AL 9

  • SUMA Y ACABA OBTENIENDO UN 11 EN LA VARIABLE Y

  • NINGUNA DE LAS ANTERIORES

Explanation

Question 4 of 5

1

CUAL ES EL VALOR QUE SE MUESTRA EN PANTALLA?
int x=10;
int y=0;
while(y<x)
{
y+=x;
}
System.out.println(y);

Select one of the following:

  • 0

  • NINGUNO, ENTRA EN BUCLE INFINITO

  • 1

  • 10

Explanation

Question 5 of 5

1

¿QUE OPERADOR LOGICO REPRESENTA &&?

Select one of the following:

  • AND

  • OR

  • NOT

  • IGUALDAD

Explanation