-->
$10101110101$ | $=$ | $1\times2^0$ $+$ $0\times2^1$ $+$ $1\times2^2$ $+$ $0\times2^3$ $+$ $1\times2^4$ $+$ $1\times2^5$ $+$ $1\times2^6$ $+$ $0\times2^7$ $+$ $1\times2^8$ $+$ $0\times2^9$ $+$ $1\times2^{10}$ |
$=$ | $1+4+16+32+64+256+1024$ | |
$=$ | $1397$. |
128 | 64 | 32 | 16 | 8 | 4 | 2 | 1 |
$157$ | $=$ | $78\times2$ | $+$ | $1$ |
$78$ | $=$ | $39\times2$ | $+$ | $0$ |
$39$ | $=$ | $19\times2$ | $+$ | $1$ |
$19$ | $=$ | $9\times2$ | $+$ | $1$ |
$9$ | $=$ | $4\times2$ | $+$ | $1$ |
$4$ | $=$ | $2\times2$ | $+$ | $0$ |
$2$ | $=$ | $2\times1$ | $+$ | $0$ |
$1$ | $=$ | $2\times0$ | $+$ | $1$ |
1 | |||||||
1 | 0 | 1 | 1 | 0 | 1 | ||
+ | 1 | 0 | 0 | 0 | 1 | ||
1 | 1 | 1 | 1 | 1 | 0 |
Porte logique | Schéma | Écritures | Table de vérité | ||||||||||||||||||
ET |
|
|
|||||||||||||||||||
OU |
|
|
|||||||||||||||||||
NON |
|
|
|||||||||||||||||||
OU exclusif |
|
|
A | B | ¬A | (¬A)∨B |
0 | 0 | 1 | 1 |
0 | 1 | 1 | 1 |
1 | 0 | 0 | 0 |
1 | 1 | 0 | 1 |
Entrées | Sorties | ||
A | B | Retenue R | Somme S |
0 | 0 | 0 | 0 |
0 | 1 | 0 | 1 |
1 | 0 | 0 | 1 |
1 | 1 | 1 | 0 |
0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 |
1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 |
0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
+ | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
+ | 1 |
+ | 0 | 0 | 0 | 0 | 0 | 0 | 0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