Click here to Skip to main content
15,891,136 members
Please Sign up or sign in to vote.
1.20/5 (4 votes)
See more:
which language makes use of memories to interact with computer system.
1)machine
2)assembly
3)c++
4)java

please explain elaborately!
Posted
Comments
[no name] 28-Apr-13 11:25am    
5) all of the above. All computer languages make use of computer memory.
Knowledge_Seeker 2 28-Apr-13 12:35pm    
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!
Richard MacCutchan 28-Apr-13 13:21pm    
Throw that book away.
CPallini 28-Apr-13 15:43pm    
My 5.
[no name] 28-Apr-13 14:07pm    
Without knowing what the context is, what book you are talking about or what the subject matter is, it would be impossible for anyone to answer this. All programs and therefore all programming languages make use of computer memory otherwise they could not function.

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?
 
Share this answer
 
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.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900