Search Header Logo

ESTRUCTURA DE DATOS-CAP4

Authored by Mike Huanca

Mathematics

1st Grade

Used 2+ times

ESTRUCTURA DE DATOS-CAP4
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

8 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

EL SIGUIENTE CODIGO BOTA COMO RESULTADO:

String cadena = "cIBERTEC_01 es mejor";

int longitud = cadena.length();

imprimir("longitud : " + longitud);

imprimir();

20

21

19

18

17

2.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

El siguente codigo vota como resultado?

cadena = "Java"

String s = "Java";

boolean b = cadena.equals(s);

true

false

1

-1

0

3.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

eL siguente codigo el valor de k es?

-3

-2

-1

0

1

4.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

eL siguente codigo vota como resultado?

String s = "CiberTRonk – Lima -";

s = s.toLowerCase();

cibertronk – lima –

cibertronk – Lima –

CIBERTRONK – lima –

CIBERtronk – lima –

cibertronk – LIMA –

5.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

EL siguente codigo vota como resultado?

String s1 = "viva el Perú",

s2 = s1.substring(6),

l Peru

el Peru

Peru

a el Peru

eru

6.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

EL siguiente codigo vota como resultado?

String s = "biba el Peru";

s = s.replace('b', 'p')

viva el Peru

pipa el PERU

pipa el Peru

viva el peru

biba el Peru

7.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

EL siguiente codigo vota como resultado en s[2]?

String linea = "123;Ana;20;55.0";

String[] s;

s = linea.split(";");

123

Ana

20

55.0

0

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?