1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
olchik [2.2K]
3 years ago
15

Write a logical expression using only and, or and not that is equivalent to the Exclusive NOR (XNOR) gate on 2 inputs, called in

1, in2: If both inputs are True or both inputs are False (i.e. inputs have same value), then your expression should evaluate to True. Otherwise your expression should evaluate to False.
Computers and Technology
1 answer:
denis-greek [22]3 years ago
5 0

Answer:

in1 = int(input("Enter value one: "))

in2 = int(input("Enter value two: "))

print(in1,type(in1), in2, type(in2))

if (in1 <=0 and in2 <=0) or (not in1 <=0 and not in2<=0):

   print( True)

else:

   print( False)

Explanation:

The if statement of the python source code is used to implement an Exclusive-NOR logic gate that gives a true or high value if both inputs are either true or false.

You might be interested in
Can someone please help me with drawing a state transition table for the attached state diagram?
ankoles [38]

Answer:

see below diagrams.

You could extend that by defining two outputs:

- Lock open/closed indicator

- Error indicator

Then all you have to do is design a circuit...

8 0
2 years ago
Pls help!!!!! I need these questions
g100num [7]

Answer:

online identity for the first one and none of the above for the second one:)

8 0
3 years ago
Read 2 more answers
Paul wants to store addresses and phone numbers for clients. Paul wants to use this information to send form letters. Paul shoul
dusya [7]

Answer:

Spreadsheet or database depending on how he's setting it up and what tools he's using.

The question makes it sound like Paul wants to store some arbitrary data and does not have any particular tool set up for it, so spreadsheet is probably the "correct" answer.

A database would be used more by developers to build a system that can be used to store such data (e.g. back end on a web site that takes the data).

5 0
3 years ago
This loop is a good choice when you know how many times you want the loop to iterate in advance of entering the loop.
Papessa [141]

Answer:

This loop is a good choice when you know how many times you want the loop to iterate in advance of entering the loop.: for - 3.

4 0
4 years ago
Read 2 more answers
Discuss the effets of various forms of technology on international business. What role does the Internet play?
vivado [14]

Answer:

Explanation:

Before the internet was the industrial revolution, but nowadays the information and communication is so easy, the internet has influenced the entire world, when we're talking about international business has expedited negotiations and agreements, for example, via email we can send everything about agreements between two companies and even talk in real time with some application or video calls, is not necessary travel hundreds of kilometers, in addition the cloud computing is a way to improve a company on the internet.

4 0
3 years ago
Other questions:
  • Elsa has collated information for a meeting using Excel. Due to certain developments, some of the data in her worksheet is now r
    6·1 answer
  • If a given router can connect to at most k networks, how many routers, r, are required to connect n networks? write an equation
    7·1 answer
  • You have a large company, and it is important to your business that your employees' work is backed up regularly. Which network w
    5·1 answer
  • What is the protocol developed for the wireless network communications? explain?
    8·1 answer
  • Mk chưa hiểu nên các bạn giúp mk vs
    14·1 answer
  • What color and hat do you choose in Among Us
    15·1 answer
  • Create a new Java class called AverageWeight. Create two arrays: an array to hold 3 different names and an array to hold their w
    13·1 answer
  • ¿Que es un problema para ti?
    7·1 answer
  • What game is a great example of a story unfolding as the levels increase where the player learns more about the plight of the pr
    13·2 answers
  • (50 points) {brainliest}
    13·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!