مواضيع المحاضرة: Decimal , Octal , Hexadecimal
قراءة
عرض

Decimal to O ctal Conversion

Similarly, to convert a number in decimal to a number in octal we have to divide the
decimal number by 8 repeatedly, until the quotient of zero is obtained. Then, the
remainders are noted down for each of the division steps.
Ex) Convert (426) 10 into an octal number.

Ex) Convert (635) 10 into an octal number.

Fractional Conversion
For fractional number, we deal with integer and fractional parts separately as follow:
Ex) Convert (34.525) 10 into an octal number.

Decimal to hexadecimal Conversion

The same steps are repeated but here we have to divide the decimal number by 16.
Ex) Convert (348 )10 into a hexadecimal number.

Fractional Conversion

Ex) Convert ( 92.85 )10 into a hexadecimal number.

H.W.) Convert (386.125) 10 into a hexadecimal number.

Conversion to Decimal
Now we discuss the reverse method, the method of conversion of binary, octal or
hexadecimal numbers to decimal numbers. To convert to decimal, we use the following
formula:
�� ���−1+ ��−1 ���−2+ ��−2 ���−2 . �� ��−1+ ��−1 ��−2+ ��−2 ��−3 + … where ,
��∶ is the digit in the �th position of the real part .
�� ∶ is the digit in the � th position of the fractional part .
��:���� �� ������� .
Ex) Convert (10110) 2 into a decimal number

Ex) Convert (1010.011) 2 into a decimal number.

Ex) Convert (362.35) 8 into a decimal number.

Ex) Convert ( 735 .25 )8 into a decimal number.

Ex) Convert (42A.12) 16 into a decimal number.

Ex) Convert ( F7C.65 )16 into a decimal number.


رفعت المحاضرة من قبل: Mohammed Aldhanuna
المشاهدات: لقد قام عضوان و 42 زائراً بقراءة هذه المحاضرة






تسجيل دخول

أو
عبر الحساب الاعتيادي
الرجاء كتابة البريد الالكتروني بشكل صحيح
الرجاء كتابة كلمة المرور
لست عضواً في موقع محاضراتي؟
اضغط هنا للتسجيل