Loading [MathJax]/jax/output/HTML-CSS/fonts/TeX/fontdata.js
Krhisna Velazquez
Quiz by , created more than 1 year ago

Son ejercicios para irse adentrando al tema.

107
0
0
Krhisna Velazquez
Created by Krhisna Velazquez almost 8 years ago
Rate this resource by clicking on the stars below:
1 2 3 4 5 (0)
Ratings (0)
0
0
0
0
0

0 comments

There are no comments, be the first and leave one below:

Close

Constantes y variables

Question 1 of 5 Question 1 of 5

1

Para que puedas comprobar por ti mismo lo que has aprendido en esta lección, puedes rellenar este test, corregirlo y comprobar el resultado. Si no has mirado el tema sobre variables y constantes te ruego que lo hagas antes de realizar el test, porque así no te servirá de nada.
¿Cuál de los siguientes identificadores no es válido?

Select one of the following:

  • b) Total99

  • c) 25Diciembre

  • a) Saldo_Actual

Explanation

Question 2 of 5 Question 2 of 5

1

Si v es una variable y c una constante, ¿cuál de las siguientes sentencias no es correcta?

Select one of the following:

  • a) c := v;

  • b) if c < v then...

  • c) v := c;

Explanation

Question 3 of 5 Question 3 of 5

1

De las siguientes afirmaciones, ¿cuál no es común a constantes y variables?

Select one of the following:

  • c) Tener sección de declaración

  • b) Tener un identificador

  • a) Poder cambiar de valor durante la ejecución

Explanation

Question 4 of 5 Question 4 of 5

1

¿Con qué otro nombre se les conoce a las constantes declaradas?

Select one of the following:

  • a) Constantes sin nombre

  • c) Constantes literales

  • b) Constantes con nombre

Explanation

Question 5 of 5 Question 5 of 5

1

La vida de una variable se suele dividir en tres partes, pero ¿qué orden presentan?

Select one of the following:

  • a) Iniciación, declaración, utilización

  • c) Iniciación, utilización, declaración

  • b) Declaración, Iniciación, utilización

Explanation