Dale - Computer Science Illuminated 70

# Dale - Computer Science Illuminated 70 - represented in...

This preview shows page 1. Sign up to view the full content.

Binary digit A digit in the binary number system; a 0 or a 1 Bit Short for binary digit Byte Eight binary digits Word A group of one or more bytes; the number of bits in a word is the word length of the computer. 2.2 Natural Numbers 43 171 quotient 16)2748 16 114 112 28 16 12 remainder The remainder (12) is the first digit in the hexadecimal answer, represented by the digit C. So the answer so far is C. Since the quotient is not zero, we divide it (171) by the new base. 10 quotient 16)171 16 11 remainder The remainder (11) is the next digit to the left in the answer, which is represented by the digit B. Now the answer so far is BC. Since the quotient is not zero, we divide it (10) by the new base. 0 quotient 16)10 0 10 remainder The remainder (10) is the next digit to the left in the answer, which is represented by the digit A. Now the answer is ABC. The quotient is zero, so we are finished, and the final answer is ABC. Binary Values and Computers Although some of the early computers were decimal machines, modern computers are binary machines. That is, numbers within the computer are
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: represented in binary form. In fact, all information is somehow represented using binary values. The reason is that each storage location within a computer either contains a low-voltage signal or a high-voltage signal. Because each location can have one of two states, it is logical to equate those states to 0 and 1. A low-voltage signal is equated with a 0, and a high-voltage signal is equated with a 1. In fact, you can forget about voltages and think of each storage location as containing either a 0 or a 1. Note that a storage location cannot be empty: It must contain either a 0 or a 1. Each storage unit is called a binary digit or bit for short. Bits are grouped together into bytes (8 bits), and bytes are grouped together into units called words . The number of bits in a word is known as the word length of the computer. For example, IBM 370 architecture in the late...
View Full Document

## This note was uploaded on 01/13/2011 for the course CSE 1550 taught by Professor Marianakant during the Fall '10 term at York University.

Ask a homework question - tutors are online