Question: You would see the first case presented with inputs Feeling Hungry, Got Some Money and output Buy some food. If you have chosen an OR

You would see the first case presented with inputs "Feeling Hungry", "Got Some Money" and output "Buy some food". If you have chosen an OR gate, it would produce the following 4 possible logical sentences being displayed in "What it actually means" panel when you vary the input values.
Group A (OR gate)
i) Not Hungry, Not carrying money ==> Do not buy food
ii) Not Hungry, carrying money ==> Do buy food
iii) Hungry, Not carrying money ==>
iv) Hungry, carrying money ==>
Replace the OR gate with an AND gate. The 4 possible logical sentences will now be when you vary the input values:
Group B (AND gate)
i) Not Hungry, Not carrying money ==> Do not buy food
ii) Not Hungry, carrying money ==>
iii) Hungry, Not carrying money ==>
iv) Hungry, carrying money ==>
Refer to the logical sentences produced by an OR and AND gate in Group A and B respectively. Choose the group that has ALL logical sentences which your team agrees with. Explain your choice.
You would see the first case presented with

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!