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

State the basic properties of this analytical engine, State the basic prope...

State the basic properties of this analytical engine The basic properties of this analytical engine are: It was a common purpose programmable machine. It had provisi

Explain process of file transfer protocol, Q. Explain process of File Trans...

Q. Explain process of File Transfer Protocol? FTP (File Transfer Protocol), a standard Internet protocol, is the simplest way to exchange files between computers on Internet. L

Explain the term - strong typing and weak typing, Explain the term - Strong...

Explain the term - Strong Typing and  Weak Typing Strong Typing : When any operation upon an object can be checked during compile time, when type is confirmed forcefully.

Discuss the advantages of store program control, Discuss the advantages of ...

Discuss the advantages of store program control (SPC) automation in telephone switching. Advantages of SPC: (i) Simple to control (ii) Simple to maintain (iii) Fine-

What are the different types of computer networks, Q. Mention different cla...

Q. Mention different classes of computer networks (on the basis of scale) and distinguish one from the other. Ans: Local Area Network (LAN) Metropolitan Area Netw

Arrow keys - input commands, When the user is inputting commands into your...

When the user is inputting commands into your shell, it should identify the left, right , up and down arrow keys. To implement this, you will need to use the termios.h library to

Show the advantages of joint application development, Q. Show the advantage...

Q. Show the advantages of Joint Application Development? The following are the numerous advantages of Joint Application Development: Actively includes management and use

Give an example of problem statement, Give an example of Problem Statem...

Give an example of Problem Statement You should understand here that you are looking for a statement of requirements, not a proposal for the solution. OOA specifies structu

What is called dhcp, DHCP stands for? DHCP that is stands for Dynamic H...

DHCP stands for? DHCP that is stands for Dynamic Host Configuration Protocol.

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