But the HTML "Hex" colour codes I was referring to use RGB; you said it yourself.
HTML colors are in RGB format:
#RGB
#RRGGBB |
That's what I meant, perhaps I worded it wrongly and you misinterpreted it?
What kind of math are they teaching these days.... |
That which has nothing to do with bases and computer science. Bare in mind that I'm 15; and haven't gotten into numeric bases at all. In fact I'd probably say I'm (sadly) the most knowledgeable person in my school regarding numeric bases... including the teachers. If I asked my maths teacher how to convert between base-10 and base-18 he wouldn't understand. And my old physics teacher didn't understand binary at all:
Him: "Binary is the digital format; it's a lot of 1s and 0s put together. 1 in binary is 1 in "normal numbers", 2 is 11, 3 is 111, etc." (that's what he said)
Me: "Actually 3 in binary is 11 and 2 is 10"
Him: "Oh, I didn't know that..."
Admittedly I know virtually nothing about various numeric systems; but he's meant to be a teacher!
Would I have been right had I said that the amount of bits has to be divisible by 8 or does that depend on the implementation in the CPU? Because I wanted to say that as well but I wasn't sure if it was right.
I think I also get to tell the ICT teachers, who are meant to be good at this stuff, and who put up posters saying "8 bits = 1 byte, 1024 bytes = 1Kb" that
1. 8 bits is an octet and
2. 1Kb is 1 Kilobits....
KiloBytes has a capital B usually (although I think that's probably for clarity... but naming convetions should be stuck to IMO). They did that in PC World too... But I can't go trolling them, I want a job there.