
Prueba Diagnostica Modulo 2
Authored by Alexis González
Computers
Professional Development
Used 1+ times

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
20 sec • 1 pt
¿De que esta compuesto una variable y en que orden?
[Tipo de acceso; private, public] [Nombre] [Tipo dato; bool, int, float, etc] [;]
[Tipo de acceso; private, public] [Tipo dato; bool, int, float, etc][Nombre]
[Tipo de acceso; private, public] [Tipo dato; bool, int, float, etc][Nombre] [;]
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Cual es el valor de la variable healt?
private float healt = 100f;
Start()
{
healt = 50;
healt = 70;
}
50
70
100
3.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
¿Cuales son las opciones Incorrectas?
int healt = 50;
if(healt = 100)
int healt = 50;
if(healt)
bool isDead;
if(!isDead)
bool isDamage;
if(isDamage < 20)
4.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
¿Cuales son los operadores y símbolos lógicos?
==, =!, >=
!=, >=, !
>, <, !=
==, =!, =>
5.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
¿Cuales son las clases declaradas en forma de variable?
public SpriteRenderer sr;
public sprite Sprite;
private Item item = new item();
public Sprite sprite;
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Como se declara un método?
DamagePlayer()
{
//Codigo
};
DamagePlayer(int damage;)
{
//Codigo
}
public DamagePlayer()
{
}
7.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
¿Para que creo una variable de tipo clase?
Por ejemplo: public SpriteRenderer sp;
Para utilizar sus metodos.
Para utilizar sus variables
Solo por contexto, por ejemplo, Clase item tiene relacion con Clase Inventory
Solo para rellenarlo en el inspector.
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?