GoConqr has a new look! Let us know what you think.

Mind map

programming techniques hahahaaaaaaa... ;}

Thomas Paterson English

Map content

programming techniques hahahaaaaaaa... ;}

  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. The process of setting a value to a variable or constant is called assignment

  2. Choosing a suitable identifier: It is important that variable identifiers (names) are clearly descriptive of the data that they hold. For example, player_name is clearly going to be used to store the name of the player in a game. It would be perfectly possible to write x = "Mary", but it wouldn't be at all clear what the purpose of variable x is. Using sensible, clear and descriptive variable identifiers helps to ensure that code is easily understood by yourself and other developers and will reduce the need for documentation and the likelihood of making errors. If errors do appear, the code will be easier to understand and therefore the source of errors will be easier to identify and fix.

Information

Description
Mind Map on programming techniques hahahaaaaaaa... ;}, created by Thomas Paterson on 26/02/2019.
Created by
Thomas Paterson
Views
0
Rating

More on Variables, Constants and Data Types

Feedback

What is it about?

What do you think of the new look?

How do you like it?