English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

3 answers

Partially true.

A program, residing on the hard drive is loaded into RAM to run it. There are two (sort of) portions of RAM, the Stack and the Heap. Most of the instructions are stored on the Stack, but not completely in order. Some data, or perhaps other parts of the program are stored in the Heap. The difference is that information in the Stack is a little easier to get to.

Now, when a program runs, it reaches points where it must make a decision. In most programs, this is quite often. When it does so, it will go to another place in memory, rather than the next consecutive instruction.

So, while your statement is partially true, in actuality, the execution isn't a simple one of following the next consecutive step in memory. It has to jump around quite a bit.

2006-10-16 08:24:05 · answer #1 · answered by Deirdre H 7 · 1 0

Programs use instructions that are stored in sequence in the executable (.exe) file.

A few programs like the POST (power on self test) are stored in ROM which is Read Only Memory. Otherwise, programs are loaded in RAM (Random access memory) and is volatile. This means it resides in RAM only as long as the program is running and the computer is not shut down.

2006-10-16 15:24:19 · answer #2 · answered by Windy 1 · 0 0

You are trying to get somebody else to do your homework for you? (true or false)

2006-10-16 15:20:09 · answer #3 · answered by Lloyd 5 · 0 0

fedest.com, questions and answers