Time left

Question 1

Answer saved
Marked out of 6.00

Question text

Naj bo n2 in M(x1,,xn) n-vhodna majoritetna vrata. Izhod majoritetnih vrat je enak 1 natanko takrat, ko ima več kot polovica vhodnih spremenljivk vrednost 1. Ugotovite, kdaj M(x1,,xn) pripada naslednjim zaprtim razredom.

Let n2 and M(x1,,xn) an n-input majority gate. A majority gate outputs 1 if and only if more than half of its inputs equal 1. Determine when M(x1,,xn) belongs to the following closed classes.

T0   

T1   

S   

L   

M  


Kateri dvovhodni preklopni funkciji je enak M(x1,x2)?   

M(x1,x2) equals which 2-input logic function?

Question 2

Answer saved
Marked out of 6.00

Question text

Podana je pravilnostna tabela preklopne funkcije $f(x_1,x_2,x_3,x_4)$. The truth table of logic function $f(x_1,x_2,x_3,x_4)$ is given below.

$x_1$
$x_2$ $x_3$ $x_4$ $f(x_1, x_2,x_3,x_4)$
0 0 0 0 1
0 0 0 1 1
0 0 1 0 1
0 0 1 1
1
0 1 0 0 0
0 1 0 1 0
0 1 1 0 0
0 1 1 1 0
1 0 0 0 0
1 0 0 1 0
1 0 1 0 0
1 0 1 1 0
1 1 0 0 1
1 1 0 1 1
1 1 1 0 1
1 1 1 1 1


Linearizirajte funkcijo $f$ z metodo, ki smo jo spoznali na vajah, in označite vse pravilne odgovore. Linearize $f$ using the method from tutorial and select all correct answers.

Question 2 Answer
a0 = 1
a2 = 1
a3 = 0
a2 = 0
Funkcija f je linearna. / Function f is linear.
a1 = 1
a3 = 1
a4 = 0
a4 = 1
Funkcija f ni linearna. / Function f is not linear.
a0 = 0
a1 = 0