Number system, Computer Engineering

Assignment Help:

 

Number systems

 

Consider a decimal number:               7654.32

 

Short hand for:            7 * 103 + 6*102 + 5* 101 + 4*100 + 3*10-1 + 2*10-2

 

Likewise binary number:                     1011.011

 

In full:                         1*23 + 0*22 + 1* 21 + 1*20 + 0* 2-1 + 1* 2-2 + 1*2-3

 

In general the number:                        x­2 x1 x0 . x-1 x-2 x-3

 

In base B is equal to:   x­ B2 + x1  B1 + x B0 + x-1  B-1 + x-2  B-2 + x-3 B-3

 

 

Conversion table.

 

Decimal (Base 10)

Binary (Base 2)

Octal (Base 8)

Hexadecimal (Base 16)

0

0000

00

0

1

0001

01

1

2

0010

02

2

3

0011

03

3

4

0100

04

4

5

0101

05

5

6

0110

06

6

7

0111

07

7

8

1000

10

8

9

1001

11

9

10

1010

12

A

11

1011

13

B

12

1100

14

C

13

1101

15

D

14

1110

16

E

15

1111

17

F

 

 

 

Convert decimal to binary by repeated division by two.

 

 e.g. 2510 in binary?

 

25

  2  =

12

remainder 1

12

  2  =

6

remainder 0

6

  2  =

3

remainder 0

3

  2  =

1

remainder 1

1

  2  =

0

remainder 1

 

Read remainders from bottom up.

Convert decimals less than one to binary by repeated multiplication by two.

 

 e.g. 0.62510 in binary?

 

0.625

  2  =

1.25

whole number 1

0.25

  2  =

0.5

whole number 0

0.5

  2  =

1.0

whole number 1

 

Read whole numbers from top down.

 

Therefore 25.62510 = 11001.1012

 


Related Discussions:- Number system

Describe the graphic accelerators, Q. Describe the Graphic Accelerators? ...

Q. Describe the Graphic Accelerators? A Graphic Accelerator is actually a chip as a matter of fact most significant chip in your video card. The Graphic Accelerator is essentia

Computer graphics, raster scan and random display technology

raster scan and random display technology

Explain the operation of JK flip flop when all inputs are 0, Write the trut...

Write the truth table for a clocked J-K flip-flop that is triggered by the positive-going edge of the clock signal. Explain the operation of this flip-flop for the following condit

Determine the performance of a parallel algorithm, Q. Determine the perform...

Q. Determine the performance of a parallel algorithm? One more method of determining the performance of a parallel algorithm can be performed after calculating a parameter know

Effective collaborative computing, Explain how the Web enables effective co...

Explain how the Web enables effective collaborative computing. Discuss the similarities and differences among WebEx, Microsoft NetMeeting and Novell Groupwise software (in less tha

What is connection, An established communication session among a server and...

An established communication session among a server and a workstation.

Swing, how to make a dfd of simple calculator?

how to make a dfd of simple calculator?

What are set up time and hold time constraints, What are set up time and ho...

What are set up time and hold time constraints? What do they mean? Which one is crucial for establishing maximum clock frequency of a circuit? Set up time is the amount of time

Artificial intelligence software, Artificial Intelligence Software A...

Artificial Intelligence Software Artificial Intelligence (AI) software employs non numerical algorithms to resolve complex problems that are not amenable to computation or s

Draw and illustrate the block diagram of DMA controller, Draw and illustrat...

Draw and illustrate the block diagram of DMA controller. Also discuss the various modes in which DMAC works. Direct memory access (DMA) is a process in that an external device

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