Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Shy Tall Guy said:For the advanced students who want to be bit twiddlers someday:
How many bytes in a word?
Shy Tall Guy said:In a Long word?
In a DWORD?
Shy Tall Guy said:What is a nibble?
Shy Tall Guy said:What number system is binary (hint 0 and 1)?
Shy Tall Guy said:What are the other two number systems commonly used in computer science?
Beats me - I almost never use them anymoreWeird Harold said:A return question: Why are octal and hexadecimal used in computer science?
Java owns the world, and for once in history people don't have to worry about the underlying architecture or how large a variable is; they are the same regardless of what you are running on. Isn't life wonderful? Here comes the Sun!Guru said:
I hate those tests where you have to read the question to get the right answer.
Word size is not universal across different architectures. That's why many portable C programs will #define their own types for words and longs, so they can accomodate different architectures.
But, since Intel owns the whole world, that matters little any more.
Shy Tall Guy said:Beats me - I almost never use them anymore
Seriously? Because they are much easier to use than binary; I can remember that 255 decimal is FF hexadecimal easier than 11111111, or that A is 10 easier than 1010.
Guru said:
4. It just *might* be because you can look at the bits in a binary number, and convert groups of three or four into octal or hex directly. It *might* be that.
Guru said:...But, since Intel owns the whole world, that matters little any more.
Well "why" is a pretty open question; you might as well ask why we use assembly and higher level languages - because it is easier than bit twiddling.Weird Harold said:
Guru's answer is very close.
The answer is that 8 and 16 are exponetial products of two (2^3 and 2^4 resectively) That means that all possible values of a binary value of three or four places can be represented without any extra values.