1 00:00:00,330 --> 00:00:06,030 Hello, my name is Typhoon and today we are embarking on a journey to unravel the captivating world 2 00:00:06,030 --> 00:00:07,830 of XOR logic. 3 00:00:07,860 --> 00:00:12,990 This is a concept that adds a touch too much to the realm of computers. 4 00:00:12,990 --> 00:00:23,220 So a picture, a real tickle gate that requires not one but two unique keys unlock its secrets. 5 00:00:23,520 --> 00:00:25,890 That's the essence of logic. 6 00:00:25,890 --> 00:00:33,300 So get ready to delve into the inner workings of this logic gate and discover its remarkable role in 7 00:00:33,300 --> 00:00:34,620 the world of computing. 8 00:00:35,270 --> 00:00:44,630 So imagine X or logic as a magical gatekeeper that guards a hidden treasure room. 9 00:00:44,630 --> 00:00:49,040 So this gate has two key holes. 10 00:00:50,190 --> 00:00:50,730 Right. 11 00:00:50,880 --> 00:00:55,590 So each here designed for a different key. 12 00:00:55,980 --> 00:00:57,450 So let's write it. 13 00:00:57,480 --> 00:01:00,210 This has the two key holes. 14 00:01:00,750 --> 00:01:01,200 Let's. 15 00:01:01,880 --> 00:01:07,410 In front color and as I said, each designed for a different key. 16 00:01:07,430 --> 00:01:10,670 So, for example, a purple key. 17 00:01:10,670 --> 00:01:20,450 This is the this represents the zero and the gold or actually blue key represents the one. 18 00:01:22,090 --> 00:01:29,350 So to open the gate, you must insert the purple key into one keyhole. 19 00:01:29,350 --> 00:01:31,660 And this blue key. 20 00:01:32,570 --> 00:01:37,300 Entered the other, though only when this unique combination is met. 21 00:01:38,290 --> 00:01:42,920 So will the gate swing open revealing treasure within? 22 00:01:43,000 --> 00:01:53,250 So if you try to insert two silver keys or two gold keys, the gate remains fairly fastly locked, sealing 23 00:01:53,440 --> 00:01:55,070 its riches. 24 00:01:55,090 --> 00:01:56,080 So. 25 00:01:56,920 --> 00:01:58,750 In the realm of computers. 26 00:01:59,240 --> 00:02:09,220 XOR logic acts as a digital detective that poses a specific question Are these two things different? 27 00:02:09,250 --> 00:02:16,420 If the answer is yes, then it signifies that the two things are indeed distinct. 28 00:02:16,630 --> 00:02:17,950 The answer is no. 29 00:02:17,950 --> 00:02:21,010 Then the two things are the same. 30 00:02:21,010 --> 00:02:29,920 So XOR logic empowers computers to make decisions based on whatever the inputs provided are mutually 31 00:02:29,920 --> 00:02:32,110 exclusive from each other. 32 00:02:32,110 --> 00:02:35,800 So imagine you have a pair of enhancing light switches. 33 00:02:35,890 --> 00:02:38,080 In this case, let's actually write it. 34 00:02:38,080 --> 00:02:42,610 The switch A and switch B. 35 00:02:44,510 --> 00:02:48,470 Each capable of illuminating a room here. 36 00:02:48,470 --> 00:02:50,570 Let's also draw the house here. 37 00:02:55,040 --> 00:03:01,280 So only if one of them enhancing light switches is on while the other is off. 38 00:03:01,280 --> 00:03:08,300 So if a switch A is shining brightly, in this case it is one. 39 00:03:11,770 --> 00:03:14,680 And switch P is in darkness. 40 00:03:14,710 --> 00:03:16,390 In this case, it's zero. 41 00:03:16,420 --> 00:03:19,930 Or switch A is dimmed zero. 42 00:03:20,050 --> 00:03:24,040 And switch B is glowing one. 43 00:03:25,210 --> 00:03:27,880 The master switch turns on. 44 00:03:28,060 --> 00:03:41,710 However, if both switch A and switch B, share the same state, for example, both sharing a one year. 45 00:03:42,970 --> 00:03:43,630 Or both. 46 00:03:43,630 --> 00:03:44,950 Sharing zeros. 47 00:03:44,980 --> 00:03:48,040 The master switch remains off. 48 00:03:48,040 --> 00:03:48,580 Right. 49 00:03:48,580 --> 00:03:52,090 So it will be off in this state. 50 00:03:52,090 --> 00:03:54,790 So if both of these are. 51 00:03:55,710 --> 00:03:57,450 Equal to same. 52 00:03:57,480 --> 00:04:01,080 The master switch remains off. 53 00:04:01,080 --> 00:04:05,460 So consider mystical treasure chest guarded by a potent spell. 54 00:04:05,490 --> 00:04:10,020 To unlock this chest, you require two remarkable crystals. 55 00:04:10,110 --> 00:04:10,650 Crystal. 56 00:04:10,650 --> 00:04:10,800 A. 57 00:04:10,830 --> 00:04:11,790 And crystal B. 58 00:04:11,820 --> 00:04:20,430 As you place these radiant crystals on their designated pedestals, the chest springs open only when 59 00:04:20,430 --> 00:04:24,000 a crystal, a immense, a luminous glow. 60 00:04:24,030 --> 00:04:31,230 In this case, the crystal A will mount one, and crystal B remains in its natural state. 61 00:04:31,260 --> 00:04:39,030 Zero or when a crystal A actually let's actually use different colors for this so or a crystal here 62 00:04:39,030 --> 00:04:41,070 one as I said the. 63 00:04:42,070 --> 00:04:49,600 Kristel a emits a luminous glow in this case one and Kristel B remains in its natural state. 64 00:04:49,630 --> 00:04:50,530 Zero. 65 00:04:50,800 --> 00:04:58,840 Or when a crystal A rests calmly like zero and crystal B radiates its brilliance. 66 00:04:59,020 --> 00:05:04,540 And in this case, our treasure box will be open. 67 00:05:04,540 --> 00:05:14,590 So, yes, if both crystals share the same radiance or lack of the chest remains secretly locked, safeguarding 68 00:05:14,590 --> 00:05:15,700 its content. 69 00:05:15,700 --> 00:05:18,130 So in this case, if this is the. 70 00:05:19,690 --> 00:05:23,830 One here, one 1 or 0 zero. 71 00:05:23,860 --> 00:05:30,130 Then our chest will be locked and will not open in this case. 72 00:05:30,130 --> 00:05:38,770 And and or Logic finds its applications in an array of computer operations, such as ensuring the accuracy 73 00:05:38,770 --> 00:05:45,340 of data transmission and fortifying digital security through the cryptography, just like the intricate 74 00:05:45,340 --> 00:05:50,290 dance of is needed to unlock our mystical gate. 75 00:05:50,320 --> 00:05:57,790 So the XOR logic ensures specific conditions are met before granting access to valuable data. 76 00:05:58,540 --> 00:05:59,200 Formation. 77 00:05:59,200 --> 00:06:03,760 So there you have it, a comprehensive exploration of XOR logic. 78 00:06:03,790 --> 00:06:09,480 This is a captivating concept that infuses a sense of mystery to the world of computing. 79 00:06:09,490 --> 00:06:17,000 So think of it as puzzle, requiring the perfect pair of keys to unlock a hidden treasure. 80 00:06:17,020 --> 00:06:24,460 As you continue to venture forth, remember that XOR logic enables computers to make decisions based 81 00:06:24,460 --> 00:06:28,150 on the exclusive nature of two inputs. 82 00:06:28,150 --> 00:06:36,220 So keep your curiosity alive as your journey deeper into the enigmatic realm of logic. 83 00:06:36,520 --> 00:06:38,800 The ever evolving landscape of. 84 00:06:39,960 --> 00:06:41,670 And I'm waiting you in next lecture.