English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

don't know bout it because it is just our assignment

2006-06-08 00:45:22 · 4 answers · asked by Anonymous in Education & Reference Primary & Secondary Education

4 answers

All encoding on normal computers is binary at the lowest level, but octal and hexadecimal numbers are used used for shorthand. Each octal digit is 3 bits, and each hex digit is 4 bits (2^3 = 8, 2^4 = 16). Octal digits range from 0 to 7, and hex digits range from 0 to F (letters are used after 9).

Special binary formats are used for signed and floating point numbers (i. e., 2's compliment form for signed numbers), but that seems beyond the scope of your question.

2006-06-08 00:55:01 · answer #1 · answered by anonymous 7 · 0 0

The main number system used in computer is binary. This has only two digits in it 0 and 1. It is represented within the computer by an electrical charge being either off (0) or on (1). All data is stored in a computer using binary numbers. Only for storage it is a plus or minus charge on a flobby, CD, or hard drive.

Because binary numbers are difficult for humans to read, and even small numbers have a large number of digits in binary (the number 1000 in binary is 1111101000), computer programmers began write numbers down in a octagon format. This is with 8 digits (0-7). Plus in a computer most commands at that time were required 8 binary digits to send them. So each 8 digit binary could be more easily written as an shorted octagon number. 1000 in octagon is written as 1750.

As computer processors improved, they went from 8 bit long commands to 16 bit long commands. So programmers took to written number is hex, which uses 16 digits (0-9 plus the letter A-F). A hex number is usually preceded by a letter H. So 1000 in hex is written as H3E8.

While computers have moved from 16 to 32 and now to 64 bit processors, programmer still write most numbers in hex. Mostly because there are not enough numbers and letters to represent a 64 bit number. What do you use after "Z"?

For additional information, do searches on binary, octagon, and hex numbers.

2006-06-08 08:19:18 · answer #2 · answered by dewcoons 7 · 0 0

Well computers physically use the binary number system which is just two digits, 0 and 1. Hexadecimal can be translated into binary.

2006-06-08 07:52:56 · answer #3 · answered by Danielle 1 · 0 0

binary base:2 01,
octal base:8 0,1,2,3,4,5,6,7
hexadecimal base:16 0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F

2006-06-08 07:50:30 · answer #4 · answered by amirivija 2 · 0 0

fedest.com, questions and answers