Ajouts et corrections diverses avant rentrée
This commit is contained in:
parent
878b016119
commit
b9456a4295
28 changed files with 652 additions and 559 deletions
|
|
@ -64,3 +64,17 @@
|
|||
- $10011010_{|2}$
|
||||
- $100110101_{|2}$
|
||||
- $111 1001 1100 1011 1101 0001_{|2}$
|
||||
|
||||
12. Donnez le résultat des opérations booléennes suivantes, avec `a = True`, `b = False`
|
||||
- `a and b`
|
||||
- `a or b`
|
||||
- `not (a and b)`
|
||||
- `a and not b`
|
||||
- `b or not b`
|
||||
|
||||
13. Donnez le résultat des opérations bit à bit suivantes, avec $a = 58_{|10}$ et $b = 77_{|10}$ en considérant que $a$ et $b$ sont des octets.
|
||||
- `a | b`
|
||||
- `b & a`
|
||||
- `b ^ a`
|
||||
- `~b | a`
|
||||
- `~(b | a)`
|
||||
Loading…
Add table
Add a link
Reference in a new issue