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

Explain clearly the kuleshov experiment, Question: (a) Write a proposal...

Question: (a) Write a proposal for a 10-11 minutes movie of your choice with the expected content. (b) Explain clearly the "Kuleshov Experiment" (c) Give the checklist be

Error detection mechanism must be in-built, Error detection mechanism may i...

Error detection mechanism may include checking mechanical and data communication errors. These errors must be reported to processor. The illustrations of kind of mechanical errors

Determine the output of T-flipflops in cascade, If  the input to T-flipflop...

If  the input to T-flipflop is 100 Hz signal, the final output of the three T-flipflops in cascade is ? Ans. The  final  output  of  the  three  T-flip-flops in cascade is 12.5 H

Describe menu in dreamweaver, File Menu: Under it there are New, Save, Sav...

File Menu: Under it there are New, Save, Save as, Save as template, Import, Export, Preview in browser etc. options. Edit Menu: In this menu there are Cut, Copy, Paste, Undo,

Trusted publisher, State the criteria which a trusted publisher should meet...

State the criteria which a trusted publisher should meet before adding him? Ans) The following criteria should be met by the publisher before adding him to the list. ? The

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

Define nondeterministic tm, Define nondeterministic TM?  Arbitraril...

Define nondeterministic TM?  Arbitrarily chooses move when more than one possibility exists Accepts if there is at least one computation that terminates in an acceptin

Subprogram, create a stored procedure to debit a bank account user must ent...

create a stored procedure to debit a bank account user must enter account no. and amount to debited from account .the minimum balance in account should be 500. if the debited amoun

Floating point format, consider the 8 bit floating point format including s...

consider the 8 bit floating point format including support for normalised nimbers and nonnumeric values.it included 3 bits for mantissa and 4 bitys for excess 7 exponent

Explain assembly program execution, Q. Explain Assembly program execution? ...

Q. Explain Assembly program execution? An assembly program is written according to a strict set of rules. A word processor or editor is used for keying an assembly program in t

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