0:00:00.320,0:00:00.860 [whoosh] 0:00:00.860,0:00:01.380 [ding] 0:00:01.380,0:00:08.440 [musique] 0:00:08.440,0:00:11.780 One of the coolest things I've discovered about circuits is 0:00:11.780,0:00:18.440 circuitry can be an art form like if I have a creative idea, I can get that creative idea out using circuits. 0:00:18.440,0:00:20.300 [musique] 0:00:20.300,0:00:24.700 So if you have ideas, you can use technology to make those ideas come to life. 0:00:24.700,0:00:26.920 [electric guitar music] 0:00:26.920,0:00:32.340 Every input or output of a computer is effectively a type of information, 0:00:32.340,0:00:37.240 which can be represented by on or off electrical signals 0:00:37.240,0:00:39.240 or ones and zeros. 0:00:39.240,0:00:46.360 In order to process the information that comes in as input, and to make the information that is output, 0:00:46.360,0:00:50.560 a computer needs to modify and combine the input signals. 0:00:50.560,0:00:58.520 To do this, a computer uses millions of teeny electronic components, which come together to form circuits. 0:00:58.520,0:01:03.120 [musique] 0:01:03.120,0:01:09.520 Let's take a closer look at how circuits can modify and process information that's represented in ones and zeros. 0:01:09.520,0:01:12.280 This is an incredibly simple circuit. 0:01:12.280,0:01:15.820 It takes an electrical signal, on or off, and it flips it. 0:01:15.820,0:01:20.580 So if the signal you give it is a 1, the circuit gives you a 0, 0:01:20.580,0:01:23.620 and if you give the circuit a 0, it gives you a 1. 0:01:23.620,0:01:30.100 The signal that goes in is not the same as the signal that comes out, and so we call this circuit not. 0:01:30.100,0:01:36.580 More complicated circuits can take multiple signals and combine them, and give you a different result. 0:01:36.580,0:01:43.860 In this example, a circuit will take two electrical signals, now each one might be a 1 or a 0. 0:01:43.860,0:01:49.580 If either of the signals coming in is a 0, then the result is also a 0. 0:01:49.580,0:01:52.780 This circuit will only give you a 1, 0:01:52.780,0:02:01.220 if the first signal and the second signal are both a 1, and so we call the circuit and. 0:02:01.220,0:02:06.600 There are many small circuits like this that perform simple logical calculations. 0:02:06.600,0:02:13.760 By connecting these circuits together, we can make more complex circuits that perform more complex calculations. 0:02:13.760,0:02:19.900 For example, you can make a circuit that adds 2 bits together called an adder. 0:02:19.900,0:02:27.420 This circuit takes in 2 individual bits, each one a 1 or a 0, and adds them together to calculate the sum. 0:02:27.420,0:02:30.380 The sum can be 0 plus 0 equals 0, 0:02:30.380,0:02:34.340 0 plus 1 equals 1, or 1 plus 1 equals 2. 0:02:34.360,0:02:40.080 You need two wires coming out because it can take up to two binary digits to represent the sum. 0:02:40.080,0:02:44.500 Once you have a single adder for adding two bits of information, 0:02:44.500,0:02:51.200 you can put together multiples of these adder circuits side-by-side to add together much larger numbers. 0:02:51.200,0:02:57.180 For example, here's how an 8-bit adder adds the numbers 25 and 50. 0:02:57.180,0:03:03.740 Each number is represented using 8 bits, resulting in 16 different electrical signals that go into the circuit. 0:03:03.740,0:03:04.920 [clicking sounds] 0:03:04.920,0:03:10.760 The circuit for an 8-bit adder has lots of little adders inside of it, which together, calculate the sum. 0:03:10.760,0:03:12.500 [musique] 0:03:12.500,0:03:17.340 Different electrical circuits can perform other simple calculations like subtraction or multiplication. 0:03:17.340,0:03:24.720 In fact, all the information processing your computer does is just lots and lots of small simple operations put together. 0:03:24.720,0:03:30.520 Each individual operation done by a computer is so, so simple it could be done by a human, 0:03:30.520,0:03:34.100 but these circuits inside computers are way way faster. 0:03:34.100,0:03:34.820 [whoosh] 0:03:34.820,0:03:38.660 Back in the day, these circuits were big and clunky, 0:03:38.660,0:03:45.100 and an 8-bit adder could be as big as a fridge, and it would take minutes for them to perform a simple calculation. 0:03:45.100,0:03:50.480 Today, computer circuits are microscopic in size, and way way faster. 0:03:50.580,0:03:53.200 Why are smaller computers also faster? 0:03:53.200,0:03:58.160 Well, because the smaller the circuit is, the less distance the electrical signal has to go. 0:03:58.160,0:04:04.460 Electricity moves at just about the speed of light, which is why modern circuits can perform billions of calculations per second. 0:04:04.460,0:04:05.320 [musique] 0:04:05.320,0:04:10.720 So whether you're playing a game, recording a video, or exploring the cosmos, 0:04:10.720,0:04:11.860 [musique] 0:04:11.860,0:04:18.620 everything you could possibly do with technology requires lots of information to be processed extremely quickly. 0:04:18.660,0:04:24.900 Underneath all this complexity is just lots of teeny little circuits that turn binary signals 0:04:24.900,0:04:27.720 into websites, videos, music, and games. 0:04:27.720,0:04:31.960 These circuits can even help us decode DNA to diagnose and cure disease. 0:04:31.960,0:04:34.920 So what would you like to do with all these circuits? 0:04:34.920,0:04:41.920 [musique]