Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Computer Engineering Expert

 

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

 

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M9506088

Have any Question?


Related Questions in Computer Engineering

Sorting amp searching i need this written in cwrite a

Sorting & Searching ( I need this written in C) Write a program that will allow a user the opportunity to compare and analyze the efficiency of several sorting algorithms. The program will sort integer arrays of size 10, ...

Question what are the requirements for dfs what are

Question : What are the requirements for DFS? What are benefits of using DFS? What are the shortcomings and limitations? The response must be typed, single spaced, must be in times new roman font (size 12) and must follo ...

Explain why some organizations may not place enough

Explain why some organizations may not place enough importance on disaster recovery. What might happen to these organizations in the event of an actual disaster?

Number of cars average trvel time between a and b using

Number of cars Average trvel time between A and B using route 1 1 10 2 10 3 10 4 11 5 12 6 14 7 18 8 24 Alternative route 2: average travel time is 18 minutes(no matter how many cars are using it) How many cars will take ...

What is the purpose of exclusive gates such as the xor and

What is the purpose of exclusive gates such as the XOR and XNOR? What function do these gates perform?

A cartel is branch of an oligopoly there are still a

A cartel is branch of an oligopoly. There are still a handful of large firms and many smaller firms. For instance, the diamond industry and the petroleum industries are examples are oligopolies. However, the main differe ...

Why regulated industries should be required to follow

Why regulated industries should be required to follow security standards. Provide 2 examples of industries that would fall under this category.

Explain how financial leverage at investment banks differed

Explain how financial leverage at investment banks differed from financial leverage at more traditional commercial banks. What is the benefits of this leverage? What are the primary risks associated with financial levera ...

Can someone please help me with this examthis is consists

can someone please help me with this exam This is consists of four questions. The questions are designed to test your understanding of certain concepts that were studied over the course of the semester. Please answer all ...

Assume that todayis your 25thnbspbirthday and have an

Assume that todayis your 25th birthday and have an annual salary of $60,000 (+ super). Your salary is expected to grow by 3% per year before reaching retirement age (your 65th birthday). You are currently doing some rese ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As