а) 101011 и 101 101011(2) = 1 * 2^5 + 0 * 2^4+1 * 2^3 + 0 * 2^2 + 1 * 2^1 + 1 * 2^0 = 32 + 0 + 8 + 0 + 2 + 1 = 43(10) 101(2) = 1 * 2^2 + 0 * 2^1 + 1 * 2^0 = 4 + 0 + 1 = 5(10). 43 * 5 = 215(10). 215(10) = 11010111(2). 43 + 5 = 48(10). 48(10) = 110000(2). 43 – 5 = 38(10). 38(10) = 100110(2). б) 11001 и 1101. 11001(2) = 1 * 2^4 + 1 * 2^3 + 0 * 2^2 + 0 * 2^1 + 1 * 2^0 = 18 + 8 + 0 + 0 + 1 = 25(10). 1101(2) = 1 * 2^3 + 1 * 2^2 + 0 *2^1 + 1 ^ 2^0 = 8 + 4 + 0 + 1 = 13(10). 25 * 13 = 325. 325(10) = 101000101(2). 25 + 13 = 38(10). 38(10) = 100110(2). 25 – 13 = 12(10). 12(10) = 1100(2).