• Energy is a traded commodity, but it is important also the political input we put into this project."

    VOA: standard.2009.05.08

  • The only thing I've done in this part of the program, now I'm going to go and read the code, is I've gotten the user to input a bunch of data.

    现在我去读读这里的代码,是我会让用户输入一些数据,然后根据用户输入的数据。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • Need to get the base in. Second thing I want to do, I need to get the height, so I'm going to input a value for the height, also as a float, a floating point.

    也就是输入底的值,第二件我想要做的,事情就是得到三角形的高,因此我会输入一个值作为三角形的高,同样也是一个浮点数。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • "In terms of diplomacy and conflict resolution, he did say that resolving the Israeli-Palestinian issue was a major input, and he immediately named Senator George Mitchell as his envoy in order to work on that particular issue,"

    VOA: standard.2009.04.24

  • Now in this case, it's clear that I'm not only saying this function takes an input, I also have to give that input a name.

    在这种情况,很清楚的,我不只是说明这个函数有一个输入,我还要给那个输入一个名字。

    哈佛公开课 - 计算机科学课程节选

  • So, this is what goes on in an electrolysis cell, and it works thanks to input energy from a power supply shown here.

    所以,这是在一个电化学电池中发生的,它是靠输入的能量工作的,从和这个类似的电源输出的能量。

    麻省理工公开课 - 固态化学导论课程节选

  • There're 2 individuals who're going to supply an input to a joint project.

    有两个实体共同完成一个协作项目

    耶鲁公开课 - 博弈论课程节选

  • ReadFloat We'll look at it in a second. Let me sort of set the stage up for this -- suppose I want to input -- I'm sorry I want you as a user to input a floating point number.

    名字叫,我们来看一会,我先来设置下情景-,假设我想输入,抱歉,我希望你们作为用户来输入一个浮点数。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • So if I were to solve this problem, here's the way I would do it. I would say, first thing I want to do, is I want to input a value for the base as a float.

    如果我想要解决这个问题,这就是我要解决它的方式了,第一件我要做的事情就是要,输入一个浮点数作为三角形的底。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • So before we use printf, a function, and we passed in one input and input henceforth we're gonna call arguments or parameters.

    我们在使用printf函数时,先放进去一个输入,之后的输入我们就要,调用参数了。

    哈佛公开课 - 计算机科学课程节选

  • I probably whip out a do while loop very rarely, but very often when programming games or any program that takes user input and has to check that user input and yell at the user if they're messing with you or aren't providing what's expected.

    我可能很少用do,while,循环,但常常是,当编制程序游戏或需要用户输入的程序是,需要检查用户的输入并提醒用户,如果他们干扰了你,或没有提供所期望的输入。

    哈佛公开课 - 计算机科学课程节选

  • So you have to somehow convert the source code, the C code into 0s and 1s and for that process there exist this tool called a compiler that someone else wrote that takes this stuff as input and produces this stuff as output.

    所以你必须把源代码,即C语言代码转换成二进制文件,这个过程就需要我们提到的编译器了,它是由别人编写的一个软件,以这些代码作为输入,将会产生的输出。

    哈佛公开课 - 计算机科学课程节选

  • human text, ASCII text as input and output zeroes and ones that represent that program in a manner that the CPU, interesting, dammit, not installed on this computer.

    编译器以人输入的文本,ASCII码为输入,它输出一些cpu实际上可以理解的,在这台计算机上没有安装。

    哈佛公开课 - 计算机科学课程节选

  • So we'll talk a bit more about this idea of functions today, but, get int, again, can think of it as a black box, whose purpose in life is to prompt the human for input and pester the human if he or she doesn't actually give it int, but then once it has that, has entered it from the user, it's quote unquote, returns it to you.

    所以我们进今天将多讨论点这个函数的概念,但是,GetInt,我们可以把它当做一个黑盒子,它的唯一目的是提示人们来输入,并且如果他或她没有,给它int数,则会纠缠用户,但是一旦它得到了,用户输入的int数,对输入进行引用,返回给你。

    哈佛公开课 - 计算机科学课程节选

  • Suppose you could build a circuit with the following property: the input to this circuit would be any other circuit diagram.

    假设你能用如下物品,建立起一个线路:,这个线路的输入设备,可以是任意一个其他线路的流程。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • Obviously the algorithm is likely to depend on the size of the input, so this is not a great idea.

    很明显这个算法是与我的,输入的大小相关的,因此这不是个好方法。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • Even though my statement said enter a number, in particular, raw input here simply takes in a set of characters and treats it as a string.

    即使我的陈述说的是应该输入一个数字,实际上,这里的原始输入会被当做一个字符,的集合来提取并被当做一个字符串来对待。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • If I decide there's a better way to get input, and there is, then I can make it to change what I don't have to change the code that uses the input.

    如果我觉得有更好的获取输入的方法,我可以直接改去用这种方式,而不用更改使用了,输入处的代码。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • We're going to build up this taxonomy if you like, but the reason it's relevant is, associated with each one of those types is a set of operators that expect certain types of input in order to do their job.

    我们将会建立这种分类,但是这相关的原因是,对于每种类型都有,和之对应的一个操作集,这个操作机对一些输入,做出规定的操作。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • For a couple of reasons. In some ways, this would be nicer, do expected cases, it's going to tell you on average how much you expect to take, but it tends to be hard to compute, because to compute that, you have to know a distribution on input.

    关注最快的情况,在某种意义上来说,因为一些原因这样想挺不错的,当我们处理一个给定的问题,计算平均时间的时候,是很难计算的,因为你并不知道输入的分布情况,这些输入会是怎么样的呢?

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • I'm going to run through a loop, and I'm going to request some input, which I'm going to read in with raw input.

    我要运行一个循环,我需要一些输入,需要读入一些原始的输入。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • I'm much better having an exception get handled at the time of input than to let that prop -- that value rather propagate through a whole bunch of code until eventually it hits an error 17 calls later, and you have no clue where it came from.

    不是我期望的格式,这时我最好有一个异常处理,而不是让其传下去,这个值传到代码的整个分支,最终会导致一个错误17调用的发生,并且你不知道这个错误是哪里来的。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • Because if I don't specify a name for this input, I have no way of actually referring to it in subsequent lines of code.

    因为如果我不给这个输入定义一个名字,在随后的代码中,我就没有办法使用它。

    哈佛公开课 - 计算机科学课程节选

  • Our program can get a little more interesting, a little more judgmental based on our input.

    我们的程序可以变得有点有趣,根据我们的输入做一些判断。

    哈佛公开课 - 计算机科学课程节选

  • OK. So to do this, we're going to have to do a couple of things. All right, the first one is, what do we mean by input size?

    好,为了实现这种方法我们,有些事情要做,第一件事情就是,当我们说到输入的大小的时候代表了什么呢?

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • As I said, what we want to do is, we want to count the number of basic steps it takes to compute a computation as a function of input size.

    我刚才提到了,我们要建立,一个根据输入大小的方法来计算,一个计算过程需要的时间,建立这个方法需要几步呢?

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • So one of the things I want you to notice here is that testing and debugging are not the same thing. When we test, we compare an input output pair to a specification.

    这里我想大家注意的一件事,就是测试和调试是不同的两件事情,我们测试的时候,我们把输入输出,跟程序的规格说明书对比下。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • It's just an input to a function, the thing inside parentheses.

    圆括号里面的东西,只是一个函数的输入。

    哈佛公开课 - 计算机科学课程节选

  • Suppose instead, I want a machine that can take a recipe, the description of a sequence of steps, take that as its input, and then that machine will now act like what is described in that recipe.

    假设换成这个,我想要一台可以安装描述,一系列步骤的结果的方法的机器,把那个当做输入设备,然后那台机器可以像方法中,描述的那样运行了。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • These things run for variable amounts of time because they take input, a list of size of some amount.

    而这一段的执行时间是可变的,因为它们需要输入一个包含一些元素的列表。

    哈佛公开课 - 计算机科学课程节选

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定