使用冯诺依曼模型的低级语言和高级语言之间的差异
我对这个教科书问题感到困惑:
汇编器是低级语言,而Java和Python是高级语言。 通过使用冯·诺依曼模型的示例解释其中的差异。选择 Java 或 Python。
我知道低级语言和高级语言之间的差异,但我很难找到一种方法来使用诺伊曼模型解释这些差异。我真的不明白该模型与低级或高级语言有什么关系?有什么想法吗?
I'm confused by this textbook problem:
Assembler is a low-level language, but Java and Python are high-level languages.
Explain the difference with an example using the Von Neumann model. Choose either Java or 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? Any ideas?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
低级语言的基础知识来自冯·诺依曼机器,因此它们处于非常接近机器的水平。它们分为机器语言和汇编语言。此外,每台计算机上的指令都不同,因此编程困难且成本高昂。
高级语言基于抽象机。每当使用高级语言时,都需要进行解释或翻译过程,这有助于将编程语言转换为机器语言以便执行。
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.