Final answer:
To convert from binary to octal, group the binary number in sets of three and convert each group to the octal system. Binary 110010 becomes octal 112, and binary 11111.01101 becomes octal 37.32.
Step-by-step explanation:
To convert from binary to octal, you group the binary digits in sets of three, starting from the right (for integers) and from the decimal point (for fractions), then convert each triplet to its equivalent octal digit.
a. For the binary number 110010, we group as 011 001 0. The corresponding octal digits are 1, 1, and 2. Hence, the octal equivalent is 112.
b. For the binary number 11111.01101, we group the integer part as 011 111 (or 001 111) and the fraction part as 011 010 (adding a trailing zero). The corresponding octal digits are 3, 7 for the integer part, and 3, 2 for the fraction part. Therefore, the octal equivalent is 37.32.