Variable, This is a location in the computer’s memory that stores a data value, Variable declaration, Naming the variable; a location in the memory is reserved for this variable, Variable assignment, Assigning a data value to the variable, usually achieved by using the equal sign "="1. For example, name = "Peter", Integer, A whole number, e.g. 252., Float, A decimal number. For example, 12.872, String, A sequence of characters, e.g. "Peter". Note that speech marks " " are added when assigning a string to a variable, Boolean, True/False, Yes/No, On/Off, 1/02, Constant, A variable that stores a data value that does not change when the program runs, e.g. pi = 3.144.

SA1 - S2 - Recap Variables & Data - Programming

Ranglista

Vizuális stílus

Beállítások

Kapcsoló sablon

Automatikus mentés visszaállítása :?