What is a four-digit hexadecimal system?
Hello, I need a little help.
I have this task in which we have to specify the number ranges for integers (signed) that can be represented using the place value system as b's complement, decimal and in their respective system.
- a) eight-digit decimal system (My assumption is {0,1,2,3,4,5,6,7} with base 8)
- b) with single-digit binary system (MA {0,1} with base 2}
- c) four-digit hexadecimal system (with the hexadecimal numbers e.g. 0001, 1101 ????
- d) four-digit ternary system b=3
(These are computer science exercises, by the way.)
As I said, I now have some uncertainty about c.
Does anyone know what I should do specifically with this task or can send me an example or a page that explains it well?
would be extremely grateful.
(Sorry for any spelling mistakes, I'm writing this on an old iPad)
The four-digit hexadecimal system uses the base 16 number system, meaning there are 16 possible values ​​for each digit: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, and F. A four-digit hexadecimal number can range from 0000 to FFFF.
In this system, each digit represents a specific power of 16. For example, the number 1101 in hexadecimal corresponds to 1 * 16^3 + 1 * 16^2 + 0 * 16^1 + 1 * 16^0, or 4609 in decimal.
To convert a hexadecimal number to a decimal number, you can generally use the following formula:
decimal = (d3 * 16^3) + (d2 * 16^2) + (d1 * 16^1) + (d0 * 16^0)
where d3, d2, d1, and d0 are the digits of the hexadecimal number at the respective positions. For example, to convert 1101 to decimal, you would use the following calculation:
Decimal = (1 * 16^3) + (1 * 16^2) + (0 * 16^1) + (1 * 16^0) = 4609.
Hopefully this helps! Let me know if you have any further questions.
Decimal system means: base 10. And not base 8
Hexadecimal system means base 16, it is the numbers from 0000 to FFFF
What is meant by eight digits in a)?
(I just noticed that I wrote the binary numbers for Hexa, oops sorry about that)
ein oktalsystem wäre mit 8 ziffern (0-7) , dezi = 10 ziffern (0-9), hexa gleich 16 ziffern (0-9 und A-F), stellen sind dann die wertigkeit , im dezimal z.b. 3 stellen = 100 , weil 10^2 , wobei die einer stelle immer hoch 0 ist was immer als 1 definiert ist .
8^0 * Ziffer , 10^0*Ziffer , 16^0 mal Ziffer , die wertigkeit der ziffern ist dann aufsteigend um faktor 1 incrementiert
achtstellige Dezimalzahlen sind z.B:
12345678
99999999
45673444
8 Stellen halt
*aufsteigend um 1 incrementiert
OK, thanks so much for the help. I was a bit confused 🙂