📜  门| GATE-CS-2015(Set 3)|第54章

📅  最后修改于: 2021-07-02 15:54:00             🧑  作者: Mango

给定函数F = P’+ QR,其中F是三个布尔变量P,Q和R中的函数,并且P’=!P,请考虑以下语句。

S1: F = Σ (4, 5, 6)
  S2: F = Σ (0, 1, 2, 3, 7)
  S3: F = Π (4, 5, 6)
  S4: F = Π (0, 1, 2, 3, 7) 

以下内容哪些是对的?
(A) S1-False,S2-True,S3-True,S4-False
(B) S1-True,S2-False,S3-False,S4-True
(C) S1-False,S2-False,S3-True,S4-True
(D) S1-True,S2-True,S3-False,S4-False答案: (A)
说明:绘制F = P` + QR的K图后,我们可以得出S2和S3为TRUE。

替代说明:

P Q R = (!P + QR)

0 => 0 0 0 => 1+0.0 =1 =>Σ

1 => 0 0 1 => 1+0.1 =1 =>Σ

2 => 0 1 0 => 1+1.0 =1 =>Σ

3 => 0 1 1 => 1+1.1 =1 =>Σ

4 => 1 0 0 => 0+0.0=0 =>Π

5 => 1 0 1 => 0+0.1=0 =>Π

6 => 1 1 0 => 0+1.0=0 =>Π

7 => 1 1 1 => 0+1.1=1 =>Σ

as sigma means 1 and pi means 0
therefore Σ = (0,1,2,3,7)
Π = (4,5,6)

这个问题的测验