Skip to main content

HEXADECIMAL NUMBER SYSTEM CONVERSION

 HEXADECIMAL NUMBER SYSTEM CONVERSION

          1.HEXADECIMAL NUMBER CONVERSION

Number System with base value 16 is termed as Hexadecimal Number System. It uses 16 digits for the creation of its numbers. Digits from 0-9 are taken like the digits in the decimal number system but the digits from 10-15 are represented as A-F i.e. 10 is represented as A, 11 as B, 12 as C, 13 as D, 14 as E, and 15 as F. Hexadecimal Numbers are useful for handling memory address locations.

*HEXADECIMAL NUMBER SYSTEM TO BINARY NUMBER SYSTEM;

Hex numbers are represented in base 16, but the binary numbers are of base 2. Hence, to convert a hexadecimal number to a binary number, the base of that number is to be changed. Follow the steps given below:

  • Step 1: Convert the Hex symbols into its equivalent decimal values.
  • Step 2: Write each digit of the Hexadecimal number separately.
  • Step 3: Convert each digit into an equivalent group of four binary digits.
  • Step 4: Combine these groups to form the whole binary number.

EXAMPLE: (B2E)16 is to be converted to binary


*HEXADECIMAL NUMBER SYSTEM TO DECIMAL NUMBER SYSTEM;

Hexadecimal numbers are represented in base 16 but the decimal numbers are of base 10. Hence, to convert a hexadecimal number to a decimal number, the base of that number is to be changed. Follow the steps given below:

  • Step 1: Write the decimal values of the symbols used in the Hex number i.e. from A-F
  • Step 2: Multiply each digit of the Hex number with its place value. starting from right to left i.e. LSB to MSB.
  • Step 3: Add the result of multiplications and the final sum will be the decimal number.

Example: To convert (8EB4)16 into a decimal value

Hexadecimal to Decimal Conversion


*HEXADEIMAL NUMBER SYSTEM TO OCTAL NUMBER SYSTEM;

Hexadecimal numbers are represented in base 16, but the octal numbers are of base 8. Hence, to convert a hex number to an octal number, the base of that number is to be changed. Follow the steps given below:

  • Step 1: We need to convert the Hexadecimal number to Binary first. For that, follow the steps given in the above conversion.
  • Step 2: Now to convert the binary number to Octal number, divide the binary digits into groups of three digits starting from right to left i.e. from LSB to MSB. 
  • Step 3: Add zeros prior to MSB to make it a proper group of three digits(if required)
  • Step 4: Now convert these groups into their relevant decimal values.

Example: (B2E)16 is to be converted to hex

Hexadecimal to Octal Conversion


                    MORE DETAILS;

https://youtu.be/Dfn8lFyG4rU

                                  OR

  

Comments

Popular posts from this blog

NUMBER SYSTEM CONVERSION

NUMBER BASE CONVERSION                     In our previous section, we learned different types of number systems such as binary, decimal, octal, and hexadecimal. In this part of the tutorial, we will learn how we can change a number from one number system to another number system. As, we have four types of number systems so each one can be converted into the remaining three systems. There are the following conversions possible in Number System Binary to other Number Systems. Decimal to other Number Systems. Octal to other Number Systems. Hexadecimal to other Number Systems.                                                                                                          ...

CONONICAL FORMS (SOP AND POS)

  CONONICAL FORMS The use of switching devices like transistors give rise to a special case of the Boolean algebra called as switching algebra. In switching algebra, all the variables assume one of the two values which are 0 and 1. In Boolean algebra, 0 is used to represent the ‘open’ state or ‘false’ state of logic gate. Similarly, 1 is used to represent the ‘closed’ state or ‘true’ state of logic gate. A Boolean expression is an expression which consists of variables, constants (0-false and 1-true) and logical operators which results in true or false. TWO TYPE OF CONONICAL FORMS; A Boolean function is an algebraic form of Boolean expression. A Boolean function of n-variables is represented by f(x1, x2, x3….xn). By using Boolean laws and theorems, we can simplify the Boolean functions of digital circuits. A brief note of different ways of representing a Boolean function is shown below. Sum-of-Products (SOP) Form Product-of-sums (POS) form Canonical forms There are two types of can...

BINARY ARITHMETIC

 BINARY ARITHMETIC                         Binary arithmetic  is used in digital systems mainly because the numbers (decimal and floating-point numbers) are stored in  binary  format in most computer systems. All  arithmetic  operations such as addition, subtraction, multiplication, and division are done in  binary  representation of numbers.       1) BINARY ADDITION; Binary Addition   It is a key for  binary  subtraction, multiplication, division. There are  four rules of  binary addition .  In fourth case, a  binary addition  is creating a sum of (1 + 1 = 10) i.e. 0 is written in the given column and a carry of 1 over to the next column.     Basic  arithmetic  operations like  addition , subtraction, multiplication, and division, play  an important role in mathematics .        ...