Can you solve the computer virus riddle? - James Tanton

1,151,558 views ・ 2021-10-19

TED-Ed


वीडियो चलाने के लिए कृपया नीचे दिए गए अंग्रेजी उपशीर्षक पर डबल-क्लिक करें।

Translator: Shriya Sahu Reviewer: Samridh Aggarwal
00:06
Your antivirus squad is up against a particularly sadistic bit
0
6788
4208
आपका एंटीवायरस दस्ते के खिलाफ है एक विशेष रूप से दुखद बिट
00:10
of malicious code that’s hijacked your mainframe.
1
10996
3208
दुर्भावनापूर्ण कोड जिसने आपके मेनफ्रेम का अपहरण कर लिया है।
00:14
What you’ve learned from other infected systems— right before they went dark—
2
14579
4292
आपने अन्य संक्रमितों से क्या सीखा सिस्टम- अंधेरा होने से ठीक पहले-
00:18
is that it likes to toy with antivirus agents in a very peculiar way.
3
18871
5083
क्या यह एंटीवायरस के साथ खिलवाड़ करना
करना पसंद करता है
बहुत ही अजीबोगरीब तरीके से एजेंट।
00:24
It corrupts one of the 4 disks that run your mainframe,
4
24538
3625
यह 4 डिस्क में से एक को दूषित करता है जो आपका मेनफ्रेम चलाता है,
00:28
represented by lights showing which are on and which off.
5
28163
3625
रोशनी दिखाकर प्रतिनिधित्व किया कौन से चालू हैं और कौन से बंद।
00:32
Then it selects one member of the antivirus squad— this’ll be you—
6
32412
4500
फिर यह एक सदस्य का चयन करता है एंटीवायरस दस्ते की- यह आप होंगे-
00:36
and brings them into the mainframe.
7
36912
2167
और उन्हें मेनफ्रेम में लाता है।
00:39
It tells them which disk it corrupted,
8
39079
2375
यह उन्हें बताता है कि यह किस डिस्क को दूषित करता है,
00:41
allows the agent to switch a single disk on or off,
9
41454
4500
एजेंट को स्विच करने की अनुमति देता है एक एकल डिस्क चालू या बंद,
00:45
then immediately de-rezzes the agent.
10
45954
3083
तो तुरंत एजेंट डी-रेजेज।
00:49
Your squad can make an all-out attack to break into the mainframe
11
49579
3625
आपका दस्ता चौतरफा हमला कर सकता है मेनफ्रेम में तोड़ने के लिए
00:53
and destroy one disk before they’re wiped out.
12
53204
3167
और एक डिस्क को नष्ट करें इससे पहले कि उनका सफाया हो जाए।
00:56
If they destroy the corrupted one, the malware will be defeated.
13
56537
3584
यदि वे भ्रष्ट को नष्ट करते हैं, मैलवेयर पराजित हो जाएगा।
01:00
Any others, and the virus will erase the entire system.
14
60121
3708
कोई अन्य, और वायरस मिट जाएगा पूरी प्रणाली।
रोशनी ही दिखाई दे रही है मेनफ्रेम के भीतर,
01:04
The lights are only visible within the mainframe,
15
64413
2708
इसलिए जब तक आप वहां नहीं पहुंचेंगे तब तक आपको पता नहीं चलेगा जो,
01:07
so you won’t know until you get there which, if any, are on.
16
67121
4125
यदि कोई हो, चालू हैं।
01:11
How can you communicate, with your single action,
17
71621
3250
आप कैसे संवाद कर सकते हैं, आपकी एक ही क्रिया से,
01:14
which of the 4 disks has been corrupted?
18
74871
2583
4 में से कौन सा डिस्क भ्रष्ट हो गया है?
01:17
Pause here to figure it out for yourself. Answer in 3
19
77454
2709
इसे अपने लिए समझने के लिए यहां रुकें।
[3 . में उत्तर]
01:20
Answer in 2
20
80163
2500
[2 . में उत्तर]
01:22
Answer in 1
21
82663
2583
[1 . में उत्तर ]
01:25
The setting is a big clue for one solution.
22
85329
3250
सेटिंग एक बड़ा सुराग है एक समाधान के लिए।
01:28
Using binary code— the base two numbering system that only uses 1s and 0s—
23
88579
5667
बाइनरी कोड का उपयोग करना—
बाइनरी कोड का उपयोग करना— आधार दो नंबरिंग सिस्टम जो केवल 1s और 0s
01:34
we can represent each of the 4 disks with a 2-bit binary number
24
94538
4500
हम 4 डिस्क में से प्रत्येक का प्रतिनिधित्व कर सकते हैं
2-बिट बाइनरी नंबर के साथ
01:39
ranging from 00 for zero to 11 for three.
25
99038
4416
शून्य के लिए 00 से लेकर तीन के लिए 11.
01:44
What we’re looking for now is some sort of mathematical operation
26
104163
4041
अभी हम जो खोज रहे हैं वह किसी प्रकार का है गणितीय संचालन का
01:48
that can take the lit disks as input, and give the corrupted disk as an output.
27
108204
5709
जो जली हुई डिस्क को
इनपुट के रूप में ले सकता है, और दूषित डिस्क को आउटपुट के रूप में दें।
01:54
Let’s consider one possibility.
28
114496
1917
01:56
Say that the corrupted disk was this one,
29
116413
2708
कहो कि दूषित डिस्क यह थी,
01:59
and when you come in, no lights are on.
30
119121
2917
और जब आप अंदर आते हैं, कोई रोशनी नहीं होती है।
02:02
You could turn 11 on to indicate that disk.
31
122288
4000
आप 11 चालू कर सकते हैं उस डिस्क को इंगित करने के लिए।
02:06
Okay, what if you came in and 11 was already on?
32
126954
4000
ठीक है, अगर तुम अंदर आए तो क्या हुआ और 11 पहले से ही चालू था?
02:11
You have to switch one light.
33
131329
1875
आपको एक लाइट स्विच करनी होगी।
02:13
Which seems like the most innocuous to change?
34
133621
2875
जो सबसे अहानिकर लगता है को बदलने?
02:16
Probably 00, in that if you were to add 00 and 11,
35
136788
4916
शायद 00, उसमें अगर आपको 00 और 11 जोड़ना है,
02:21
you’d still get 11.
36
141704
1709
आपको अभी भी 11 मिलेंगे।
02:24
So maybe the key is to think of addition of binary numbers,
37
144288
4333
तो शायद कुंजी
अतिरिक्त के बारे में सोचना है बाइनरी नंबरों का,
02:28
with the sum of the lit disks communicating the corrupted disk number.
38
148621
4583
जली हुई डिस्क के योग के साथ दूषित डिस्क संख्या का संचार करना।
02:33
This works great, until we start with a different hypothetical.
39
153496
4000
यह बहुत अच्छा काम करता है, जब तक हम शुरू नहीं करते
एक अलग काल्पनिक के साथ। क्या होगा
02:37
What if 00 was the corrupted disk, and 01 and 10 were on?
40
157496
5542
अगर 00 दूषित डिस्क थी, और 01 और 10 चालू थे?
02:43
Here, the sum of the lit disks is 11.
41
163329
3459
यहाँ, जली हुई डिस्क का योग 11 है।
02:46
But we need to change this to a sum of 00 with the flip of one switch.
42
166788
5583
लेकिन हमें इसे एक योग में बदलने की जरूरत है एक स्विच के फ्लिप के साथ 00 का।
02:53
We have four options: turning switch 00 on gives us 11.
43
173163
4750
हमारे पास चार विकल्प हैं: स्विच 00 चालू करना हमें 11 देता है।
02:58
Turning 01 off takes us back to 10,
44
178121
3292
01 को बंद करने से हम वापस 10 पर पहुंच जाते हैं,
03:01
and turning 10 off gives 01.
45
181413
3750
और १० को बंद करने पर ०१ मिलता है।
03:05
None of those work.
46
185163
1791
उनमें से कोई भी काम नहीं करता है।
03:06
Turning switch 11 on gives us 110 by standard binary addition.
47
186954
5834
स्विच 11 को चालू करने पर हमें 110 मिलता है मानक बाइनरी जोड़ द्वारा।
03:12
But we don’t really want three digit numbers.
48
192788
2750
लेकिन हम वास्तव में नहीं चाहते तीन अंकों की संख्या।
03:15
So what if— to keep the result a two digit number—
49
195621
3542
तो क्या हुआ- परिणाम रखने के लिए दो अंकों की संख्या-
03:19
we break the rules a bit and let this sum equal 22.
50
199163
4458
हम नियमों को थोड़ा तोड़ते हैं और इस राशि को 22 के बराबर होने दें।
03:23
That’s not a binary number, but if we regard 2s as the same as 0s,
51
203829
4792
यह कोई बाइनरी नंबर नहीं है, लेकिन अगर हम 2s को 0s के समान मानते हैं,
03:28
that does indicate the correct disk.
52
208621
2625
जो सही डिस्क को इंगित करती है।
03:31
So this suggests a strategy:
53
211871
2375
तो यह एक रणनीति का सुझाव देता है:
03:34
look at the sum of all the lighted disks we see,
54
214246
3667
सभी प्रकाशित डिस्क का योग देखें हम देखते हैं,
03:37
regarding 2s as 0s.
55
217913
2375
2s के बारे में 0s के रूप में।
03:40
If it’s already the correct result, flip 00,
56
220288
3458
यदि यह पहले से ही सही परिणाम है, फ्लिप 00,
03:43
and if not, find the switch that will make the sum correct.
57
223746
3917
और यदि नहीं, तो उस स्विच को खोजें जो होगा राशि को सही करें।
03:48
You can see for yourself that any starting configuration
58
228079
3250
आप खुद देख सकते हैं कि कोई भी कॉन्फ़िगरेशन शुरू करना
03:51
can sum to any number from 00 to 11 with a flip of a switch.
59
231329
5334
00 से 11 . तक किसी भी संख्या का योग कर सकते हैं एक स्विच के फ्लिप के साथ।
03:56
The reason this works is related to a concept called parity.
60
236871
4417
यह काम करने का कारण संबंधित है समानता नामक एक अवधारणा के लिए।
04:01
Parity tells you whether a given value is even or odd.
61
241663
4208
समता आपको बताती है कि क्या दिया गया मान सम या विषम है।
04:06
In this case, the values whose parity we’re considering
62
246538
3375
इस मामले में, जिन मूल्यों का समता जिस पर हम विचार कर रहे हैं
04:09
are the number of 1s in each digit place of our binary sums.
63
249913
4875
प्रत्येक अंक के स्थान पर 1s की संख्या है हमारे बाइनरी रकम का।
04:14
And that’s why we can say that 2 and 0, both even numbers,
64
254996
4333
और इसलिए हम कह सकते हैं कि 2 और 0, दोनों सम संख्याएं,
04:19
can be treated as equivalents.
65
259329
2417
समकक्ष माना जा सकता है।
04:22
By adding or subtracting 00, 01, 10, or 11,
66
262329
5792
जोड़ने या घटाने से 00, 01, 10, या 11,
04:28
we can change the parity of either, both, or neither digit,
67
268121
4667
हम दोनों की समता बदल सकते हैं, दोनों, या न ही अंक,
04:32
and create the disk number we want.
68
272788
2625
और वह डिस्क नंबर बनाएं जो हम चाहते हैं।
04:36
What’s incredible about this solution is that it works for any mainframe
69
276121
4208
इस समाधान के बारे में अविश्वसनीय क्या है क्या यह किसी भी
04:40
whose disks are a power of two.
70
280329
2417
जिनकी डिस्क दो की शक्ति है।
04:43
With 64 you could turn each activated disk into a 6-bit binary number
71
283163
5625
64 के साथ आप प्रत्येक सक्रिय डिस्क को चालू कर सकते हैं
04:48
and sum the 1s in each column,
72
288788
2458
और प्रत्येक कॉलम में 1s का योग करें,
04:51
regarding any even sum as the same as 0 and any odd sum as 1.
73
291246
5958
0 . के समान किसी भी सम राशि के संबंध में और कोई विषम राशि 1 के रूप में।
04:57
1,048,576 disks would be daunting, but entirely doable.
74
297621
6958
1,048,576 डिस्क कठिन होगी, लेकिन पूरी तरह से करने योग्य।
05:05
Luckily, your mainframe is much smaller.
75
305038
2500
सौभाग्य से, आपका मेनफ्रेम बहुत छोटा है।
05:07
You make the valiant sacrifice and your team rushes in,
76
307538
3500
आप बहादुर बलिदान करते हैं और आपकी टीम दौड़ती है,
05:11
destroying the corruption and freeing the system.
77
311038
3125
भ्रष्टाचार को नष्ट करना और सिस्टम को मुक्त करना।
इस वेबसाइट के बारे में

यह साइट आपको YouTube वीडियो से परिचित कराएगी जो अंग्रेजी सीखने के लिए उपयोगी हैं। आप दुनिया भर के शीर्षस्थ शिक्षकों द्वारा पढ़ाए जाने वाले अंग्रेजी पाठ देखेंगे। वहां से वीडियो चलाने के लिए प्रत्येक वीडियो पृष्ठ पर प्रदर्शित अंग्रेजी उपशीर्षक पर डबल-क्लिक करें। उपशीर्षक वीडियो प्लेबैक के साथ सिंक में स्क्रॉल करते हैं। यदि आपकी कोई टिप्पणी या अनुरोध है, तो कृपया इस संपर्क फ़ॉर्म का उपयोग करके हमसे संपर्क करें।

https://forms.gle/WvT1wiN1qDtmnspy7