Fichas
flash cards
Fichas del conjunto (3)
- 1data typesreal/floating point- a number with a fractional part
integer - a whole number
character - a single letter, number or special character
string - one or more letters, numbers or special characters
boolean - a variable which can only hold a true or false value - 2variables & constantsvariables are identifiers (names) given to memory locations whose contents will change during the course of the program
constants are used when the value will not change during the running of the program - 3programming arithmetic operators+ addition - x=6+5 gives 11
- subtraction - a=6-5 gives 1
* multiplication - x=6*5 gives 30
/ division - x= 12/2 gives 6
MOD modulus ( remainder of the division) - 12MOD5 gives 2
DIV quotient (whole part of division) - 17DIV5 gives 3
^ exponent - 3^4 gives 81
Información
- Descripción
- A level Computing Fichas sobre flash cards, creado por Joe Cooper el 13/09/2017.
- Creado por
- Joe Cooper
- Visitas
- 0
- Etiquetas
- Valoración
Más sobre Operators and Boolean Logic