Tugas 4 Muchlas 2103015057 Gerbang Logika
Konstanta Boolean dan Variabel. Aljabar Boolean hanya mempunyai dua nilai : 0 dan 1. Logika 0 dapat dikatakan : false, off, low, no, saklar terbuka. Logika 1 dapat dikatakan: true, on, high, yes, saklar tertutup. Tiga operasi logika dasar: OR, AND, dan NOT Tabel Kebenaran Sebuah tabel kebenaran menggambarkan hubungan antara input dan ouput sebuah rangkaian logika. Jumlah The number of entries corresponds to the number of inputs. For example a 2 input table would have 2 2 = 4 entries. A 3 input table would have 2 3 = 8 entries. Operasi OR dengan gerbang OR The Boolean expression for the OR operation is X = A + B This is read as “x equals A or B.” X = 1 when A = 1 or B = 1. OR Operation With OR Gates. The OR operation is similar to addition but when A = 1 and B = 1, the OR operation produces 1 + 1 = 1. In the Boolean expression In the Boolean expression x=1+1+1=1 We could say in English that x is true (1) when A is true (1) OR B is true (1) OR C is true (1). OR Opera...