Number Bases

0.0(0)
studied byStudied by 0 people
GameKnowt Play
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/11

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

12 Terms

1
New cards

Historical Number Systems

  • Aramaic numerals were used in Egypt around 500 BCE.

  • Roman numerals were used during the Roman Empire and are still used for stylized dates.

  • Arabic numerals (0-9) were developed by Indian mathematicians around 500 CE and introduced to Europe by Arabic scholars.

2
New cards

Roman Numerals Rules

  • Symbols can be repeated up to three times in a row.

  • A smaller symbol before a larger one means subtraction (e.g., IV = 4).

  • Only one smaller symbol can be subtracted from a larger one.

  • V (5), L (50), and D (500) are never subtracted.

3
New cards

Place Value Systems

  • Roman numerals lack zero and place value, making arithmetic difficult.

  • Positional notation (place value) uses powers of a base for easier arithmetic.

  • Example: 3,241.98=3 × 10+ 2 × 10+ 4 × 10+ 1 × 100

4
New cards

Binary (Base 2) Numbers

  • Uses only digits 0 and 1.

  • Binary numbers follow the same place value rules as decimals.

  • Example: 1102 = 1 × 2+ 1 × 2+ 0 × 2= 6

5
New cards

Computer Number Representation (8-bit)

  • Bit = 1 (on) or 0 (off).

  • Most significant bit (MSB) is the leftmost; least significant bit (LSB) is the rightmost.

  • Example: 101001102 = 166 in decimal.

6
New cards

Conversion from Base 10 to Base 2

  • Find the largest power of 2 less than or equal to the number.

  • Subtract and repeat for the remainder until zero.

  • Example: 9310 = 10111012

7
New cards

Binary Integer Arithmetic

  • Addition and subtraction follow place value rules.

  • Carry bit is discarded if it exceeds word length

8
New cards

Hexadecimal (Base 16) Numbers

  • Uses digits 0-9 and letters A-F (A=10, F=15).

  • Example: A2E16 = 10 × 162 + 2 × 161 + 14 × 160 = 2606

9
New cards

Signed Binary Numbers

  • n-bit word can represent integers in range [−2n−1, 2n−1 , -1]

  • Sign magnitude representation: MSB indicates sign; remaining bits for magnitude.

  • One's complement: flip all bits for negative numbers.

  • Two's complement: flip bits and add 1 for negative numbers (most common).

10
New cards

Two's Complement Arithmetic

  • Addition is normal; carry bit is discarded.

  • Overflow detected if carry into sign bit differs from carry out.

  • Two's complement negation is invert bits plus one.

11
New cards

Fixed Point Numbers (m.n notation)

  • Fixed decimal (radix) point with mm integer and nn fractional bits.

  • Range: [−2m−1, 2m−1 , -2-n]

  • Precision increases with more fractional bits.

12
New cards
  • Represents numbers as: mantissa × baseexponent

  • 32-bit (single precision): 1 sign bit, 8 exponent bits, 23 mantissa bits.

  • Relative error ≈ 6 ×10−86

  • Range approx ±3.4×1038