Premium

Riddle: can you solve the computer virus riddle?

This lesson challenges you to solve a complex computer virus riddle using logic and binary code. It also provides comprehensive exercises on key vocabulary and conditional sentences (Type 1 & 2).

B2 Technology Grammar Practical English Video
Riddle: can you solve the computer virus riddle?
Photo by Michael Geiger / Unsplash

Summary

This ESL lesson plan is designed for B2-level English students who enjoy a challenge and want to practice their problem-solving skills in English. Students will engage with a fascinating computer virus riddle presented in a video, focusing on understanding complex instructions and technical vocabulary.

This lesson helps intermediate students develop their listening comprehension, expand their technical vocabulary related to computing and cybersecurity, and practice using conditional sentences to discuss hypothetical situations and logical outcomes. Activities include a warm-up discussion, a video listening exercise with gap-fill, vocabulary matching, and various grammar practices. The material aims to stimulate logical thinking while enhancing English language proficiency.

Activities

  • a warm-up discussion about experiences with computer viruses, malware, and enjoyment of riddles, setting the stage for the technical puzzle.
  • a listening activity where students watch a video presenting a computer virus riddle and fill in the blanks with specific vocabulary and phrases.
  • a vocabulary matching task to help students understand and internalize key terms from the video, such as malware, mainframe, binary code, and parity.
  • a grammar focus section on conditional sentences (Type 1 and Type 2), with exercises to reinforce their correct usage in discussing real and hypothetical scenarios.
  • vocabulary in context exercises to ensure students can accurately use terms related to computer systems and digital threats.
  • grammar practice transforming sentences into conditional forms, further solidifying understanding of 'if-then' logic.
  • speaking practice involving problem-solving scenarios, encouraging students to apply new vocabulary and conditional structures to discuss strategies and solutions.
00:06 Your antivirus squad is up against a particularly sadistic bit
00:10 of malicious code that’s hijacked your mainframe.
00:14 What you’ve learned from other infected systems— right before they went dark—
00:18 is that it likes to toy with antivirus agents in a very peculiar way.
00:24 It corrupts one of the 4 disks that run your mainframe,
00:28 represented by lights showing which are on and which off.
00:32 Then it selects one member of the antivirus squad— this’ll be you—
00:36 and brings them into the mainframe.
00:39 It tells them which disk it corrupted,
00:41 allows the agent to switch a single disk on or off,
00:45 then immediately de-rezzes the agent.
00:49 Your squad can make an all-out attack to break into the mainframe
00:53 and destroy one disk before they’re wiped out.
00:56 If they destroy the corrupted one, the malware will be defeated.
01:00 Any others, and the virus will erase the entire system.
01:04 The lights are only visible within the mainframe,
01:07 so you won’t know until you get there which, if any, are on.
01:11 How can you communicate, with your single action,
01:14 which of the 4 disks has been corrupted?
01:17 Pause here to figure it out for yourself. Answer in 3
01:20 Answer in 2
01:22 Answer in 1
01:25 The setting is a big clue for one solution.
01:28 Using binary code— the base two numbering system that only uses 1s and 0s—
01:34 we can represent each of the 4 disks with a 2-bit binary number
01:39 ranging from 00 for zero to 11 for three.
01:44 What we’re looking for now is some sort of mathematical operation
01:48 that can take the lit disks as input, and give the corrupted disk as an output.
01:54 Let’s consider one possibility.
01:56 Say that the corrupted disk was this one,
01:59 and when you come in, no lights are on.
02:02 You could turn 11 on to indicate that disk.
02:06 Okay, what if you came in and 11 was already on?
02:11 You have to switch one light.
02:13 Which seems like the most innocuous to change?
02:16 Probably 00, in that if you were to add 00 and 11,
02:21 you’d still get 11.
02:24 So maybe the key is to think of addition of binary numbers,
02:28 with the sum of the lit disks communicating the corrupted disk number.
02:33 This works great, until we start with a different hypothetical.
02:37 What if 00 was the corrupted disk, and 01 and 10 were on?
02:43 Here, the sum of the lit disks is 11.
02:46 But we need to change this to a sum of 00 with the flip of one switch.
02:53 We have four options: turning switch 00 on gives us 11.
02:58 Turning 01 off takes us back to 10,
03:01 and turning 10 off gives 01.
03:05 None of those work.
03:06 Turning switch 11 on gives us 110 by standard binary addition.
03:12 But we don’t really want three digit numbers.
03:15 So what if— to keep the result a two digit number—
03:19 we break the rules a bit and let this sum equal 22.
03:23 That’s not a binary number, but if we regard 2s as the same as 0s,
03:28 that does indicate the correct disk.
03:31 So this suggests a strategy:
03:34 look at the sum of all the lighted disks we see,
03:37 regarding 2s as 0s.
03:40 If it’s already the correct result, flip 00,
03:43 and if not, find the switch that will make the sum correct.
03:48 You can see for yourself that any starting configuration
03:51 can sum to any number from 00 to 11 with a flip of a switch.
03:56 The reason this works is related to a concept called parity.
04:01 Parity tells you whether a given value is even or odd.
04:06 In this case, the values whose parity we’re considering
04:09 are the number of 1s in each digit place of our binary sums.
04:14 And that’s why we can say that 2 and 0, both even numbers,
04:19 can be treated as equivalents.
04:22 By adding or subtracting 00, 01, 10, or 11,
04:28 we can change the parity of either, both, or neither digit,
04:32 and create the disk number we want.
04:36 What’s incredible about this solution is that it works for any mainframe
04:40 whose disks are a power of two.
04:43 With 64 you could turn each activated disk into a 6-bit binary number
04:48 and sum the 1s in each column,
04:51 regarding any even sum as the same as 0 and any odd sum as 1.
04:57 1,048,576 disks would be daunting, but entirely doable.
05:05 Luckily, your mainframe is much smaller.
05:07 You make the valiant sacrifice and your team rushes in,
05:11 destroying the corruption and freeing the system.

Vocabulary focus

The vocabulary section introduces terms essential for understanding the riddle and related computing concepts. Key terms include malicious code, hijacked, corrupts, all-out attack, binary code, parity, mainframe, and squad. Students will learn to discuss technical problems and solutions in English.

Grammar focus

This lesson concentrates on conditional sentences (Type 1 and Type 2), which are crucial for discussing hypothetical situations, consequences, and logical reasoning, as frequently demonstrated in the computer virus riddle. Students will practice constructing these sentences to explain conditions and outcomes.


Related

Health science: Is exercise the best way to lose weight?
B2 Lifestyle Practical English General Grammar Psychology Video

Health science: Is exercise the best way to lose weight?

This lesson explores the scientific understanding that exercise alone is often ineffective for weight loss, emphasizing the primary role of diet and basal metabolism. It debunks common misconceptions about energy expenditure and introduces the concept of compensatory behaviors.

Premium
Culinary history: The global journey of dumplings
B2 Practical English Grammar Lifestyle Travel General Video

Culinary history: The global journey of dumplings

Explore the fascinating global history of dumplings, tracing their journey from ancient origins to diverse culinary adaptations worldwide. This lesson covers listening, vocabulary, and grammar focusing on the Past Simple Passive.

Premium
Sustainability: The high cost of fast fashion
B2 Practical English Business Lifestyle General Work Grammar Video

Sustainability: The high cost of fast fashion

This lesson explores the environmental and social impact of fast fashion. It delves into the concept of sustainability within the fashion industry and encourages discussion on consumer choices and corporate responsibilities.

Premium