132k views
1 vote
If you wanted to search for emails containing the word advanced and prevent emails containing the word new from appearing in the output, which logic gate would you apply on the word new?

NAND

NOR

NOT

AND

XOR

User Mansueli
by
5.3k points

2 Answers

3 votes

Answer:

The answer is: NOT

User Midverse Engineer
by
5.6k points
3 votes

Answer: Should be NOT.

Explanation: NAND would make you get emails as long as they don't have both "new" and "advanced." NOR would make you only get emails that don't have "advanced" or "new.| AND would make you only get emails with both "new" and "advanced." XOR would make you get emails as it has either "new" or "advanced," but not if it has neither or both. So NOT new makes sense, because it'll return emails that don't have "new." Hope this helps.

User Federico Grandi
by
5.5k points