Convert the following numbers as directed
(i) Decimal 125.0625 into binary and hexadecimal
(ii) Decimal 567898765 into binary and hexadecimal
(iii) String “Check the code of BCS-011 in @online" to ASCII and Unicode strings
(iv) Hexadecimal FEDCBA98 to decimal and binary
(i) Decimal 125.0625 into binary and hexadecimal:
To convert the decimal number 125.0625 into binary, you can follow these steps:
Step 1: Convert the integer part (before the decimal point) into binary.
125 in decimal is 1111101 in binary.
Step 2: Convert the fractional part (after the decimal point) into binary.
0.0625 in decimal is 0.0001 in binary.
Step 3: Combine the binary representations of the integer and fractional parts.
So, 125.0625 in decimal is 1111101.0001 in binary.
To convert the binary representation into hexadecimal, you can group the binary digits into sets of four (starting from the right) and convert each set into its hexadecimal equivalent.
1111 1010 . 0001
Grouping them into sets of four, we have two groups: 1111 and 1010 on the left side of the decimal point, and 0001 on the right side.
1111 in binary is F in hexadecimal.
1010 in binary is A in hexadecimal.
0001 in binary is 1 in hexadecimal.
So, 125.0625 in decimal is 7DA.1 in hexadecimal.
(ii) Decimal 567898765 into binary and hexadecimal:
To convert the decimal number 567898765 into binary, you can follow these steps:
Step 1: Divide the number by 2, keeping track of the remainders.
567898765 / 2 = 283949382 with a remainder of 1.
283949382 ______ __________ ____ ____ _________ __________ _____ ________.
_____ ________ ____ _________ ____ ________ ____ _________ _____ ___ ____.
___ __________ ______ _________ _______ ___ _______ _________ ______.
___ _______ _______ ____ _____.
____ ________ ____ ____ _______ ___ ___ ___ ___ ______ ______ _____.
________ ___ _________ ________ __________ _________ _______ ___.
_________ _______ _______ _____ __________.
___ ____ ______ __________ ____.
________ ________ ___ _______ _____ ___.
__________ ___ _________ ______ _________ _________ ___.
_______ ___ ___ __________ ____ _________ __________ _______ ______ _______ ______ _______.
________ _____ _____ ___ __________ ___.
_______ _______ ______ _____ _________ ________ ___ _____ ____.
_____ _________ _________ ____ ___ ____ ____ _______.
_________ ________ ___ _______ ________ _________ ___ ___ __________ __________.
____ _________ ___ ______ ________.
_____ _________ __________ _______ ___ _______.
_________ _________ ___ ______ ________ ________ ___ _____.
___ _________ __________ ________ _________ ________ _______ ________ _____ _______.
_________ _____ ______ ___ _____ _______ ________.
______ _______ _________ ____ ____ ________ __________.
______ ______ _______ _________ _______ __________.
__________ _____ __________ ___ _______ ___.
_______ ____ ________ ________ ___.
________ _____ __________ __________ ________ ___ ___ __________ ___ _________ ________ ___.
____ ________ _______ ________ ____ ____.
_______ __________ __________ _____ ________.
________ ________ _____ ______ _____ _______ _____ _________ ________ _____ ___ ___.
_____ __________ _______ ______ ____ _______ ______ ________ __________ _____ ______.
________ _______ ______ _____ ________.
______ _____ ___ ______ _____ _____ _______ ______.
_______ _____ _______ _______ _________ ___ ______ __________.
____ ____ ____ ___ ________ _________ ___ ___ _______ ___ __________.
___ _______ _______ _________ _______ _________ ________.
_______ _____ ___ _______ _________ _________ _____ _______ _________ _______.
_________ ____ ___ ________ ________ ________ ____ _________ _______ ________ _____.
_______ _______ _______ ________ _____ ___ ________ _____ _____ ____.
________ _______ _________ _________ ____ ______ ___ __________ _________.
______ __________ ____ __________ _____ ____ ____ ____ _______ ____ __________ ______.
___ _________ __________ ____ _________ ___ _________ ___ ________ _________ ____.
___ ___ __________ _____ _________ _________ _______ _________ ____ __________.
________ _________ _________ _______ ________ _________ ______.
__________ ______ ____ ______ ____.
________ _________ ________ ______ ____ _________ _______ ____ ___ ______ _______ __________.
_____ ________ _________ _______ _____ _____ _________ ___.
____ ______ ____ _____ __________ ______ _____ ______ ________ _____.
___ ____ _____ __________ _____ _________ ______ ___ _________ ______.
______ ____ _____ ______ _________ _____ _________ ______.
__________ ______ _______ _________ ____ ________.
_________ __________ ___ ______ _______ _____.
_________ _______ _____ ____ ____.
___ ________ __________ ________ ____ ___ _______ _______ ______ _________ ______.
____ _______ _________ ______ ____.
_____ ______ ______ __________ _____ ____ ______ ______.
____ ________ ___ ______ ______ _________ _________ ________ _____.
_________ ______ _______ ________ __________ ________ ___ __________ ________ ________ _____ ______.
____ _________ ____ _________ ________.
_________ _____ ___ ______ _________ ________ ____ ____ ________ __________ ___.
_______ ________ _______ _______ _________ ____ ________ _________ __________ _____ ___.
______ ______ _________ ______ ________ ____ _____ ______.
_______ __________ _______ ______ ____.
_________ _________ ________ ____ ______ ______ ___ __________.
_____ _________ ________ _________ ______ ________.
____ _______ ______ _________ _______ ______ _________ _______ ______ ______ ___ ________.
________ __________ ______ _____ _______ ___ ______ ___.
________ ________ ____ _________ _____.
______ _________ ______ ____ _____ ___ ____ _________.
__________ _________ __________ ___ __________ _____ _______ ________ _____ ________ __________ ____.
__________ __________ ____ __________ ____ __________ ______ ___ ________ _________ _________ _____.
____ _________ ________ ________ ___.
_____ ___ ______ ___ _________ _________ ______ _______ ______ __________.
______ _________ ___ __________ _________ _____ _________.
__________ ___ _______ _____ ___ ______ __________.
___ _______ __________ _______ __________ __________ __________ ___.
____ _____ _____ ____ _______ _______.
______ ___ ________ ______ _____ ______ ______ ______.
_____ __________ _________ ___ _______.
______ ______ ______ _____ _______ _____ ____ _______ _________ ___.
______ ________ __________ _________ _________ ___ ____ _____ _________ _______.
________ _______ _______ ________ ___ ___ ___ __________ __________ ___ _____.
_____ ____ __________ ___ ________ ________ _________.
______ _____ ________ ____ __________ ____ _________ ________ ________ _________ _________ _________.
___ _______ ________ _________ ______.
______ ________ _____ __________ ________.
_______ ___ __________ __________ __________ ______ ____ _________ _______ __________.
_______ _____ ______ _________ _____ _____ _____ _________ _________ ________ ______.
__________ ___ _______ ______ ___ ______.
____ ______ ________ _________ __________.
____ _________ _______ ______ _____ _______ _________.
______ _________ ___ _______ _________ ______ _____.
_____ __________ _______ ____ _____ ________ _______ ______ _____.
______ ________ ___ _______ _______ _____ _____ ________ _________ _________ _________.
__________ ___ _______ _____ __________ ______ ___ _________ _______ ________.
___ _________ _________ ______ _____ _____ ___ _____ _______ __________ _______.
____ ______ ______ _____ ________ ___ _______ ______.
__________ _______ _____ _____ _________ ____ ____ _____ _____ _______ ___.
_____ ___ _______ ___ __________ ______ _____.
______ _________ _____ ________ _________ ______ _______ _________ ___ ____ ________ ___.
_________ ______ ____ ________ ______ _____.
_____ ________ __________ ____ ___ _______ ___ _____ ____ _______ _______.
____ __________ ___ ____ _______.
____ _______ ___ _____ ______ _________.
_______ ______ __________ _______ _________ _________ ______ ___.
____ ______ _________ _________ ___ _____ _________ _______ ________.
________ _______ _________ _______ __________ ________ ___ _________ ___ _________ ________.
Get Full Answer on WhatsApp