Si quieres guardar un dato de tipo texto (cadena de caracteres) utilizamos una variable de tipo...

Java basic

Quiz
•
Instructional Technology
•
9th - 12th Grade
•
Medium
Carlos Flores
Used 1+ times
FREE Resource
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
int
float
String
boolean
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Cuál es el fallo en el siguiente código?
Falta "Integer.parseInt()
El nombre de la variable no es válido.
La forma de concatenar no es correcta.
El tipo de variable no es correcto.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Qué es java?
Un lenguaje tipo máquina hecho en binario
Un lenguaje de programación multiplataforma
El minecraft
Conjunto de palabras y códigos que usan todos los ordenadores y programas.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Hasta qué número llega la variable i ?
10
Es un bucle infinito
No llega a ningún número porque vale 0
9
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Qué devuelve el programa por consola?
Nada. Da error porque los símbolos += y -= no existen en Java
17
18
10
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Qué falta en el código para que este bucle no sea infinito?
Los bucles while siempre son infinitos
Cambiar la condición pues está mal
Nada. Este bucle está bien. Se acaba a las 10 vueltas.
Sumarle +1 a la variable contador dentro del bucle.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Cómo generamos un número aleatorio entre 0 y 10?
random.randint(0, 10)
(int) (Math.random() * 11)
(int) (Math.random() + 11)
(float) (Math.random() * 11)
8.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Qué número debe introducir el usuario para cambiar "cabra" por "caballo"?
Las listas no son modificables
3
4
Hay que utilizar la función .append()
Similar Resources on Wayground
8 questions
Laboratorio II

Quiz
•
9th Grade
6 questions
PROGRAMACIÓN EN RAPTOR

Quiz
•
9th - 12th Grade
11 questions
Python - Data Types

Quiz
•
12th Grade - University
10 questions
REPASO CICLOS Y CONDICIONANTES EN PSEINT

Quiz
•
10th Grade
10 questions
TEC - INF GRADO 10o

Quiz
•
9th Grade
10 questions
INTRODUCCION A LA PROGRAMACION

Quiz
•
6th Grade - University
10 questions
Evaluación Objetos y Escenario

Quiz
•
8th Grade - University
12 questions
ARDUINO

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
25 questions
Equations of Circles

Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)

Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System

Quiz
•
10th Grade
10 questions
Writing and Identifying Ratios Practice

Quiz
•
5th - 6th Grade
36 questions
Prime and Composite Numbers

Quiz
•
5th Grade
14 questions
Exterior and Interior angles of Polygons

Quiz
•
8th Grade
37 questions
Camp Re-cap Week 1 (no regression)

Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review

Quiz
•
10th Grade
Discover more resources for Instructional Technology
25 questions
Equations of Circles

Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)

Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System

Quiz
•
10th Grade
37 questions
Camp Re-cap Week 1 (no regression)

Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review

Quiz
•
10th Grade