O GoConqr está de visual novo! Conte para nós o que você achou.

Mapa mental

Variables and constants

Holly Dooley Computer Science Year 11 Inglês

Conteúdo do mapa

Variables and constants

  1. Identifiers

    • Variables and constants have names or identifiers.
      • Identifiers describe the data being stored.
        • Short identifiers are easier to spell correctly each time they are used.
        • Long identifiers can be used if they are more descriptive, e.g. firstName.
  2. Assignment

    • Values are assigned in assignment statements using the = symbol.
      • The variable value can be changed as the program is running
    • Constants are assigned and used in calculations, they cannot be changed while the program is running.
  3. Naming conventions

    • Variable and constant identifiers must be consistent throughout the program.
    • Camel case uses lower and upper case characters. ( FirstName or PricePerKilo )
    • In snake case the words are linked with an underscore. ( first_name or price_per_kilo )
  4. Variables and constants are used to store values in algorithms and programs.

Informações

Descrição
Year 11 Computer Science Mapa Mental sobre Variables and constants, criado por Holly Dooley em 14-03-2019.
Criado por
Holly Dooley
Visualizações
0
Avaliação

Fale Conosco

Sobre o que é sua mensagem?

O que você acha do novo visual?

Você gostou?