Binary Encoding
Hello future Hackers,
x and gizmore have recorded another video.
This time we talk about binary in general,
so this lesson might be boring for you.
Maybe just don't watch it.
Instead you can solve the binary conversion problem below.
Happy Challenging!
- gizmore and x
Problem CGX#3
This lesson has an interactive problem:
Please convert this binary data to a decimal number.
01001100
The problem is randomly generated and is bound to your session.
Good Luck!
The WeChall Team
# CGX#3: Binary Encoding
- Computers only work with 0 and 1
- Encode anything with a series of 0 and 1
- BIT (1 bit) 2
- NIBBLE (4 bit) 16
- BYTE (8 bit) 256
Logical operations
- AND &
- OR |
- XOR ^
- NOT ~
Arithmetic operations
- ADD +
- SUB -
- MUL *
- DIV /
- MOD %
- and more?
Convert from binary to decimal a.v.v.
- implementation
- overflow?
- carry bit