In a computer, numbers are represented by numeric codes.
Digits in base 10 (decimal): | 0 1 2 3 4 5 6 7 8 9 |
Digits in base 16 (hex): | 0 1 2 3 4 5 6 7 8 9 A B C D E F |
Digits in base 8 (octal): | 0 1 2 3 4 5 6 7 |
Digits in base 2 (binary): | 0 1 |
What is the binary representation for 148?
Remember that:The most common code used in computers is ASCII (American Standard Code for Information Interchange). It provides encoding of letters, digits, punctuation marks, and other special characters.
sp ! : # $ % & T ( ) * + , - 32 33 34 35 36 37 38 39 40 41 42 43 44 45 . / 0 1 2 3 4 5 6 7 8 9 : ; 46 47 48 49 50 51 52 53 54 55 56 57 58 59 < = > ? @ A B C D E F G H I 60 61 62 63 64 65 66 67 68 69 70 71 72 73 J K L M N O P Q R S T U V W 74 75 76 77 78 79 80 81 82 83 84 85 86 87 X Y Z [ \ ] ^ _ ` a b c d 88 89 90 91 92 93 94 95 96 97 98 99 100 e f g h i j k l m n 101 102 103 104 105 106 107 108 109 110 o p q r s t u v w x 111 112 113 114 115 116 117 118 119 120 y z { | } ~ 121 122 123 124 125 126
What does this say?
72 101 108 108 111 32 67 108 97 115 115 33