Steffany Mejía
Quiz by , created more than 1 year ago

Quiz on Java, created by Steffany Mejía on 28/09/2016.

10
0
0
Steffany Mejía
Created by Steffany Mejía over 7 years ago
Close

Java

Question 1 of 20

1

la opcion if, sirve para

Select one of the following:

  • condicionar

  • repetir

  • borrar

  • insertar

Explanation

Question 2 of 20

1

los bucles son ciclos

Select one of the following:

  • True
  • False

Explanation

Question 3 of 20

1

cual forma de escritura es la correcta

Select one of the following:

  • import java.util.*;

  • import java.util.*:

  • import java.util*;

Explanation

Question 4 of 20

1

int se utiliza para declarar letras

Select one of the following:

  • True
  • False

Explanation

Question 5 of 20

1

si quiero declarar un numero, cual es la manera correcta

Select one or more of the following:

  • int con;

  • String con;

  • float con;

  • int con

Explanation

Question 6 of 20

1

la siguiente parte de un programa, esta bien escrito:

System.out.println("cuantas veces deseas repetir?")
rep=x.nextInt()

Select one of the following:

  • True
  • False

Explanation

Question 7 of 20

1

que falta:
for(contadora=1; contadora<=contadora++)

Drag and drop to complete the text.

    rep;
    rip;
    nada

Explanation

Question 8 of 20

1

¿hay que declarar todas las variables que utilizamos?

Select one of the following:

  • True
  • False

Explanation

Question 9 of 20

1

completa el siguiente codigo:

public static void main(String[] args) {
System.out.println("que nombre deseas repetir?");

Select one of the following:

  • nom=x.next();

  • nom=x.next()

  • nom=x.next;

Explanation

Question 10 of 20

1

el siguiente código es correcto:
package eje1.pkgfor;
import java.util.*;
public class Eje1For {
public static void main(String[] args) {
int contadora;

for(contadora=1; contadora <=10;contadora++)
{
System.out.println("Mejía");
}
}
}

Select one of the following:

  • True
  • False

Explanation

Question 11 of 20

1

si quiero repetir que ciclo debo de usar:

Select one or more of the following:

  • for

  • if

  • while

  • cualquiera de los 3 esta bien

  • ninguno

Explanation

Question 12 of 20

1

si el programa no lleva:
import java.util.*;
¿lo corré?

Select one of the following:

  • True
  • False

Explanation

Question 13 of 20

1

¿este codigo lo utilizamos para declara x?
Scanner x=new Scanner(System.in);

Select one of the following:

  • True
  • False

Explanation

Question 14 of 20

1

¿que pasa si este codigo no lleva los ()?
for(contadora=1; contadora<=rep;contadora++)

Select one or more of the following:

  • nada

  • no funciona

  • solo tendria algunos inconvenientes

Explanation

Question 15 of 20

1

¿Do es un bucle?

Select one of the following:

  • True
  • False

Explanation

Question 16 of 20

1

+1 y ++ ¿es lo mismo?

Select one of the following:

  • True
  • False

Explanation

Question 17 of 20

1

¿para que utilizamos int?

Select one of the following:

  • para declarar varibles

  • para escribir

  • para guardar valores

Explanation

Question 18 of 20

1

si quiero declara una variable la cual es un numero esta correcta la siguiente forma:
String numero;

Select one of the following:

  • True
  • False

Explanation

Question 19 of 20

1

Java tiene 3 tipos de sentencias de control

Select one of the following:

  • True
  • False

Explanation

Question 20 of 20

1

while significa:

Select one or more of the following:

  • mientras

  • para

  • si

Explanation