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

Mapa mental

Variables:static, global, local

rwc.carlton Computing Cambridge IGCSE Inglês

Conteúdo do mapa

Variables:static, global, local

  1. when program is run, static variables are stored in a location in memory and have a lifespan that klast while the program is running.

    • Eg. if you assign the number 2.14 to a static variable will still contain 2.14 whenever you run the sub procedure until the whole program stops running
  2. When a dynamic variable is defined, it is assinged a new loaction

  3. Local

    • defined inside na sub procedure and is only accesible from within that sub procedure. This is known as scope
    • Advantage - much easier to tack changes to a variable and reason for the changes when it is only used within a sub procedure + can prevent variable from being over wriiten by something else in yopur program
  4. global

    • Wideer scope
    • defined globally and so is accesible from anywherte within a program
    • advanatge - sometimes it can be the most efficient way of ensuring that a piece of sata is accesible to all sub procedures

Informações

Descrição
Cambridge IGCSE Computing (Computer Software) Mapa Mental sobre Variables:static, global, local, criado por rwc.carlton em 01-05-2015.
Criado por
rwc.carlton
Visualizações
0
Avaliação

Fale Conosco

Sobre o que é sua mensagem?

O que você acha do novo visual?

Você gostou?