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
How is peace circulated?​
Agata [3.3K]

Answer:

Peace is when people are able to resolve their conflicts without violence and can work together to improve the quality of their lives. 

6 0
3 years ago
Read 2 more answers
Data is removed at the back of the queue.a) trueb) false
alexdok [17]

Answer:

true

Explanation:

4 0
3 years ago
Which of the following can be used to determine how much traffic a website is getting?
Bumek [7]
Analytics can be used to determine the amount traffic a website is getting. The correct option among all the options that are given in the question is the second option. Web analytics is used to determine several important information’s about a website. This feature can also be used to determine the region from which the maximum and the minimum traffic is arriving. Based on the information’s received from analytics, the website owner can take steps to improve the amount of traffic that is coming to the website.



6 0
2 years ago
A student has a ten-year-old desktop computer that she only uses for word processing, but she would like to start using it to pl
wariber [46]

Answer:

She should buy a new one or buy a Gaming PC to upgrade the setup.

Explanation:

6 0
3 years ago
Which failure or flaw in a computer system causes an undesired outcome?
PIT_PIT [208]

Typical System that is what cause the failure

4 0
3 years ago
Other questions:
  • A client reports the client has been experiencing increased stress at work. The client has been managing the stress by drinking
    5·1 answer
  • A technician wants to create a new partition on a new additional hard drive. what tool should be used?
    15·1 answer
  • A design tool helps you plan, evaluate, and explain your ideas to create a product. Some examples of design tools are outlines,
    10·2 answers
  • The most common solution to supply chain uncertainties is to build inventories or __________ as insurance.
    6·1 answer
  • Which type of password would be considered secure?
    15·1 answer
  • Who initially developed what is now known as the internet?
    5·1 answer
  • What option for deploying software to users provides a link to install an application within Control Panel's Programs and Featur
    6·1 answer
  • Tribology is a branch of physics concerned with friction in mechanical motion. Knowledge of tribology would be useful working wi
    14·1 answer
  • Match the elements used in web searches to their functions.
    12·1 answer
  • The sequence of Figures shows a pattern. if the pattern repeats, how many triangles will the figure 5 have ?​
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!