¡GoConqr estrena diseño! Cuéntanos qué te parece.

Mapa mental

Revision

Lloyd Barron Inglés

Contenido del mapa

Revision

  1. Variables are named locations in memory that are used to store temporary values that can change as the program is run

    • Constants are named locations in memory that are used to store values that do not change throughout the program's execution
      • The value stored by variable or constant can be set or recalled by using the identifier (name) of the variable
    • Python doesn't require that variables are explicitly declared before they are used. Instead, they are automatically declared upon first use. Python also doesn't require that the type of data being stored is stated, it simply infers the data's type from the data that is assigned to (stored
      • In pseudocode, a statement to get a random number between a minimum and maximum value could be represented as: random_no = get_random(min, max) For example, dice_value = get_random(1,6)
    • The process of setting a value to a variable or constant is called assignment
  2. In some programming languages, variables need to be declared before they can be used to store data. ■ Declaring a variable means to state its name (identifier) and the type of data that it will contain, for example var player_score Int ■ Python doesn't require that variables are explicitly declared before they are used. Instead, they are automatically declared upon first use. Python also doesn't require that the type of data being stored is stated, it simply infers the data's type from the data that is assigned to (stored

Información

Descripción
Mapa Mental sobre Revision, creado por Lloyd Barron el 26/02/2019.
Creado por
Lloyd Barron
Visitas
2
Valoración

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué te parece el nuevo diseño?

¿Te gusta?