Search Header Logo

repaso java

Authored by yolanda ramon

Computers

1st - 5th Grade

Used 1+ times

repaso java
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿cómo debe llamarse el archivo .java del siguiente código?

public class hmundo{

public static void main(String[] args) {

System.out.print("buenos días");

}

}

hmundo.java

buenosdias.java

Main.java

saludar.java

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿qué elemento falta para que funcione la línea de código en java?

___________out.println("Hola, mi nombre es " + nombre + ".");

System.

String.

console.

writting.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿cuál de los siguientes códigos representa una estructura de arreglo?

String[] materiasAlumno1 = {"Matemáticas", "Programación", "Física"};

float porcentaje = ((float) calificacion / totalPreguntas) * 100;

int i = 0; i < totalPreguntas; i++

public static void main()

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Elige el código donde se puede cambiar el tipo de dato a float aunque sea de tipo int:

float porcentaje = ((float) calificacion / totalPreguntas) * 100;

int totalPreguntas = respuestasEstudiante.length;

if (porcentaje >= 60)

respuestasEstudiante = {true, false, true, true, true};

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿qué tipo de variable puedo usar si se requiere obtener un promedio?

String

boolean

int

float

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿qué tipo de variable puedo usar si se requiere obtener un arreglo que guarde frases?

String

boolean

int

float

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿qué tipo de variable puedo usar si se requiere obtener un arreglo que guarde calificaciones sin decimales?

String

boolean

int

float

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?