FctLogiques Exercices
FctLogiques Exercices
FctLogiques Exercices
A and B A or B
0 Et 0 Ou inclusif 0
A B AND A B OR
0 0 0 0
0 1 0 1
1 0 1 0
1 1 1 1
A and B and C A or B or C
0 Et 0 Ou inclusif 0
A B C AND A B C OR
0 0 0 0 0 0
0 0 1 0 0 1
0 1 0 0 1 0
0 1 1 0 1 1
1 0 0 1 0 0
1 0 1 1 0 1
1 1 0 1 1 0
1 1 1 1 1 1
Luc De Mey
https://courstechinfo.be 0/ 9
A xor B
Ou exclusif
A B XOR
0 0
0 1
1 0
1 1
A xor B xor C
Ou exclusif
A B C XOR
0 0 0
0 0 1
0 1 0
0 1 1
1 0 0
1 0 1
1 1 0
1 1 1
0 0 0 0 1 0 1
0 0 0
0 1 0 1
0 0 0 0 1 0 1
0 1 1
0 1 0 1
0 0 0 0 1 0 1
0 1 1
0 1 0 1
0 26
Luc De Mey
https://courstechinfo.be
0 0 0 0 0 1 0 1
1 1 1 1
0 1 0 1
0 0 0 0 0 1 0 0
1 1 0 0
0 1 0 1
0 0 0 0 0 1 0 1
0 1 0 0
0 1 0 1
0 0
0 1 1 0
0
0
0
0
0
1
7 6 5 4 3 2 1 0
0
1
150 -106
5 0 0 1
6 +
7 1 0
0
4 0 1
0
0
0
0 0 0
0
0 0 0
0 0
0
0 0
0
0
0
1 1 0
0
1 1 0
1 0
1
1 0
0
1
1
1
1
0
9