New answers tagged

3

Although there is no single source of truth about these terms, I think we can agree about the fundamental difference between a program and a process: a program is a set of instructions intended to achieve a goal. It is an artifact. Instructions may be expressed in a human readable high level language or an equivalent low level (compiled) machine ...


1

What is the relationship between a program and processes in the Operating System? Depends on the program. I can write low level program that doesn't need an operating system. Indeed that's what an operating system is. If the hardware supports everything I need I won't even miss the os. If however, I need to load a file and have no OS to help out I'm in ...


2

To a simple definition, a program is really just a piece of data typically that lives on the disc as a file. That data, of course, contains both encodings of cpu instructions along with data (like string literals, etc..) Whereas a process is a program loaded into memory and usually has been started. Loading a program into a process usually means ...



Top 50 recent answers are included