Alterna · учебный материал

16 functions 2 variables

All 16 boulder functions from two variables: truth tables, classification, connection to NAND/NOR, interactive designer.

Что в этом материале

Содержание и основные понятия

By table of contents
Chapter 29 Page 29.3
16 functions 2 variables
All function beads from A and B · classification · tables · NAND · NOOR · XOR
Exactly 16 is no more and no less. For two variables A and B, it's possible to exactly 24 = 16 different boulder functions.
GEF
PIF
EEG No. 2
He's got a little bit of depth.
Why 16?
Two variables A and B give four sets of values: (0.0), (0.1, (1.0), (1.1). For each set, the function can return 0 or 1 means only 24 =
16
options.
01
Where the number 16 comes from
Count
The truth table of the two variables has
4 lines
(by number of sets of A, B values).
Each function is a specific set of values in the result column: 0 or 1 for each line.
Number of such sets: 2 x 2 x 2, 2 =
2⁴ = 16
.
Bit of a Bit Show
Each function is convenient to describe the number F0-F15, where bits (right to left) are the function values on strings (0.0), (0.1), (1.0), (1.1).
F0 = 0000 (всегда 0)
F1 = 0001 (A ∧ B)
F6 = 0110 (A ⊕ B)
F7 = 0111 (A ∨ B)
F9 = 1001 (A ↔ B)
F14 = 1110 (A | B = NAND)
F15 = 1111 (всегда 1)
02
All 16 functions — press for details
03
Summary Table of Truth
📊
Table of all 16 functions from A and B
The values are 1 (orange). The function number = the decimal value of the column (downward as bits).
04
Calculator: calculate function
🧮
Ask A, B -- get all 16 values.
A =
B =
🎯
Mini-test: 5 questions
XP: 0 / 100
🧩
16 functions 2 variables
5 questions · 20 XP for each correct

Structural map of textbooks