Show the decimal representation in computers, Computer Engineering

Assignment Help:

Binary number system is most common for computer due to two stable states of its components. However unfortunately this isn't a very natural system for us as we deal with decimal number system. So how does computer carry out the arithmetic? One answer that is followed in most computers is to convert all input values into binary system. Then computer carries out arithmetic operations and ultimately converts results back to decimal number thus we can read it easily. Is there any substitute to this technique? Yes, there is an alternative method of performing computation in decimal form however it needs the decimal numbers must be coded correctly before carrying out these computations. Generally decimal digits are coded in 7-8 bits like alphanumeric characters however for purpose of arithmetic calculations the decimal digits are treated as 4 bit binary code. As we already know 2 binary bits can signify 22 = 4 different combinations, 3 bits can signify 23 = 8 combinations and in the same way 4 bits can signify 24 = 16 combinations. To signify decimal digits in binary form we need 10 combinations however we need to have a 4-digit code. One such general representation may be to use first 10 binary combinations to signify ten decimal digits. These are generally called Binary Coded Decimals (BCD). Figure below shows binary coded decimal numbers. 

2410_DECIMAL REPRESENTATION IN COMPUTERS.png

Figure:  Binary Coded Decimals (BCD)


Related Discussions:- Show the decimal representation in computers

Relation ship, what is relationship among objects in software engineering??...

what is relationship among objects in software engineering??

Define asynchronous bus, Define asynchronous bus. Asynchronous buses ar...

Define asynchronous bus. Asynchronous buses are the ones in which every item being transferred is accompanied by a control signal that shows its presence to the destination uni

Describe data structures used during passes of assembler, Describe Data str...

Describe Data structures used during passes of assembler and their use. During passes of assembler, the Data structures define as: Pass 1 data base Input source pro

What are the events used for page headers and footers, What are the events ...

What are the events used for page headers and footers? The events TOP-OF-PAGE and END-OF-PAGE are used for pager headers and footers.

Register transfer - computer architecture, Register transfer - computer arc...

Register transfer - computer architecture: Register transfer: The output and input gates for register Ri are controlled by the signals Riout and Riin respectively.

Explain in detail about the dynamic timing, Explain in detail about the Dyn...

Explain in detail about the Dynamic timing a. Design is simulated in full timing mode. b. Not all possibilities tested, as it is dependent on input test vectors. c. Simul

Inheritance, what is Ambiguity in single inheritance

what is Ambiguity in single inheritance

Data can be moved using a ''write:'' statement, Data can be moved from one ...

Data can be moved from one field to another using a 'Write:' Statement and stored in the desired format.  Write: Date_1 to Date_2 format DD/MM/YY.

What is virtual memory, What is virtual memory? Method that automatical...

What is virtual memory? Method that automatically move program and datablocks into the physical main memory when they are needed for execution are known as virtual memory.

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd