简体   繁体   English

使用冯诺依曼的低级语言和高级语言之间的差异 model

[英]Differences between low-and high-level languages using the Von Neumann model

I'm confused by this textbook problem:我对这个教科书问题感到困惑:

Assembler is a low-level language, but Java and Python are high-level languages.汇编程序是一种低级语言,但 Java 和 Python 是高级语言。 Explain the difference with an example using the Von Neumann model. Choose either Java or Python.使用 Von Neumann model 的示例解释差异。选择 Java 或 Python。

I know the differences between low-level and high-level languages, but I'm having a really hard time figuring out a way to explain the differences using the Neumann model. I don't really see what the model has to do with low-or high-level languages?我知道低级语言和高级语言之间的区别,但我真的很难找到一种方法来解释使用 Neumann model 的区别。我真的不明白 model 与 low 有什么关系- 或高级语言? Any ideas?有任何想法吗?

Low-level languages take their fundamentals from the Von Neumann machine, so they are at a level very close to the machine.低级语言从冯·诺依曼机器中获取它们的基础,因此它们处于非常接近机器的级别。 They are classified into machine language and assembly language.它们分为机器语言和汇编语言。 Also, the instructions are different on each computer, so they are difficult to program and are costly.此外,每台计算机上的指令都不同,因此它们难以编程且成本高昂。 冯·诺依曼架构 High-level languages are based on Abstract MAchines.高级语言基于抽象机。 Whenever a high-level language is being used, an interpretation or translation process will be necessary, which helps to convert the programming language to machine language so that it can be executed.每当使用高级语言时,都需要解释或翻译过程,这有助于将编程语言转换为机器语言以便执行。 抽象机

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM