计算机编程术语解释_我们找到了一种方法来向您的父亲解释基本的编程术语

计算机编程术语解释

Do you know the new “Are you winning son?” meme going around these days?

您知道新的“您是儿子吗?” 这些天的模因转转?

I had a moment that exactly felt like it when my dad walked in and asked me if I was done with work and could come for dinner.

当我父亲走进来,问我是否做完了工作并且可以来吃晚饭时,我有一刻感觉很像。

Well, he didn’t exactly say “Are ya winning son?” but it felt close enough that I laughed for a while later. I told him I was working on the syntax errors in my project.

好吧,他并没有确切地说“你是优胜者的儿子吗?” 但感觉足够近,我稍后笑了一下。 我告诉他我正在处理项目中的语法错误。

The puzzled look on his face when I said ‘syntax error’ prompted me to say “It’s a grammatical mistake in the code.” He nodded and left. It took me quite a while to figure out that the culprit was a missing comma but then I got to thinking about how other dads would need things explained better.

当我说“语法错误”时,他脸上困惑的表情促使我说“这是代码中的语法错误。” 他点点头离开了。 我花了好一会儿才知道罪魁祸首是逗号,但后来我开始思考其他父亲如何需要更好地解释事情。

STEM Education (Science Technology Engineering and Math) has brought with it an age where young children begin to learn programming as part of their curriculum and more parents might face what my dad did so our team decided to write this article where we explain programming terms with examples and in layman words.

STEM教育(科学技术工程与数学)的时代已经开始,幼儿开始将编程作为课程的一部分,而更多的父母可能会面对我父亲所做的事情,因此我们的团队决定写这篇文章,在其中解释编程术语。例子和外行话。

Let us consider a school classroom paradigm for some of these terms for ease of explanation. We will now check out the different terms revolving the world of code and define them in layman’s terms.

为了便于说明,让我们考虑一些术语的学校教室范式。 现在,我们将检查涉及代码世界的不同术语,并以通俗易懂的术语对其进行定义。

计算机程序;电脑程序 (Computer Program)

Image showing computer program.

Technical Definition: A program is a set of instructions coded to make a machine perform a task.

技术定义:程序是一组指令,它们编码为使机器执行任务。

Ninja Definition: A computer program is a fully functioning software that is a compilation of all the different ways and instructions that can be followed to do something. It might not be written to achieve a goal and stop, rather continue following the steps forever.

忍者(Ninja)定义:计算机程序是一种功能全面的软件,它是可以遵循的所有不同方式和说明的汇编。 它可能不会写成达到目标并停止,而是永远继续执行这些步骤。

In our classroom paradigm, teachers “program” children to learn and do things. Endless programs here would be programs to “be curious and ask questions” while programs like “study this concept” would be finite ones.

在我们的课堂范例中,教师“计划”孩子学习和做事。 这里无休止的程序将是“好奇并提出问题”的程序,而“研究这个概念”的程序将是有限的程序。

电脑密码 (Computer Code)

Technical Definition: Computer code is the symbolic arrangement of data or instructions in a computer program.

技术定义: 计算机代码是计算机程序中数据或指令的符号排列。

Ninja Definition: Computer code is the textual or symbolic translation of our instructions from common language into a language that the computer can understand because we can’t talk to it in regular English.

忍者定义:C动态数值代码是文本还是我们从通用语言指令的符号翻译成语言,计算机可以理解的,因为我们不能谈论它在普通英语。

In our classroom paradigm, teachers translate “subtract 8 and 15” to “open 10 fingers and keep 5 in your mind. Now close 8 fingers and add 5 to the 2 fingers that remain”

在我们的课堂范例中,老师将“减8和减15”转换为“张开10根手指,并牢记5根手指”。 现在合上8根手指,然后在剩下的2根手指上增加5根。”

Computer Coding is technically not the same as computer programming because coding only requires you to translate commands into code for a simple program but programming requires knowledge of algorithms and data processing because a consumer-friendly program has to be built.

从技术上讲,计算机编码与计算机编程不同,因为编码只需要您将命令转换为简单程序的代码,而编程则需要算法和数据处理方面的知识,因为必须构建易于使用的程序。

算法 (Algorithm)

Image for post

Technical Definition: An algorithm is a process or set of rules followed by a program to accomplish a task.

技术定义:算法是一个过程或一组规则,然后是程序来完成一项任务。

Ninja Definition: An algorithm is like the recipe or instruction manual that one feeds into a program to make it do things in a single way to achieve a specific goal.

忍者(Ninja)定义:一种算法,就像食谱或说明手册,一种算法可以馈入程序,使程序以单一方式完成特定目标。

In school, our classroom paradigm, the seating arrangement and the teacher saying “Open your books to this page and look at the diagram” can be examples of an algorithm.

在学校里,我们的教室范例,座位安排和老师说“打开您的书至本页并查看图表”可以是一种算法示例。

流程图 (Flow charts)

Report showing the first computer bug in the world which was a real moth stuck in the relay
https://commons.wikimedia.org/w/index.php?curid=714537 https ://commons.wikimedia.org/w/index.php?curid = 714537

Technical Definition: Flowcharts are visual depictions of algorithms that are used to find bugs or prepare the concept of a program.

技术定义: 流程图是用于查找错误或准备程序概念的算法的直观描述。

Ninja Definition: Flowcharts are diagrams made from linking copies of 4 distinct shapes that show how a program will proceed in its path from the beginning of execution to the goal. A rectangle with rounded corners or an oval denotes the beginning and the end of the program, a regular rectangle signifies a step in the process, a rhombus refers to a decision to be taken while a parallelogram denotes input/output.

忍者定义:流程图是通过链接4种不同形状的副本制作的图,这些图显示了程序从执行开始到实现目标的过程。 带有圆角或椭圆的矩形表示程序的开始和结束,规则的矩形表示过程的一步,菱形表示要进行的决策,而平行四边形表示输入/输出。

声明 (Statement)

Technical Definition: A statement is a syntactic unit of an imperative programming language that expresses some action to be carried out

技术定义: 语句是命令式编程语言的语法单元,表示要执行的某些操作

Ninja Definition: A statement is a step in the instruction manual or recipe that has proper grammar and punctuations (syntactic) and tells you how to do something (imperative programming).

忍者定义: 声明是使用手册或食谱中具有适当语法和标点符号(语法)的步骤,并告诉您如何执行操作(命令式编程)。

In our classroom paradigm, “Open your book”, “Turn to page number x”, “Look at this diagram” are the three statements of the algorithm. If the grammar isn’t right, “Look at this. Diagram” would not lead to the same result.

在我们的课堂范例中,“打开书本”,“翻到页码x”,“看这张图”是该算法的三个陈述。 如果语法不正确,请“看一下。 图”将不会导致相同的结果。

句法 (Syntax)

Technical Definition: The syntax is the set of rules that defines the combinations of symbols that are considered to be correctly structured statements or expressions in that language.

技术定义:语法是一组规则,用于定义符号组合,这些符号被认为是该语言的正确结构化语句或表达式。

Ninja Definition: As I told my dad, Syntax is the grammar of the programming language. It’s the punctuation mark and locations of the verbs, adjectives, nouns and conjunctions that link everything.

忍者定义: 正如我告诉父亲的那样,语法是编程语言的语法。 连接所有内容的动词,形容词,名词和连词的标点符号和位置。

执行/运行程序 (Execute/ Run a Program)

An image showing code execution.

Technical Definition: Execution is the process by which a computer executes the instructions of a computer program

技术定义: 执行是计算机执行计算机程序指令的过程

Ninja Definition: Executing a program means you’re telling the computer to start following the instructions you’ve given it in the form of the program and perform the task it was meant to.

忍者(Ninja)定义:执行程序意味着您正在告诉计算机按照程序形式给出的说明开始执行它要执行的任务。

The exams are a way of executing the “study” program where children begin studying to accomplish the goal of learning and then applying the knowledge to solve problems in them.

考试是执行“学习”程序的一种方式,在该程序中,孩子们开始学习以实现学习目标,然后运用所学知识解决其中的问题。

汇编 (Compilation)

Technical Definition: Compilation is the process of translating higher-level programming languages to low-level programming languages i.e. machine language.

技术定义: 编译是将高级编程语言转换为低级编程语言(即机器语言)的过程。

Ninja Definition: Compilation is the process of breaking down your code into 0s and 1s i.e. its how the computer understands what you told it in the more human-friendly code.

忍者定义: 编译是将代码分解为0和1的过程,即计算机如何理解您在更人性化的代码中所说的内容。

虫子 (Bug)

Report showing the first computer bug in the world which was a real moth stuck in the relay

Technical Definition: A software bug is an error, flaw, or fault in a computer program or system that causes it to produce an incorrect or unexpected result, or to behave in unintended ways

技术定义软件错误是指计算机程序或系统中的错误,缺陷或故障,导致其产生不正确或意外的结果,或行为异常。

Ninja Definition: A bug is a mistake in the code that means giving the wrong instructions to the computer or missing a part of the instructions that end up not giving out the proper result. It’s like when Rachel from F.R.I.E.N.D.S misses a page and ends up making a non-vegetarian dessert.

忍者(Ninja)定义:错误是代码中的错误,这意味着向计算机提供错误的指令或丢失部分指令,最终导致其无法给出正确的结果。 就像当朋友的蕾切尔(Rachel)错过一页并以制作非素食甜点而告终时一样。

In our classroom paradigm, bugs can be seen in the form of errors in behavior or understanding of lessons in students. They can also be seen as inefficiencies in teaching.

在我们的课堂范例中,错误可以表现为行为错误或对学生课程的理解。 也可以将它们视为教学效率低下。

调试 (Debugging)

Technical Definition: Debugging is the process of finding and resolving bugs within computer programs.

技术定义: 调试 是查找和解决计算机程序中的错误的过程。

Ninja Definition: Well this one doesn’t really require a Ninja Definition but it can be defined as de-bugging i.e. ditching the bugs.

忍者定义: 好吧,这实际上并不需要Ninja定义,但可以将其定义为调试(debugging),即消除bug。

In our classroom paradigm, debugging is done by teachers talking it out with students and addressing issues thereby removing the bugs.

在我们的课堂范例中,调试是由老师与学生讨论并解决问题从而消除错误的方法完成的。

命令行界面 (Command-line interface)

An image showing execution of commands on command line interface.
https://commons.wikimedia.org/w/index.php?curid=16485488 https ://commons.wikimedia.org/w/index.php?curid = 16485488

Technical Definition: A command-line interface (CLI) processes commands to a computer program in the form of lines of text

技术定义: 命令行界面(CLI)以文本行的形式处理到计算机程序的命令

Ninja Definition: Command-line interface is the place where we can write the code for programs. It provides us an interface to talk to the basic processing unit of the computer by compiling and executing the commands that we give it. Examples are command prompt on windows and other programs like Python.

忍者定义: 命令行界面是我们可以编写程序代码的地方。 它通过编译和执行提供给计算机的命令,为我们提供了与计算机的基本处理单元进行通讯的界面。 示例是Windows和其他程序(例如Python)上的命令提示符。

The classroom itself in our classroom paradigm is the Command-Line Interface since it’s where the program can be written while the teacher teaches and executed during the examination.

教室范式中的教室本身就是命令行界面,因为它是教师在教学过程中可以编写程序并在考试期间执行的地方。

编辑 (Editor)

Picture of a visual studio editor.

Technical Definition: A source-code editor is a text editor program designed specifically for editing source code of computer programs.

技术定义:源代码编辑器是专门设计用于编辑计算机程序源代码的文本编辑器程序。

Ninja Definition: An editor works like a special magnifying glass through which you can view the source code i.e. the statements that form the algorithms of a program. It also lets you change the code and thereby give the program different functions. Notepad on windows is an example of program-editors.

忍者定义:编辑器的作用就像一个特殊的放大镜,通过它您可以查看源代码,即构成程序算法的语句。 它还使您可以更改代码,从而为程序提供不同的功能。 Windows上的记事本是程序编辑器的示例。

In our classroom paradigm, the role of an editor is done by the children’s parents who can edit teachers’ programming of their children by editors called parent-teacher-interactions.

在我们的课堂范例中,编辑者的角色是由孩子的父母来完成的,他们可以通过称为“父老师互动”的编辑者来编辑教师对孩子的编程。

And we conclude the first part of our Ninja Glossary here. Part two and Part three will be coming soon and they will contain more terms that we provide Ninja Definitions for.

我们在这里总结了《忍者词汇表》的第一部分。 第二部分和第三部分将很快推出,它们将包含我们为Ninja提供的更多术语。

These are the basic terms that most parents would hear from their children who are learning coding at a young age like our Ninjas. We made this article so that parents can have clarity about the “jibber-jabber” that programmers use and they can easily interact with their programmer-children.

这些是大多数父母会从他们的孩子(像我们的忍者)那儿学习编码的孩子听到的基本术语。 我们写这篇文章的目的是,使父母可以清楚地了解程序员使用的“笨蛋”,并且他们可以轻松地与他们的程序员孩子互动。

I’m going to forward this article to my dad and I hope you share it with people you know as well so that we all develop computer literacy.

我将把这篇文章转发给我的父亲,希望您也与您认识的人分享这篇文章,以便我们都提高计算机素养。

翻译自: https://medium.com/turing-ninjas/we-found-a-way-to-explain-basic-programming-terms-to-your-dad-1a9afb5942b7

计算机编程术语解释

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值