Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C++ Java
which language makes use of memories to interact with computer system.
1)machine
2)assembly
3)c++
4)java
 
please explain elaborately!
Posted 28-Apr-13 6:13am
Comments
ThePhantomUpvoter at 28-Apr-13 11:25am
   
5) all of the above. All computer languages make use of computer memory.
Siddhartha Shankar Ghosh at 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 at 28-Apr-13 13:21pm
   
Throw that book away.
CPallini at 28-Apr-13 15:43pm
   
My 5.
ThePhantomUpvoter at 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.
Stefan_Lang at 29-Apr-13 3:53am
   
It is possible that the original question instead of "memories" used a technical term that only applies to the assembler language. But without seeing the originaltext of the question that is hard to judge. "Memories" is a very general term, and in the context of computer languages we have interpreted as "any kind of computer memory". But the original meaning may be very different. Even more so, if the book itself is a (possibly bad) translation from yet another language.
nv3 at 28-Apr-13 11:59am
   
For one this looks like homework. For two, you should do a better a job with the translation of you homework questions. For three, your teacher might be reading this forum, too!
Siddhartha Shankar Ghosh at 28-Apr-13 12:30pm
   
didn't get u..plzz xplain??
Stefan_Lang at 29-Apr-13 3:59am
   
The first and last statement point out that it isn't a good idea to post homework questions here (this assumes the question is from homework). Judging by your comments you're not asking for the solution however (you already know the excpected solution), but an explanation, and that is ok.
 
The second statement refers to the fact that the term "memories" probably is not sufficiently accurate to answer this question correctly, if the correct answer is supposed to be "Assembler". It looks like the reason we can not make any sense of this is that the translation is not accurate.
nv3 at 29-Apr-13 7:56am
   
Did you mean to write "mnemonics" instead of "memories" in your question? Then at least it would make some sense.
CHill60 at 28-Apr-13 12:24pm
   
"makes use of memories " - only the ones that can remember
Siddhartha Shankar Ghosh at 28-Apr-13 12:30pm
   
what?
Sergey Alexandrovich Kryukov at 28-Apr-13 12:37pm
   
Imitation of education, all those questions are.
—SA
Knowledge_Seeker 2 at 28-Apr-13 12:43pm
   
true that!
Sergey Alexandrovich Kryukov at 28-Apr-13 13:20pm
   
Or should a call it educational fraud?
—SA
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

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?
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

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.
  Permalink  

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

  Print Answers RSS
0 OriginalGriff 277
1 Maciej Los 210
2 BillWoodruff 205
3 Jochen Arndt 180
4 Sergey Alexandrovich Kryukov 165
0 OriginalGriff 5,130
1 DamithSL 4,157
2 Maciej Los 3,650
3 Kornfeld Eliyahu Peter 3,460
4 Sergey Alexandrovich Kryukov 2,811


Advertise | Privacy | Mobile
Web04 | 2.8.141216.1 | Last Updated 29 Apr 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100