13.09.2020 Views

JoSS: Joy of Sharing Science No: 3

Pesticides are taking innocent lives! Elif Demir, Yasemin Yüksel Your brain actually listens to your gut feeling. Ceylin Gün Your calculator is just a bunch of electrical switches. Zanyar Oğurlu, Eda Toprak, Mehmet Ekin Doğan

Pesticides are taking innocent lives!
Elif Demir, Yasemin Yüksel
Your brain actually listens to your gut feeling.
Ceylin Gün
Your calculator is just a bunch of electrical switches.
Zanyar Oğurlu, Eda Toprak, Mehmet Ekin Doğan

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Your calculator is just a bunch of electrical switches

(Image taken from Pamela Fox, “Logic gates”)

Having one wire with electricity flowing through and one not means that the circuit

has the inputs 1 and 0, and since this is an AND operation, not having both wires in

the true state will output 0.

XOR (Exclusive OR) Gates:

The XOR gate output is at logic 1 when only one of its inputs is 1. If both wires

connected to the gate are on or off, the output will be logic 0. This logic function

and its truth table in a circuit can be seen from the figure below.

The AND and XOR gates are specifically useful in mathematical operations carried

out by the computers in binary.

How does your calculator add numbers?

Let’s take two binary numbers into account as an example: 0101 and 1101. In the

most basic terms, in the way we learned in the 1st grade, how do we add two

numbers?

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!