Preview

An Introduction to Digital Logic

Powerful Essays
Open Document
Open Document
11822 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
An Introduction to Digital Logic
An Introduction to Digital Logic

Up until now the labs have dealt with electricity in its analog form where a quantity is described by the amount of voltage, or current, or charge... expressed as a real number. However a large proportion of electronic equipment, including computers, uses digital electronics where the quantities (usually voltage) are described by two states; on and off. These two states can also be represented by true and false, 1 and 0, and in most physical systems are represented by the voltages 5V and 0V, or something close to that. While the restriction to two states seems limiting it makes many things easier because problems due to noise are minimized. It is generally very easy to reliably distinguish between logic 1 or logic 0.
Since many quantities cannot be represented by two states, more than one binary digit can be used to represent a number. For example the number 2510 (twenty five base 10) can be represented by the binary number 110012. It is easy to convert back and forth from binary to decimal by remembering that each digit in a binary number simply corresponds to a power of 2, as every digit in a decimal number corresponds to a power of 10. Using the previous example: 101 | | 100 | | 24 | | 23 | | 22 | | 21 | | 20 | (10) | | (1) | | (16) | | (8) | | (4) | | (2) | | (1) | 2 | | 5 | = | 1 | | 1 | | 0 | | 0 | | 1 | 2*10 | + | 5*1 | = | 1*16 | + | 1*8 | + | 0*4 | + | 0*2 | + | 1*1 |
In general an n digit binary number can represent numbers from 0 to 2n-1. For instance a byte is 8 bits and can represent numbers from 0 to 255 (28-1). Combinatorial Logic
Another advantage of digital electronics is the ability to express signals in terms of logic equations using standard terms from logic: and, or, and not. These functions can be represented by truth tables as shown below with A and B as inputs and C as output. and | | or | | not | A | B | C | | A | B | C | | A | C | 0 | 0 | 0 | | 0 | 0 | 0 | |

You May Also Find These Documents Helpful

  • Satisfactory Essays

    NT1210 Lab 1

    • 319 Words
    • 4 Pages

    4. The leading Zeros would make it difficult to build a decimal to binary conversion table in excel. Excel doesn’t see numbers with leading 0s as real numbers.…

    • 319 Words
    • 4 Pages
    Satisfactory Essays
  • Satisfactory Essays

    NT1210 Week 1 Labs 1

    • 3680 Words
    • 20 Pages

    Using the binary converter document, create a decimal conversion for the binary value 101111 2.…

    • 3680 Words
    • 20 Pages
    Satisfactory Essays
  • Good Essays

    Pt1420 Unit 5 Study Guide

    • 2789 Words
    • 12 Pages

    2. Convert the number obtained in decimal into binary dividing the number by 2 until the quotient is zero.…

    • 2789 Words
    • 12 Pages
    Good Essays
  • Satisfactory Essays

    10. The significant digits of 0012340 are _______. 11. The bit pattern 1101 Excess Number converted value is ________.…

    • 4533 Words
    • 19 Pages
    Satisfactory Essays
  • Satisfactory Essays

    2.What number does a bit that is turned on represent? What number does a bit that is turned off represent? On is 1 and Off is 2…

    • 286 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    1) Numbers can be represented in binary (using 2 symbols 0 and 1) and hexadecimal ( 16 symbols…

    • 480 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    2640 U3 A1

    • 292 Words
    • 2 Pages

    Be sure to show your work, meaning your steps to convert binary to decimal, etc.…

    • 292 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    The difference is between signal circuits and power circuits. Signal circuits operate at extremely low current levels and use digital logic voltage levels. Power circuits on the other hand require larger amounts of current to operate electrical devices such as motors, heating units…

    • 315 Words
    • 2 Pages
    Satisfactory Essays
  • Better Essays

    Nt1310 Unit 1 Assignment

    • 1994 Words
    • 8 Pages

    * The binary numbering system plays a central role in how information of all kinds is stored on the computer. Understanding binary can lift a lot of the mysteries from computers because at a fundamental level they're really just machines for flipping binary digits on and off. There are several activities on binary numbers in this document, all simple enough that they can be used to teach the binary system to anyone who can count! Generally children learn the binary system very quickly using this approach, but we find that many adults are also excited when they finally understand what bits…

    • 1994 Words
    • 8 Pages
    Better Essays
  • Powerful Essays

    Pt1420 Unit 1 Assignment 2

    • 1305 Words
    • 6 Pages

    2. What number does a bit that is turned on represent? What number does a bit that is turned off represent?…

    • 1305 Words
    • 6 Pages
    Powerful Essays
  • Satisfactory Essays

    Using a system of 1's and 0's ______________ is the most common way of encoding data.…

    • 932 Words
    • 4 Pages
    Satisfactory Essays
  • Satisfactory Essays

    NT1110

    • 315 Words
    • 2 Pages

    The second numbering system that computers use is binary systems. Unlike the decimal system, there are only two numbers used in binary systems. One of these numbers is zero that represents false and off in computer, math, and measurement. The other number in the binary system is one that represents true and on for computer math. Binary numbers are sometimes referred to as base 2.…

    • 315 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    IS3120 Unit 3

    • 650 Words
    • 2 Pages

    computer can transmit data in 1's and 0's on and off also called digital or binary form.…

    • 650 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    it320 assignment 1-3

    • 1779 Words
    • 8 Pages

    7. A user has opened a calculator application, typed the numbers 123456789, and then done some math problem using this number. Which of the following determines, in part, what bits the computer (D. the binary equivalent of decimal 123456789)…

    • 1779 Words
    • 8 Pages
    Good Essays
  • Good Essays

    Computers do not use these alphanumeric symbols to store information. Computers use binary to store all information...remember? In Converting Decimal Numbers Into Binary, you saw how binary was converted into numbers. Just like that conversion process, there are agreed-upon conventions for how to convert from binary -> alphanumeric and from alphanumeric -> binary. What are these conventions?…

    • 401 Words
    • 2 Pages
    Good Essays