Soccerisboss992 Soccerisboss992
  • 21-08-2019
  • Computers and Technology
contestada

Convert the following hexadecimal

numbers to decimal: a) 0xE4 b) 0x3AC c) 0xFF

Respuesta :

Branta Branta
  • 04-09-2019

Answer:

a) 228

b) 940

c) 255

Explanation:

To convert a hexadecimal number to decimal, multiply each hex digit by 16^(position-1) and add the components.

For example, 0x 34 = 3* 16^(2-1) + 4*16^(1-1) = 48 + 4 = 52

Evaluating the given numbers:

a) 0xE4 =>

E corresponds to 14. So the decimal representation is 14*16 + 4 = 228

b) 0x3AC =>

A corresponds to 10 and C to 12. So the decimal representation is 3*16^2 + 10*16 + 12 = 940

c) 0xFF =>

F corresponds to 15. So the decimal representation is 15*16 + 15 = 255

Answer Link

Otras preguntas

Which of the following delegates believed that a large, diverse republic would be the best for the common good? a. George Washington b. George Mason c. James Ma
Why did so many Europeans take to the roads and wander the countryside after the war?
The function f(x) = 2x2 + 3x + 5, when evaluated, gives a value of 19. What is the function’s input value?
A 65-story office tower has a height of 910 feet. Write an expression to find the height of each story. Then, use the expression to find the height of each stor
Which of the regions make up Latin America
10/8 as a whole number or mixed number
when did the africans come to trinidad
Which type of soil holds the most water? A.silt b. clay c. sand d. loam
How do I evaluate a+b for a= 47 and b=31
under what amendment you have the right to know the charges brought against you and the right to question the evidence A. Fifth B. SECOND C. First