Graphs and Boolean Logic Flashcards
Binary Search Tree
Tree where each node has at most two branches, and the value of each node is greater than its left child and less than its right child
Boolean Expression
Logical statement that can be evaluated to either true or false when given inputs
De Morgan’s Laws
Rule that states that:
(NOT A) AND (NOT B) == NOT (A OR B)
(NOT A) OR (NOTB) == NOT (A AND B)
Directed Graph
Graph where each edge has a start node and an end node
D-Type Flip-Flop
Logic circuit that delays input by one clock cycle
Edge
Connection between points in a graph
Full Adder
Logic circuit that adds two binary digits with a carry digit
Graph
Set of nodes and the edges that connect them
Half Adder
Logic circuit that adds two binary digits without a carry digit
Karnaugh Map
Type of truth table where lines and blocks of 1s are highlighted to help simplify a Boolean expression
Logical AND
Boolean operation that takes two inputs and returns true only if both inputs are true
Logical NOT
Boolean operation that takes a single input and returns the opposite Boolean value
Logical OR
Boolean operation that takes two inputs and returns true if either input is true
Logical XOR
Boolean operation that takes two inputs and returns true only if the inputs are different
Node
Point in a graph