计算机语言和互动 [英] Computer Languages and Interaction

查看:73
本文介绍了计算机语言和互动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

哪种语言利用记忆与计算机系统互动。

1)机器

2)组装

3)c ++

4)java



请详细解释!

which language makes use of memories to interact with computer system.
1)machine
2)assembly
3)c++
4)java

please explain elaborately!

推荐答案

阅读此评论由OP:



但在书中答案仅为2)。大会......如何可能?我也是一台电脑工程师和我已经完成了所有这四种语言的编程......但是真的对书中给出的答案感到困惑。这就是为什么要2分享问题,以便一些优秀的计算机专家可以解释这2个我...但是我我只得到模糊的回答!urs很好..但其他2个回复2个问题只是无知的人。想要在这个论坛中放松一下!



要么你错误地翻译/错误复制了这个问题,要么这本书是由一个学者写的,他们不知道他们在做什么(这些存在)或者有错误所以一世 理解你的困惑。



2单独不能成为答案,从逻辑上思考:

汇编可以''执行所以在变成机器代码之前它不能做任何事情(所以至少机器代码和汇编程序访问存储器)。其他三种语言最终都最终成为要执行的机器代码。鉴于机器代码访问用于存储的内存,并且您提到的所有语言都具有内存存储,它们也必须与内存交互。当然,交互程度不同(MC / Assembler是直接的,C ++有指针和地址访问的变量,Java只是通过变量)但都可以访问它。



所以答案就是所有这些(如幻影Upvoter指出的那样),如果情况如此,那么作者对你的意图也应该听取理查德的建议扔掉这本书。



你能说出这本书吗?作者?
Having read this comment by the OP:

"but in the book the answer is given as only 2)Assembly..how is that possible??I am also a computer engineer and i have done programming on all these 4 languages..but really puzzled by the answer given in the book..that''s why want 2 share dis question so that some good computer expert can explain this 2 me..but i am getting only vague responses! urs is good..but the other 2 replies 2 dis question r simply ignorant people.want to just chill out in this forum!"

Either you''ve mis-translated/mis-copied the question or the book was written by an "academic" who doesn''t know what they are on about (and these exist) or there is an error so I understand your confusion.

2 Alone can''t be the answer, think about it logically:
Assembler can''t execute so it can''t do anything before being turned into machine code (so at least machine code & assembler access memory). The other three languages all eventually end up as machine code to execute. Given the machine code accesses memory for storage and all the languages you mention have in-memory storage, they must interact with memory too. Of course the degree of interaction differs (MC/Assembler is direct, C++ has variables with pointer & address access, Java just via variables) but all access it.

So the answer is all of them (as the Phantom Upvoter Pointed out), and if it is the case this is what the author intended to you should also heed Richard''s suggestion to throw the book.

Can you name the book & Author?


你发布的问题在英语中没有多大意义。如果选项2是唯一接受的答案,至少不会。在我上面的评论中,我建议记忆一词并不准确,但也许它是别的东西,例如。 G。究竟是什么意思互动?这可以指读取和写入特定硬件地址或寄存器的能力,作为与设备(例如打印机或USB端口)交互的手段。用于驱动程序编程的东西。最常见的方法是通过Assembler,(或带有内联汇编程序的C代码)。



如果不是这样,我建议你尝试消除所有错误信息来源:



1.您的翻译可能不准确。这可能很难自己检查,但你有没有用过母语用户的论坛?



2.这个问题可能包含错误。这是翻译吗?你能找到这本书的原始标题吗?也许有人得到了原文并且可以在将原始问题翻译成您的语言之前发布。



3.作者可能使用了不准确的术语。也许他没有用自己的母语写这本书,或者只是一个错误。有没有办法联系他并请他个人解释?我怀疑如果这个问题确实是基于问题的错误表述,那么作者可能想知道它。
The question you posted does not make a lot of sense in english. At least not if option 2 is the only accepted answer. In my comment above I suggested the term "memories" isn''t accurate, but maybe it''s something else, e. g. what exactly is meant by "interact"? This may refer to the ability to read from and write to specific hardware addresses or registers as a means to interact with a device, such as a printer or USB port. Something used for driver programming. The most common way of doing that is through Assembler, (or C code with inline Assembler).

If it isn''t that, I suggest you try to eliminate all sources of misinformation:

1. your translation may be inaccurate. It''s probably hard to check by yourself, but have you tried a forum with users that speak your mother tongue?

2. The question may contain an error. Is it a translation? Can you find out the original title of the book? Maybe someone got the original and can post the original question before it was translated to your language.

3. The author may have used an inaccurate term. maybe he didn''t write the book in his own mother tongue, or it was just an error. Is there a way to contact him and ask him to explain, personally? I suspect that if this problem is indeed based on a bad formulation of the question, the author might want to know about it.


这篇关于计算机语言和互动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆