Graphs and Boolean Logic Flashcards

1
Q

Binary Search Tree

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Boolean Expression

A

Logical statement that can be evaluated to either true or false when given inputs

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

De Morgan’s Laws

A

Rule that states that:
(NOT A) AND (NOT B) == NOT (A OR B)
(NOT A) OR (NOTB) == NOT (A AND B)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Directed Graph

A

Graph where each edge has a start node and an end node

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

D-Type Flip-Flop

A

Logic circuit that delays input by one clock cycle

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Edge

A

Connection between points in a graph

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Full Adder

A

Logic circuit that adds two binary digits with a carry digit

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Graph

A

Set of nodes and the edges that connect them

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Half Adder

A

Logic circuit that adds two binary digits without a carry digit

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Karnaugh Map

A

Type of truth table where lines and blocks of 1s are highlighted to help simplify a Boolean expression

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Logical AND

A

Boolean operation that takes two inputs and returns true only if both inputs are true

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Logical NOT

A

Boolean operation that takes a single input and returns the opposite Boolean value

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Logical OR

A

Boolean operation that takes two inputs and returns true if either input is true

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Logical XOR

A

Boolean operation that takes two inputs and returns true only if the inputs are different

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Node

A

Point in a graph

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Tree

A

Undirected graph with no loops, where any two connected nodes are connected by a single edge

17
Q

Truth Table

A

Table that shows how the inputs of a Boolean expression relate to its outputs

18
Q

Undirected Graph

A

Graph where each edge can start or end at either of the nodes that it connects