№1. переведите из двоичной в десятичную систему счисления следующие числа: 1)100100102 2) 100111112 3) 101110102 4) 1011111112

Поляков Евгений Александрович

Учитель информатики высшей категории

Проверено учителем

Результаты перевода чисел в десятичную систему счисления: 1) 146, 2) 159, 3) 186, 4) 383. Шаг 1: Перевод первого числа Для перевода 10010010210010010 sub 2 необходимо умножить каждый разряд на основание 2 в соответствующей степени: 127+026+025+124+023+022+121+020=128+16+2=1461 center dot 2 to the seventh power plus 0 center dot 2 to the sixth power plus 0 center dot 2 to the fifth power plus 1 center dot 2 to the fourth power plus 0 center dot 2 cubed plus 0 center dot 2 squared plus 1 center dot 2 to the first power plus 0 center dot 2 to the 0 power equals 128 plus 16 plus 2 equals 146Шаг 2: Перевод второго числа Рассчитаем значение для двоичного числа 10011111210011111 sub 2: 127+026+025+124+123+122+121+120=128+16+8+4+2+1=1591 center dot 2 to the seventh power plus 0 center dot 2 to the sixth power plus 0 center dot 2 to the fifth power plus 1 center dot 2 to the fourth power plus 1 center dot 2 cubed plus 1 center dot 2 squared plus 1 center dot 2 to the first power plus 1 center dot 2 to the 0 power equals 128 plus 16 plus 8 plus 4 plus 2 plus 1 equals 159Шаг 3: Перевод третьего числа Разложим по степеням числа 2 значение 10111010210111010 sub 2: 127+026+125+124+123+022+121+020=128+32+16+8+2=1861 center dot 2 to the seventh power plus 0 center dot 2 to the sixth power plus 1 center dot 2 to the fifth power plus 1 center dot 2 to the fourth power plus 1 center dot 2 cubed plus 0 center dot 2 squared plus 1 center dot 2 to the first power plus 0 center dot 2 to the 0 power equals 128 plus 32 plus 16 plus 8 plus 2 equals 186Шаг 4: Перевод четвертого числа Для девятиразрядного числа 1011111112101111111 sub 2 вычисления выглядят следующим образом: 128+027+126+125+124+123+122+121+120=256+64+32+16+8+4+2+1=3831 center dot 2 to the eighth power plus 0 center dot 2 to the seventh power plus 1 center dot 2 to the sixth power plus 1 center dot 2 to the fifth power plus 1 center dot 2 to the fourth power plus 1 center dot 2 cubed plus 1 center dot 2 squared plus 1 center dot 2 to the first power plus 1 center dot 2 to the 0 power equals 256 plus 64 plus 32 plus 16 plus 8 plus 4 plus 2 plus 1 equals 383Ответ:

  1. 146; 2) 159; 3) 186; 4) 383.

Нужно ли вам показать алгоритм перевода из десятичной системы в двоичную или разобрать операции с другими системами счисления?

Форма ответа

Ваш аватар