Search Header Logo

Curso Básico de Programación Android en Java-Quizizz 01

Authored by CESAR JIMENEZ

Information Technology (IT)

Professional Development

Curso Básico de Programación Android en Java-Quizizz 01
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

¿Cómo declarar una variable int llamada contador con valor 10?

int contador = 10;
contador int = 10;
var contador = 10;
int = 10 contador;
int contador == 10;

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

¿Cuál es el tipo primitivo para números con decimales en Java?

int
float
double
long
short

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

¿Qué operador se usa para concatenar strings en Java?

+
&
concat()
.
++

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

¿Qué valor obtiene la variable boolean activo = false?

true
false
0
1
null

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

¿Cuál es el tipo de dato primitivo de 16 bits para enteros?

byte
short
int
long
char

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

¿Cómo declarar un array de enteros de tamaño 5?

int[] nums = new int[5];
int[5] nums;
int nums[] = new int(5);
int nums = new int[5];
int[] nums = {0,0,0,0,0};

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

¿Cómo declarar un array de Strings llamado nombres con valores "Ana" y "Luis"?

String[] nombres = {"Ana","Luis"};
String nombres[] = new String[]{"Ana","Luis"};
String[] nombres = new String[2];
String nombres = {"Ana","Luis"};
ArrayList<String> nombres = new ArrayList<>();

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?