Unit 1: Exam Review Notes

Collaboration and Teamwork

  • Teamwork: Primarily focuses on individuals getting along and working together harmoniously.

  • Collaboration: A deeper process that involves:

    • Creating new understandings for a problem or task.

    • Embracing disagreement and finding ways to combine opposing points of view.

    • Going beyond passively agreeing; avoiding conflict may hinder genuine collaboration.

    • Requiring participants from diverse backgrounds and with varied perspectives to foster richer solutions.

Bits and Bytes: Fundamentals of Digital Information

  • Bit: The most basic unit of information, representing either a 00 or a 11.

  • Byte: A unit of digital information comprising 88 bits.

    • An 88-bit system (1 Byte) is capable of storing values up to 255255.

    • It can represent a total of 256256 unique number options, including 00.

Binary Number Operations

Sequential ID Assignment

  • Problem: If student IDs increase sequentially by 11, and the last ID assigned was binary 1001hinspace00111001 hinspace 0011, what is the next ID?

  • Solution Steps:

    1. Convert the given binary to decimal: (1001hinspace0011)<em>2=(127)+(026)+(025)+(124)+(023)+(022)+(121)+(120)=128+0+0+16+0+0+2+1=147</em>10(1001 hinspace 0011)<em>2 = (1 \cdot 2^7) + (0 \cdot 2^6) + (0 \cdot 2^5) + (1 \cdot 2^4) + (0 \cdot 2^3) + (0 \cdot 2^2) + (1 \cdot 2^1) + (1 \cdot 2^0) = 128 + 0 + 0 + 16 + 0 + 0 + 2 + 1 = 147</em>{10}.

    2. Add 11 to the decimal value: 147+1=14810147 + 1 = 148_{10}.

    3. Convert the new decimal value back to binary:

      • Find the largest power of 22 less than or equal to 148148 (128=27128 = 2^7).

      • Subtract 128128 from 148148 (remainder 2020).

      • Next power of 22 less than 2020 is 16=2416 = 2^4.

      • Subtract 1616 from 2020 (remainder 44).

      • Next power of 22 less than 44 is 4=224 = 2^2.

      • Subtract 44 from 44 (remainder 00).

      • The binary representation is formed by placing a 11 at the positions corresponding to the powers of 22 used, and 00 otherwise: 1001hinspace010021001 hinspace 0100_2.

  • Answer: The next ID will be binary 1001hinspace01001001 hinspace 0100.

Ordering Numeric Values

  • Problem: Order the following values from least to greatest: Binary 10111011, Binary 11011101, Decimal 55, Decimal 1212.

  • Solution Steps:

    1. Convert all binary numbers to decimal for consistent comparison:

      • (1011)<em>2=(123)+(022)+(121)+(120)=8+0+2+1=11</em>10(1011)<em>2 = (1 \cdot 2^3) + (0 \cdot 2^2) + (1 \cdot 2^1) + (1 \cdot 2^0) = 8 + 0 + 2 + 1 = 11</em>{10}.

      • (1101)<em>2=(123)+(122)+(021)+(120)=8+4+0+1=13</em>10(1101)<em>2 = (1 \cdot 2^3) + (1 \cdot 2^2) + (0 \cdot 2^1) + (1 \cdot 2^0) = 8 + 4 + 0 + 1 = 13</em>{10}.

    2. List all values in decimal: 5,11,12,135, 11, 12, 13.

    3. Order them from least to greatest:

      • 55 (Decimal)

      • 1111 (Binary 10111011)

      • 1212 (Decimal)

      • 1313 (Binary 11011101)

  • Answer: Decimal 55, binary 10111011, decimal 1212, binary 11011101.

Data Representation Errors

  • Fixed Number of Bits: Computers represent numbers using a fixed number of bits, which limits the range and precision of values that can be stored.

  • Overflow Error: Occurs when a computer attempts to represent a number that is too large for the allocated number of bits.

    • Example 1: With 88 bits:

      • Maximum representable value is 281=2552^8 - 1 = 255.

      • The smallest number that would cause an overflow error is 256256.

    • Example 2: With 66 bits:

      • Maximum representable value is 261=632^6 - 1 = 63.

      • The smallest number that would cause an overflow error is 6464.

    • Hint: An overflow error is caused by the numerical value that would require the

cup