Miguel Arias
Quiz by , created more than 1 year ago

Evaluación de Unidad para 4to Grado de Bachillerato Valle del saber

4
0
0
Miguel Arias
Created by Miguel Arias over 8 years ago
Close

Evaluación II 4to Bachillerato

Question 1 of 10

2

Fill the blank space to complete the text.


while (i<10)
{
System.out.println('hola');
i=i+1;
}

Explanation

Question 2 of 10

2

a=1;
do

System.out.pritln(a + "*" +i+ "=" + a*i);

}
while ();

Drag and drop to complete the text.

    {
    i=i+1;
    +i+
    pritln
    i<=10
    i==10

Explanation

Question 3 of 10

2

Select from the dropdown lists to complete the text.

Scanner x=( new, neu, nev ) Scanner (System.( in, int, ini, float ));

Explanation

Question 4 of 10

2

int i,vcs;
String nm;
Scanner x=new Scanner (System.in);
System.out.println ("dame un nombre");
nm=x.nextLine();
System.out.println("cuantas veces quieres que se repita");
vcs=x.nextInt();
i=1;
{
System.out.println(nm);
i=i+1;
}
while (i<=vcs);

Drag and drop to complete the text.

    do
    int
    While
    for

Explanation

Question 5 of 10

2

Fill the blank spaces to complete the text.

int i,n;
Scanner x=new Scanner (System.in);
i=1;
System.out.println("Dame el valor de N");
n=x.next();
{ System.out.println(i);
i=i+1; }
(i<=n);

Explanation

Question 6 of 10

2

int i;

i=1;

do {
if (i 2==0)
{
System.out.println();
}
;
}
while (i<=10);
}

Drag and drop to complete the text.

    %
    &
    @
    x
    y
    x+2

Explanation

Question 7 of 10

2

Fill the blank spaces to complete the text.

int us,cla,i,a;
Scanner w=new (System.in);
System.out.println("cual es su usuario");
us=w.next();
System.out.println("cual es su clave");
cla=.nextInt();
if (us == 1 cla == 123)
{
System.out.println("Acceso autorizado");
}

{
System.out.println("acceso denegado");
}

Explanation

Question 8 of 10

2

(op)
{
case 1:
System..println("UNO");
break;
case :
System.out.println("UNO")
break;
default:
System.out.println("no existe opción");
;

Drag and drop to complete the text.

    switch
    out
    Swith
    2
    break
    ;
    }

Explanation

Question 9 of 10

2

int A;
A= 1;
(A<=10)
{
System.out.("Jose")
;
}

Drag and drop to complete the text.

    while
    for
    if
    a++
    primnt
    :
    }
    println
    printm

Explanation

Question 10 of 10

2

Select from the dropdown lists to complete the text.

int i=1;
while (( i<=10, x=10, i>=10 ))
{
if (i % 2 ( =, <= ) 0){
System.out.println(i);
}
( x=x+x );
}

Explanation