What do shopping with a credit card, finding love through internet dating and waiting for the traffic lights to change have in common?
用信用卡购物、通过网络约会寻找爱情以及等待红绿灯变化有什么共同点?
Sam(山姆)
Hmmm, they all involve computers?
嗯,它们都涉及计算机?
Neil(尼尔)
Good guess, Sam! But how exactly do those computers work? The answer is that they all use algorithms – sets of mathematical instructions which find solutions to problems.
Although they are often hidden, algorithms are all around us. From mobile phone maps to home delivery pizza, they play a big part of modern life. And they’re the topic of this programme.
A simple way to think of algorithms is as recipes. To make pancakes you mix flour, eggs and milk, then melt butter in a frying pan and so on. Computers do this in more a complicated way by repeating mathematical equations over and over again.
Equations are mathematical sentences showing how two things are equal. They’re similar to algorithms and the most famous scientific equation of all, Einstein’s E=MC2, can be thought of as a three-part algorithm.
But before my brain gets squashed by all this maths, I have a quiz question for you, Sam. As you know, Einstein’s famous equation is E=MC2 - but what does the ‘E’ stand for? Is it: a) electricity? b) energy? or c) everything?
I’m tempted to say ‘E’ is for ‘everything’ but I reckon I know the answer: b – ‘E’ stands for ‘energy’.
我很想说“E”代表“一切”,但我想我知道答案:b – “E”代表“能量”。
Neil(尼尔)
OK, Sam, we’ll find out if you’re right later in the programme.
好的,山姆,我们会在节目的后面发现你是否正确。
Sam(山姆)
With all this talk of computers, you might think algorithms are a new idea. In fact, they’ve been around since Babylonian times, around 4,000 years ago.
And their use today can be controversial. Some algorithms used in internet search engines have been accused of racial prejudice.
它们今天的使用可能会引起争议。互联网搜索引擎中使用的一些算法被指责为种族偏见。
Sam(山姆)
Ramesh Srinivasan is Professor of Information Studies at the University of California. Here’s what he said when asked what the word ‘algorithm’ actually means by BBC World Service’s programme, The Forum:
My understanding of the term ‘algorithm’ is that it’s not necessarily the bogyman, or its not necessarily something that is, you know, inscrutable or mysterious to all people – it’s the set of instructions that you write in some mathematical form or in some software code – so it’s the repeated set of instructions that are sequenced, that are used and applied to answer a question or resolve a problem – it’s a simple as that, actually.
Some think that algorithms have been controversial, but Professor Srinivasan says they are not necessarily the bogyman. The bogyman refers to something people call ‘bad’ or ‘evil’ to make other people afraid.
Still, it can be difficult to understand exactly what algorithms are, especially when there are many different types of them. So, let’s take an example.
尽管如此,仍然很难准确理解算法是什么,尤其是当算法有许多不同类型的算法时。那么,让我们举个例子。
Neil(尼尔)
It’s autumn and we want to collect all the apples from our orchard and divide them into three groups – big, medium and small. One method is to collect all the apples together and compare their sizes.
But doing this would take hours! It’s much easier to first collect the apples from only one tree - divide those into big, medium or small – and then repeat the process for the other trees, one by one.
That’s basically what algorithms do – they find the most efficient way to get things done, or in other words, get the best results in the quickest time.
Mathematics professor Ian Stewart agrees. Listen as he explains how the algorithm called ‘bubble sort’ works to BBC World Service’s programme, The Forum:
Think of when your computer is sorting emails by date and maybe you’ve got 500 emails and it sorts them by date in a flash. Now it doesn’t use bubble sort, but it does use a sorting method and if you tried to do that by hand it would take you a very long time, whatever method you used.
Professor Stewart describes how algorithms sort emails. To sort is a verb meaning to group together things which share similarities.
斯图尔特教授描述了算法如何对电子邮件进行排序。排序是一个动词,意思是将具有相似性的事物组合在一起。
Sam(山姆)
Just like grouping the apples by size, sorting hundreds of emails by hand would take a long time. But using algorithms, computers do it in a flash – very quickly or suddenly.
If something is called a bogyman, it’s something considered bad and to be feared.
如果某物被称为妖怪,那么它就被认为是坏的,值得恐惧的。
Sam(山姆)
Inscrutable people don’t show their emotions so are very difficult to get to know.
高深莫测的人不会表现出自己的情绪,所以很难了解。
Neil(尼尔)
Efficient means working quickly and effectively in an organised way.
高效意味着以有组织的方式快速有效地工作。
Sam(山姆)
The verb to sort means to group together things which share similarities.
排序动词的意思是将具有相似性的事物组合在一起。
Neil(尼尔)
And finally, if something happens in a flash, it happens quickly or suddenly.
最后,如果某件事在一瞬间发生,它会迅速或突然地发生。
Sam(山姆)
That’s all the time we have to discuss algorithms. And if you’re still not 100% sure about exactly what they are, we hope at least you’ve learned some useful vocabulary!
Join us again soon for more trending topics, sensational science and useful vocabulary here at 6 Minute English from BBC Learning English. Bye for now!
很快再次加入我们,了解更多热门话题、耸人听闻的科学和有用的词汇,请访问 BBC Learning English 的六分钟英语。再见!