Binary Code Chart: Numbers 1 to 150 with Conversion Examples

Computer scienceUpdated on 109.07 KB

Summary

This chart lists the binary representations of the numbers 1 to 150 and explains how binary digits represent powers of 2. It includes a worked example converting 101 to decimal and a short list of common bitwise operations. Students will learn how to read and convert binary numbers.

Key points

  • Binary uses only the digits 0 and 1, and each position represents a power of 2, starting from 2^0 on the right.
  • The binary number 101 equals 4 + 0 + 1 = 5 in decimal.
  • The chart gives binary values for every number from 1 to 150, for example 26 = 11010 and 150 = 10010110.
  • Binary is the fundamental language of computers for representing all data.

Test yourself

Binary Code Chart: 1 to 150

This chart provides a comprehensive list of numbers from 1 to 150 and their corresponding binary representations. Binary code is the fundamental language of computers, using only two digits, 0 and 1, to represent all data.

Understanding Binary Numbers

Each digit in a binary number represents a power of 2, starting from 20 (which is 1) on the rightmost digit and increasing by powers of 2 as you move to the left. For example, the binary number 101 represents:

  • (1 * 22) = 4
  • (0 * 21) = 0
  • (1 * 20) = 1

Adding these values together: 4 + 0 + 1 = 5. Therefore, the binary number 101 is equivalent to the decimal number 5.

Binary Chart (1-150)

Here's the binary representation for numbers 1 through 150:

1 = 1, 26 = 11010, 51 = 110011, 76 = 1001100, 101 = 1100101
2 = 10, 27 = 11011, 52 = 110100, 77 = 1001101, 102 = 1100110
3 = 11, 28 = 11100, 53 = 110101, 78 = 1001110, 103 = 1100111
4 = 100, 29 = 11101, 54 = 110110, 79 = 1001111, 104 = 1101000
5 = 101, 30 = 11110, 55 = 110111, 80 = 1010000, 105 = 1101001
6 = 110, 31 = 11111, 56 = 111000, 81 = 1010001, 106 = 1101010
7 = 111, 32 = 100000, 57 = 111001, 82 = 1010010, 107 = 1101011
8 = 1000, 33 = 100001, 58 = 111010, 83 = 1010011, 108 = 1101100
9 = 1001, 34 = 100010, 59 = 111011, 84 = 1010100, 109 = 1101101
10 = 1010, 35 = 100011, 60 = 111100, 85 = 1010101, 110 = 1101110
11 = 1011, 36 = 100100, 61 = 111101, 86 = 1010110, 111 = 1101111
12 = 1100, 37 = 100101, 62 = 111110, 87 = 1010111, 112 = 1110000
13 = 1101, 38 = 100110, 63 = 111111, 88 = 1011000, 113 = 1110001
14 = 1110, 39 = 100111, 64 = 1000000, 89 = 1011001, 114 = 1110010
15 = 1111, 40 = 101000, 65 = 1000001, 90 = 1011010, 115 = 1110011
16 = 10000, 41 = 101001, 66 = 1000010, 91 = 1011011, 116 = 1110100
17 = 10001, 42 = 101010, 67 = 1000011, 92 = 1011100, 117 = 1110101
18 = 10010, 43 = 101011, 68 = 1000100, 93 = 1011101, 118 = 1110110
19 = 10011, 44 = 101100, 69 = 1000101, 94 = 1011110, 119 = 1110111
20 = 10100, 45 = 101101, 70 = 1000110, 95 = 1011111, 120 = 1111000
21 = 10101, 46 = 101110, 71 = 1000111, 96 = 1100000, 121 = 1111001
22 = 10110, 47 = 101111, 72 = 1001000, 97 = 1100001, 122 = 1111010
23 = 10111, 48 = 110000, 73 = 1001001, 98 = 1100010, 123 = 1111011
24 = 11000, 49 = 110001, 74 = 1001010, 99 = 1100011, 124 = 1111100
25 = 11001, 50 = 110010, 75 = 1001011, 100 = 1100100, 125 = 1111101

126 = 1111110, 131 = 10000011, 136 = 10001000, 141 = 10001101, 146 = 10010010
127 = 1111111, 132 = 10000100, 137 = 10001001, 142 = 10001110, 147 = 10010011

128 = 10000000, 133 = 10000101, 138 = 10001010, 143 = 10001111, 148 = 10010100
129 = 10000001, 134 = 10000110, 139 = 10001011, 144 = 10010000, 149 = 10010101
130 = 10000010, 135 = 10000111, 140 = 10001100, 145 = 10010001, 150 = 10010110

Common Bitwise Operations

These are some fundamental bitwise operations used in programming and computer logic:

  • ADD (00): Performs binary addition.
  • CMP (01): Compares two binary numbers.
  • MOV (10): Moves or copies data.
  • BEQ (11): Branch if equal (used for conditional logic).

z+I9ZVFgUjaEwAAAABJRU5ErkJggg==

8B63aZsmlC26oAAAAASUVORK5CYII=

Download

PDF Word HTML

FAQ

How do you convert a binary number to decimal?

Multiply each digit by the power of 2 for its position, starting from 2^0 on the right, then add the results. For example, 101 = (1 x 4) + (0 x 2) + (1 x 1) = 5.

What is the binary representation of 150?

According to the chart, 150 is written in binary as 10010110.

Test yourself

Flashcards

Click a card to see the answer.

Quiz

1. What is the decimal value of the binary number 101?
2. Which digits are used in binary code?
3. According to the chart, what is the binary form of 26?
4. What is the binary representation of 128 according to the chart?
5. What does the power of 2 assigned to the rightmost binary digit equal?

Questions generated by AI from the document: check the answers against the text.