Solving Boolean Logic Expressions with And, Or and Not Gates

  • Thread starter Thread starter intellect
  • Start date Start date
  • Tags Tags
    Logic Logic gates
Click For Summary
The discussion revolves around identifying which of three boolean expressions involving two variables, A and B, are identical in their outputs across all combinations of True and False values. The expressions are: 1. (A and (not B)) or (B and (not A)) 2. (A and (not B)) and (B and (not A)) 3. (A or B) and (not (A and B))Participants suggest using truth tables to compare the outputs of the expressions, as this method clearly shows which expressions yield the same results. There is also mention of using boolean algebra to simplify the expressions for comparison. The original poster expresses confusion with using a simulator due to limitations in available gates, but ultimately finds clarity through the suggestions provided. The conversation emphasizes the importance of understanding boolean logic and the utility of truth tables in resolving such problems.
intellect
Messages
9
Reaction score
0
The three equations below represent three different logic expressions using and, or and not gates of two boolean variables A and B. A boolean variable can take only one of two possible values: True or False.

Which of the two expressions are identical, meaning that for any combination of A and B they are both True or both False.

Expression 1: (A and (not B) ) or ( B and (not A))
Expression 2: (A and (not B)) and ( B and ( not A ))
Expression 3: (A or B ) and ( not ((A and B ))

In your answer explain how you figure out which expression is different (in terms of its output given the same combination of A, B and C) from the other two.


I tried to use the simulator to construct these, but since we don't have any combination gates on our program (NOR, NAND, etc.), I'm having a lot of trouble with it. We only have the AND, OR, and NOT gates to work with. Could someone please help me? I am really confused right now. Thank you.
 
Technology news on Phys.org
Homework questions need to be in this forum:

Science Education > Homework & Coursework Questions > Engineering, Comp Sci, & Technology

Expect it to be moved soon.

That aside, you could just construct truth tables and see which end up the same.

Or are you supposed to use boolean algebra to turn one of them into another?
 
I actually just figured this one out. Thank you for the pointer, though!
 
I tried a web search "the loss of programming ", and found an article saying that all aspects of writing, developing, and testing software programs will one day all be handled through artificial intelligence. One must wonder then, who is responsible. WHO is responsible for any problems, bugs, deficiencies, or whatever malfunctions which the programs make their users endure? Things may work wrong however the "wrong" happens. AI needs to fix the problems for the users. Any way to...

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
Replies
8
Views
12K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
Replies
235
Views
14K
  • · Replies 5 ·
Replies
5
Views
3K