Preview

Boolean Functions

Satisfactory Essays
Open Document
Open Document
1330 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Boolean Functions
Lecture 2 Boolean Functions

Lecture 2
Basic Boolean functions, logic gates and
Karnaugh maps

ITP3902 Discrete Mathematics & Statistics

Page 1

Lecture 2 Boolean Functions

Logic gates
• Logic gates are digital electronic circuits in which there are only two possible states at any point, such as
• Open or close;
• High voltage or low voltage
• A certain signal is present or absent, etc.
• The two possible states are referred to as 1 or 0.
• The two states can be used to represent logic values. We use
1 to represent T(rue) and 0 to represent F(alse).
• The two states can also be used to represent one binary digit
(bit).

ITP3902 Discrete Mathematics & Statistics

Page 2

Lecture 2 Boolean Functions

Logic gates: OR gates
• An OR gate accepts two inputs and produce an output according to the following truth table.
Input

Output

A

B

A+B

0

0

0

0

1

1

1

0

1

1

1

1

• The electronic circuit symbol is
• The Boolean symbol is “+”, i.e. Q = A + B.
ITP3902 Discrete Mathematics & Statistics

Page 3

Lecture 2 Boolean Functions

Logic gates: AND gates
• An AND gate accepts two inputs and produce an output according to the following truth table.
Input

Output

A

B

AB

0

0

0

0

1

0

1

0

0

1

1

1

• The electronic circuit symbol is
• The Boolean symbol is “”, i.e. Q = AB
ITP3902 Discrete Mathematics & Statistics

Page 4

Lecture 2 Boolean Functions

Logic gates: NOT gates
•• A NOT gate or an inverter has only one input and produce an output according to the following truth table.
Input

Output

A
0

1

1

0

• The electronic circuit symbol is
• The Boolean symbol is a bar over the symbol, i.e. Q =
ITP3902 Discrete Mathematics & Statistics

Page 5

Lecture 2 Boolean Functions

Boolean Algebra and Functions
• The AND, OR and NOT functions make up a complete set to define a two valued Boolean Algebraic system.
• A binary variable is one that can only take the values 0 or 1.
• A Boolean function is an expression formed by binary variables, the

You May Also Find These Documents Helpful

  • Good Essays

    Give the name of one qualitative variable and one quantitative variable from the data set. Note: Your dataset may not have both types (if it does not, please still choose two variables and explain why each are either quantitative or qualitative – the key here is that you understand and can note the difference.)…

    • 332 Words
    • 2 Pages
    Good 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
  • Powerful Essays

    Bus615 Midterm

    • 951 Words
    • 4 Pages

    2. A variable is a business intelligence characteristic that stands for a value that cannot change over time.…

    • 951 Words
    • 4 Pages
    Powerful 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
  • Good Essays

    Answer: Numerical; discrete variables because the answer represent quantities. The numerical values that from a counting process.…

    • 885 Words
    • 4 Pages
    Good Essays
  • Satisfactory Essays

    The variable can be more than one number.. as long as the statement is true…

    • 351 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Unit 5 PT1420

    • 959 Words
    • 7 Pages

    The AND operator takes two Boolean expressions as operands and creates a compound Boolean expression that is True only when both sub-expressions are true.…

    • 959 Words
    • 7 Pages
    Good 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
  • Satisfactory Essays

    Mat 540 Quiz 5

    • 1011 Words
    • 5 Pages

    If we are solving a 0-1 integer programming problem, the constraint x1 ≤ x2 is a conditional constraint.…

    • 1011 Words
    • 5 Pages
    Satisfactory Essays
  • Powerful Essays

    6. A variable is a business intelligence characteristic that stands for a value that cannot change over time.…

    • 28627 Words
    • 115 Pages
    Powerful Essays
  • Satisfactory Essays

    Dependent Variable- a dependent variable is a variable is a variable that in the practical measures the experiment, e.g. time, space, length etc. something that you need to find out in the practical what you are dependent on for its success.…

    • 461 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Function Discovery

    • 360 Words
    • 2 Pages

    Function Discovery Quick Reference Sheet by Maxwell Cohen Table of functions used in ENGR 132 Type of equations General form…

    • 360 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    History of Number One

    • 2633 Words
    • 11 Pages

    1 (one; /ˈwʌn/ or UK /ˈwɒn/) is a number, a numeral, and the name of the glyph representing that number. It represents a single entity, the unit ofcounting or measurement. For example, a line segment of "unit length" is a line segment of length 1.…

    • 2633 Words
    • 11 Pages
    Powerful Essays
  • Good Essays

    Boolean Rationale

    • 346 Words
    • 2 Pages

    ave you ever considered how a PC can accomplish something like adjust a check book, play chess , or spell-check? These are things that, only a couple of decades prior, no one but people could do. Presently PCs do them without any difficulty for them it is the least complex thing to do. As they perform it in a seconds. The principal thing you have to comprehend is something many refer to as Boolean rationale. Boolean rationale, initially created by George Boole in the mid 1800s, permits many sudden things to be mapped into bits and bytes. The considerable thing about Boolean rationale is that, once you get the hang of things you will clearly understand of how it works. What we consider in our everyday life includes discovering answer to two…

    • 346 Words
    • 2 Pages
    Good Essays
  • Good Essays

    part of the regression model. If a given categorical independent variable has two categories, then you need only one dummy variable to represent the two categories.…

    • 534 Words
    • 3 Pages
    Good Essays