Computer Science
Convert the following binary numbers to octal
(a) 11001
(b) 10101100
(c) 111010111
Number System
20 Likes
Answer
(a) 11001
Grouping in bits of 3:
Binary Number | Equivalent Octal |
---|---|
001 | 1 |
011 | 3 |
Therefore, (11001)2 = (31)8
(b) 10101100
Grouping in bits of 3:
Binary Number | Equivalent Octal |
---|---|
100 | 4 |
101 | 5 |
010 | 2 |
Therefore, (10101100)2 = (254)8
(c) 111010111
Grouping in bits of 3:
Binary Number | Equivalent Octal |
---|---|
111 | 7 |
010 | 2 |
111 | 7 |
Therefore, (111010111)2 = (727)8
Answered By
2 Likes
Related Questions
Add the following binary numbers:
(i) 10110111 and 1100101
(ii) 110101 and 101111
(iii) 110111.110 and 11011101.010
(iv) 1110.110 and 11010.011
Convert the following binary numbers to octal
(a) 111010
(b) 110110101
(c) 1101100001
Given that A's code point in ASCII is 65, and a's code point is 97. What is the binary representation of 'A' in ASCII ? (and what's its hexadecimal representation). What is the binary representation of 'a' in ASCII ?
Convert the following octal numbers to binary:
(a) 7642
(b) 7015
(c) 3576
(d) 705