diff options
author | standenboy <standenboy@seacrossedlovers.xyz> | 2023-12-15 10:19:20 +0000 |
---|---|---|
committer | standenboy <standenboy@seacrossedlovers.xyz> | 2023-12-15 10:19:20 +0000 |
commit | 4a95719d58a708ad55b1389631d6339047f786a0 (patch) | |
tree | 26cb6fc2dbe7fa75f57f1d6fb13aff8955772b56 /comp/notes/2 |
added existing work
Diffstat (limited to 'comp/notes/2')
-rwxr-xr-x | comp/notes/2 | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/comp/notes/2 b/comp/notes/2 new file mode 100755 index 0000000..c0f686d --- /dev/null +++ b/comp/notes/2 @@ -0,0 +1,20 @@ +starting task +1) 103 +2) 10 10011011 +3) 10101001 x wrong numbers used +4) binary, denary, hexadecimal, octodecimal (base 8) x natural rational integer real + +from gcse remember spliting a binary number every 4 bits and convert to hex + +when you have signed bit it means - of the bit that is signed (usualy 128) + all the other values +your colums would be -128, 64, 32, 16, 8, 4, 2, 1 +if you have less bits it might look like this -8, 4, 2, 1 +same for if you have more bits + +we did some fixed point binary, it goes like this, -128, 64, 32, 16, 8, 4, 2, 1, 0.5, 0.25.. +it is clear why we use floating point numbers + +THE EXAM THINKS THAT 1G = 1000KB +THEY CALL 1024KB = 1 Gibibyte + +2^n is the maximum amount of values, n = the number of bits |