英语与计算机测试,计算机英语:“与”函数

The AND function can be illustrated by the fol lowing analogy. The members of group A are Bob, Charley, and Dick. Note that the names in this group combined by the conjunction“and”.That means group A equals the presence of Bob and Charley and Dick. This may be symbolized as

A=B•C•D

A is true (group A is present) when B istrue(Bob is present),AND C is true (Charley is present).AND D is true (Dick is present). A is not trueif anv one (or more) of the members are absent.

b976613b95419b172b344605673327b6.gif

The circuit in Figure 6-2 can be used to producethe AND function of the above example. The lightindicates that group A is present only when all mcm-bers of the group are present. A logic circuit produc-ing the AND function is called an AND gate and issymbolized in Figure 6-3.

be0b6f8f5360671a0ac235ff02cf7212.gif

Figure 6-4(a) shows the logic symbol for a twoinput AND gate. The function (A-B) is producedwhen A is true AND B is true. In order to show all ofthe conditions that may exist at the input and outputof a logic gate, truth tables are used. Because thereare two inputs and each input has two possible states(true and false),the number of possible conditions at, I,Ile nput would be 2 raised to the second power (22),or 4.The truth table for a two- input AND gate isshown in Figure 6-4(b) Note that condition 4 is theanly one in which all of the inputs are true so that theAND function is produced and a true output appears。

8f4f1c3af94688ec71a84bcf265cb3a3.gif

AND gates may have two or more inputs.Figure0-5 shows a three-input AND gate and its truth tableOncs(I)and zcros(O) are used for the alucs of theN ariables.Because three variables are used. eight:onditions exist(23=8).Condition 8 is the onk onethat will produce a true output(I)because all of theinput variables are true(equal to I).

论坛精华帖

21/212>

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值