Lecture 2: Digital Systems and Information Study Guide

Introduction to Digital Systems and Information

  • Lecture 2 covers the foundational principles of digital systems, focusing on how information is represented through various number systems and mathematical frameworks.

  • The material is presented by the Computer Science Department at Florida Polytechnic University.

Positional Notation Fundamentals

  • Positional notation is the method used to represent numbers where the value of a digit depends on its position relative to the radix point.

  • Key variables and components identifying positional notation include:

    • rr: Represents the base or the radix of the number system (e.g., r=10r=10 for decimal, r=2r=2 for binary).

    • nn: Indicates the number of digits located to the left of the decimal (or radix) point.

    • mm: Indicates the number of digits located to the right of the decimal (or radix) point.

    • AA: Represents a coefficient. This coefficient is a value that can be represented by one of the digits allowed within the specific base rr.

Reference Table: Powers of Two

  • Understanding the powers of two (2n2^{n}) is critical for binary system calculations and computer science architecture. The following table provides the values for nn from 00 to 2323:

nn

2n2^{n}

nn

2n2^{n}

nn

2n2^{n}

00

11

88

256256

1616

65,53665,536

11

22

99

512512

1717

131,072131,072

22

44

1010

1,0241,024

1818

262,144262,144

33

88

1111

2,0482,048

1919

524,288524,288

44

1616

1212

4,0964,096

2020

1,048,5761,048,576

55

3232

1313

8,1928,192

2121

2,097,1522,097,152

66

6464

1414

16,38416,384

2222

4,194,3044,194,304

77

128128

1515

32,76832,768

2323

8,388,6088,388,608

Decimal and Binary Correspondence Table

  • This table illustrates the mapping between decimal (base 10) integers and their 4-bit binary (base 2) equivalents for values 00 through 1515:

Decimal (base 10)

Binary (base 2)

0000

00000000

0101

00010001

0202

00100010

0303

00110011

0404

01000100

0505

01010101

0606

01100110

0707

01110111

0808

10001000

0909

10011001

1010

10101010

1111

10111011

1212

11001100

1313

11011101

1414

11101110

1515

11111111

Conversion Methodologies for Decimal and Binary Systems

  • Binary to Decimal: The process of converting a binary number into its decimal equivalent by summing the products of each bit and its corresponding power of 22.

  • Decimal to Binary (First Approach): Initial methodology for converting base 10 integers into base 2 representation.

  • Decimal to Binary (Second Approach): An alternative methodology, often involving successive division by 22 and tracking the remainders to determine the binary string.

Advanced Base Conversions

  • Decimal to Other Bases: Generalized procedures for converting decimal numbers into any target base rr.

  • Other Bases to Decimal: Using the polynomial expansion of positional notation to find the decimal value of a number in an arbitrary base rr.

  • Intersystem Conversions (Octal, Hexadecimal, and Binary):

    • Octal and Hexadecimal to Binary: Techniques for direct conversion between these power-of-two bases without first converting to decimal.

    • Binary to Octal and Hexadecimal: Grouping binary digits (bits) into sets of three (for octal) or four (for hexadecimal) to simplify representation.

Handling Fractions and Radix Points

  • Numbers with Radix Point to Decimal: Converting fractional components in non-decimal bases into their decimal fraction equivalents.

  • Decimal Fractions to Binary: Specialized procedures (typically successive multiplication) to convert a decimal fraction into a binary representation.

  • Decimal Fractions to Octal: Procedures for converting decimal fractional parts into the octal (base 8) number system.