Flashcards
flash cards
Flashcards do 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
Informações
- Descrição
- A level Computing FlashCards sobre flash cards, criado por Joe Cooper em 13-09-2017.
- Criado por
- Joe Cooper
- Visualizações
- 0
- Tags
- Avaliação
Mais sobre Operators and Boolean Logic