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

What is delegation, What is delegation? Delegation gives a proper mecha...

What is delegation? Delegation gives a proper mechanism to achieve the desired code reuse. The method is caught in the desired class and forwarded to another class for actual i

Illustrate the advantages of encapsulation, Advantages of Encapsulation ...

Advantages of Encapsulation You can also delay the resolution of the details until after the design.  You can keep your code modular.

Security analysis, Security Analysis: Suppose you are a young securiti...

Security Analysis: Suppose you are a young securities analyst, working in a small brokerage firm. You have access to publicly available information relevant to valuation of th

What is a screen group, What is a screen group? How it is useful? Scre...

What is a screen group? How it is useful? Screen group is a field in the Screen Attributes of a screen.  Here we can explain a string of up to four characters which is availa

Explain possible attacks on the wired equivalent privacy, Question : (a...

Question : (a) IEEE802.11 supports two types of network architecture, describe these architectures with the support of diagrams detailing the network components. (b) IEEE80

Explain memory write operation, Q. Explain Memory Write operation? Memo...

Q. Explain Memory Write operation? Memory write operation transfers content of a data register to a memory word M selected by the address. Presume that data of register R1 is t

Where the trunks lines are run between, Trunks are the lines that run betwe...

Trunks are the lines that run between (A)  Subscribers and exchange (B)  Switching system and power plant (C) Local area network (D) Switching stations Ans:

Show typical microprocessor system architecture, Q. Show typical microproce...

Q. Show typical microprocessor system architecture? A microprocessor system bus consists of three physical buses: the address bus, the data bus, and the control bus. The types

How many words can be acquired by the word universal, How many words can be...

How many words can be acquired by arranging the letters of the word 'UNIVERSAL' in different way? In how many of them  (i)  E, R, S takes place together (ii)  No two of the

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