Please enable JavaScript.
Coggle requires JavaScript to display documents.
programming (LOGIC GATES (AND GATE (The logic gate receives 2 electric…
programming
LOGIC GATES
AND GATE
The logic gate receives 2 electric currents and both of the inputs must be switched on and carry a number 1 for the logic gate to work. If the logic gate works, it will also be 1. However, if one or both of the electric currents have a 0, the logic gate will also be a 0 and not work.
NOT GATE
The logic gat only receives one electric current. If the current is 0 the logic gate is a 1 and works however if the electric current is a 1, the logic gate ends up being 0 and doesn’t work. So the NOT gate does the opposite of what you think it would do.
OR GATE
The logic gate receives 2 electric currents and if one or both of the currents read 1, the gate will also be 1 and working however, if both of the electric currents read 0, the gate will also be 0 and not work.
XOR GATE
XNOR GATE
NAND GATE
SEQUENCE
In programming, sequence is a basic algorithm. It is a set of logical steps carried out in the order that it is placed in. to complete a task, a sequence is needed.
SELECTION
Many solutions feature several choices or decisions. These decisions lead to different paths throughout the program. These paths represent the result of making a choice. Without selection it would not be possible to include different paths in programs, and the solutions we create would not be realistic
ITERATION
Iteration involves repeatedly going through computer code that instructs you to follow a set of actions. The set of instructions is repeated in a loop until the program is commanded to stop.
RECURSION
A recursive procedure has the ability to call itself. This usually means that it has the capability to save the condition it was in or the particular process it is serving when it calls itself . This is done by saving values in registers or data area stacks before calling itself or at the beginning of the sequence where it has just been re-entered
PSUEDOCODE
Programs are created using programming languages such as python. These languages have specific rules to make sure that the program will work correctly. Pseudocode is a simple way of describing a set of instructions.
ALGORITHM
An algorithm is a list of rules to follow in order to solve a problem. Algorithms need to have their rules in the right order for them to work properly.
FIBONACCI
Each number in the sequence is the sum of the two numbers that are before it. So, the sequence goes: 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, this can go on forever.
DATA ENCRYPTION
Data encryption translates data into another code so that people with a secret key can read it. Data encryption is one of the most effective data security methods used by organisations around the world. Data encryption protects digital data confidentially as it is stored on computer systems and is transmitted using the internet.
DATA FLOW DIAGRAM
A data flow diagram maps out the flow of information for any process or system
BINARY
Binary is a numeric system that only used the numbers 0 and 1. computers use binary to perform calculations using 0 and 1.
0 =OFF
1=ON