 # The Binal Number System And The Role Of Binary In Computing

Decent Essays
Role of Binary in Computing:
The computer data is represented using the binary system. Binary system is a number system that uses 0s and 1s to represent and store the data. The smallest unit of data in binary system is a digit or bit and is represented as 0 or 1. Computer processor is a circuit made up of a number of transistors. Each transistor contains a tiny switch that activates when the electronic signal is received. The digit 0 represents the off state and 1 represents the on state of a transistor. Computer programs can be described as the set of instructions, and each instruction is translated into the machine code to activate the CPU. A computer code is written by the programmer, and the translator converts this code into binary instructions
It is referred as the base 8 number system as it consists of eight digits from 0 to 7. In an octal number system, position of each digit represents power of 8. As this system consists of eight digits only, eah digit is always represented by one of the 0 to 7 digits only. The Octal number system is equivalent of binary number and is used as a shorthand representation for the long binary numbers. Octal is also used as shorthand for the UNIX file permissions. For instance file mode rwxr-xr-x can be represented as 0755. Octal number system is also used when a word contains a number of bits that is divisible by 3. For example, ancient systems that contain 18 bit word size or systems that have 9 bit bytes.
Role of Decimal in Computing:
Decimal number system is used in day to day life as it contains decimal number that has a base 10 and it uses digits from 0 to 9. In this system the successive positions to the left represents units, tens, hundreds, thousands and so on. Each position shows the specific power of base 10. Earlier computers were designed using the decimal number system, but this created unnecessary complexities and did not make good use of computers.
The most common example in computers for using base greater than 16 is the computer memory address. The first microcontrollers used only a 4 bit address. As the need for more processing power increased, the need to increase the byte size in the controller was inevitable. As the bit size keeps increasing so does the representation of numbers from a lower base to a higher base. We moved from binary representation to hexadecimal representation as it would be easier to store and compute. Similarly, moving to a base greater than 16 will make it easier on computation as our processors get complicated by the day. Ultimately it boils down to grouping a large number of binary combinations into a small set of numbers as the base increases. This makes the coding and computation compact and

## Related Documents

• Great Essays

This can be used later during the computation process. Depending on the clock cycle, the shift register will shift the data bit wise. C.1 Reversible D- Latch Figure 9 shows the Reversible D- latch which is designed using Fredkin gate which has a quantum cost of 5 and it has one garbage output. C. 2 Reversible D - Flip-flop Reversible D – flip-flop designed using two Fredkin gate is as shown in Figure 10. The D flip-flop has a characteristic equation as Q+ = D.Clk+ Q .Clk1.…

• 2030 Words
• 9 Pages
Great Essays
• Great Essays

SECTION A: ARDUINO BOARD Fig 1. Arduino Uno board 1. ATMEGA328P MICROCONTROLLER FUNCTION: ATMEGA328P is a microcontroller from the AVR family; it is an 8-bit device, which means that its data-bus architecture and internal registers are designed to handle 8 parallel data signals. It has 3 types of memory: • FLASH MEMORY: It is used for storing application, which explains why you don’t need to upload your application every time you unplug Arduino from its power source. • SRAM MEMORY: Storing variables used by the application while it’s running.…

• 1504 Words
• 7 Pages
Great Essays
• Decent Essays

What is the percent error for the binary answer found in Problem #2? 4. Given an 24 MHz bus speed. Write down the line(s) of instruction which set the ATD1 unit for 2MHz conversion frequency, 10-bit resolution and 8 A-to-D clocks per sample time. 5.…

• 1985 Words
• 8 Pages
Decent Essays
• Improved Essays

The modern technology is not advanced enough to build a faster chip and bigger storage unit in a reasonable size. The operation of AI program is based on physical computing machinery, which means a powerful computer is the basic element of the great system. This design is a kind of inspiration from human brain. Nowadays, super-computers have hundred thousands central processing units with several petabytes storage. It seems good enough to do the work.…

• 1376 Words
• 6 Pages
Improved Essays
• Improved Essays

Double An 8 data type which can hold 14 digits compared to a single data type. • Used for defining big amounts e.g. £65k can be known as £65000 and it shows that not all the data values are within the numerical value of 65k and can show an easier way of writing code to help with memory management. Basically, it is simplifying the code. Fixed Point A data type which represents a real data for a number that has a fixed number of digits after the decimal…

• 902 Words
• 4 Pages
Improved Essays
• Decent Essays

Referencing: “Central Processing Unit is the electronic circuiting within a Computer that carries out the instructions of a Computer by preforming the basic arithmetic.” https://en.wikipedia.org/wiki/Central_processing_unit RAM: Random Access Memory is a form of data storage device it is designed to allow data items to be Read / Written to in order to correspond with other peripherals such as HDD, SSD, Optical Drive (DVD-RW) (CD-RW) the read and write rate varies on the size of the chip some manufactures build there chips faster than others so it always best to shop around other types of memory include ROM & NOR-FLASH these types have limits and do not allow data to be wrote to them. Optical Disk…

• 729 Words
• 3 Pages
Decent Essays
• Superior Essays

The binary value comes to 1,048,576byts and 1,073,741,824byts compared to 1,000,000byts and 1,000,000,000byts in the decimal system. People use the decimal system which is in base 10 because it is the basis of the number system. 0,1,2,3,4,5,6,7,8,9 are the digits people calculate with. Unlike people, the computer uses the binary system which is in base 2. The smallest unit measurement on a computer is a Bit, short for binary digit.…

• 1249 Words
• 5 Pages
Superior Essays
• Improved Essays

Odd Example 6 – 22. Determine the number of bits transmitted in the bit string 11010011. Solution. There are 9 bits transmitted. 8 information bits and 1 parity bit.…

• 727 Words
• 3 Pages
Improved Essays
• Improved Essays

On the first three disks we have the binary information 1010, 1100 and 0011, here representing some data, and now calculate the parity information for the fourth disk. We use XOR operation to calculate the Parity bit: For the first column of the disks, to the left we have 1, 1 and 0: 1XOR 1 XOR 0 = Parity bit Broken down: 1 XOR 1 = 0 and then 0 XOR 0 = The parity bit is 0. This means first 1 XOR 1…

• 572 Words
• 3 Pages
Improved Essays
• Great Essays

In base 10 the numbers used are 0, 1, 2, 3, 4, 5, 6, 7, 8, and 9. Humans use this system because it shortens numbers. Humans have 10 fingers so it is logical that base-10 counting systems developed naturally. But computers do not have the ability to deal with large bases. Because traditional computers use transistors and logic gates to operate, a number system representing the on-off states of transistors is required.…

• 1190 Words
• 5 Pages
Great Essays