Search Header Logo

Java, Matrices y Vectores

Authored by Diana Iguarán Castillo

Computers

University

Used 4+ times

Java, Matrices y Vectores
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Cuál de las siguientes opciones define correctamente una variable en Java?

int x;

x = 5;

x = "Hola";

int x = 5;

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Qué componentes representan un ciclo for en su estructura de creación en orden?

Evaluación, valor inicial, incremento.

Evaluación, incremento, valor inicial.

Valor inicial, evaluación, incremento

Incremento, valor inicial, evaluación

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Qué valores muestra el siguiente código

for (int i=0; i<=9; i++){

System.out.println(i);

}

0 - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10

0 - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9

1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9

0 - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

>, <, =, <> son

operadores de comparación

operadores lógicos

operadores aritméticos

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

int a = 0;

while (a < 100){

//Instrucción a ejecutar

}

Lo ejecuta 100 veces

Lo ejecuta 99 veces

Lo ejecuta 101 veces

Lo ejecuta infinitamente

6.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Una clase en JAVA se delimita entre un bloque con

( )

{ }

clase_

Proyecto_

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Cuál de las siguientes opciones define correctamente un vector en Java?

int vector = new int[5];

int[] vector = new int[5];

vector[5] = new int[];

  1. int vector = {1, 2, 3, 4, 5};


Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?