Mapa mental
2.2 programming techniques
Conteúdo do mapa
2.2 programming techniques
boolean logic operators
- bollean operators perform logic operations and allways result in true or false values the boolean operators for GCSE are
- and-evaluates to true if both operands are true,false if eithwer operand is false
- or-evaluates to true if both operands are true ,false if both operands are false
- not-inverts/negates a logical value so true becomes false ansd false becomes true
- or-evaluates to true if both operands are true ,false if both operands are false
- and-evaluates to true if both operands are true,false if eithwer operand is false
- types of iteration,definate and indefinate
- indefinate iteration
- a block of code that will repeat whilst a specified condition is true this is often called condition controlled
- definate iteration - a block of code that will repeat a known number of times ths is often known as count controlled iterations and is done with FOR loops
- subroutines
- named mini programmes
- easier to read ,there are fewer large blocks of code to understand
- more efficient -blocks of code can be used ansd written many times
- more reliable- each subroutine can be induvidually tested to make sure it works
- more reliable- each subroutine can be induvidually tested to make sure it works
- more efficient -blocks of code can be used ansd written many times
- easier to read ,there are fewer large blocks of code to understand
- named mini programmes
- subroutines
- definate iteration - a block of code that will repeat a known number of times ths is often known as count controlled iterations and is done with FOR loops
- a block of code that will repeat whilst a specified condition is true this is often called condition controlled
- indefinate iteration
- bollean operators perform logic operations and allways result in true or false values the boolean operators for GCSE are
Informações
- Descrição
- Mapa Mental sobre 2.2 programming techniques, criado por Daniel Reed em 26-02-2019.
- Criado por
- Daniel Reed
- Visualizações
- 1
- Avaliação
Mais sobre Operators and Boolean Logic