What is 0b01101101 in base16?0xD60x6E0x6D0x7D0x36
Question
What is 0b01101101 in base16?0xD60x6E0x6D0x7D0x36
Solution
The binary number 0b01101101 is equivalent to 0x6D in base16 (hexadecimal).
Similar Questions
What is 0b001010010 in base10?81828384
What is 98 in base16?0x620x980x96
What is 0x89 in base10?89135137139
What is 98 in base2?0b010100100b011000100b10011000
The number system which uses base-16 is called hexadecimal system or simply hex. A base (also called radix) is the number of unique digits or symbols (including 0) that are used to represent a given number.In hexadecimal system (or base-16 number system), a total of 16 symbols are used. Digits from 0 (zero) to 9 (nine) are used to represent values from 0 to 9 respectively and alphabets A, B, C, D, E and F (or a, b, c, d, e and f) are used to represent values from 10 to 15 respectively.In many programming languages like C, Java, etc., 0x is used as a prefix to denote a hexadecimal representation.For example, in hexadecimal number system, the value of Zero is represented as 0x0, where0 = (0 * 160) = (0 * 1)Similarly 1, 2 ...up to 9:1 = (1 * 160) = (1 * 1)2 = (2 * 160) = (2 * 1)...9 = (9 * 160) = (9 * 1)10 = A = (10 * 160) = (10 * 1)15 = F = (15 * 160) = (15 * 1)Now, let us try and represent the following numbers in hexadecimal system:Decimal number Eighteen/ 18 :Since one can only use 0 to 9 and the alphabets A to F to represent 18., let us divide 18 by 16 and write the quotient and remainder as follows:[quotient][remainder], i.e.: [1][2]18 = 0x12 = (1 * 161) + (2 * 160) = (16) + (2)One Hundred and Sixty (160).Since one can only use 0 to 9 and the alphabets A to F to represent 160., let us divide 160 by 16 and write the quotient and remainder as follows:[quotient][remainder], i.e.: [10][0], [A][0] (since 10 is represented by A)160 = 0xA0 = (10 * 161 + (0 * 160) = (160) + (0)Three Thousand Four Hundred and Sixty (3460):Since one can only use 0 to 9 and the alphabets A to F to represent 3460., let us divide it by 16 and write the quotient and remainder as follows:[quotient][remainder], i.e.: [216][4], (216 divided by 16 is [13][8], which is represented as [D][8]). So 3460 is represented as 0xD843460 = 0xD84 = (13 * 162) + (8 * 161) + (4 * 160) = (13 * 256) + (8 * 16) + (4 * 1) = (3328) + (128) + (4)Click on Live Demo to understand the conversion of a decimal number to its corresponding hexadecimal form.Note that both uppercase and lowercase letters can be used when representing hexadecimal values. For example:int hex_hundered_and_sixty = 0xA0; // or 0Xa0, however 0xA0 is preferredClick on Live Demo to understand the conversion of a hexadecimal number to its corresponding decimal form.Select all the correct statements from the given statements.In hexadecimal system, a base of 10 is used.Decimal number 101 is equal to 0x65 in hex.Hex value of 0xCAFE is equal to the decimal value 51966.0x0001 in hex is equal to 0X1 in hex to 1 in decimal number system.
Upgrade your grade with Knowee
Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.