Term:
Self-replicating computer programme
Definition:

Is a computer program that, when executed, outputs its own code A more trivial approach is to write a program that will make a copy of any stream of data that it is directed to, and then direct it at itself. In this case the program is treated as both executable code, and as data to be manipulated. This approach is common in most self-replicating systems, including biological life, and is simpler in that it does not require the program to contain a complete description of itself. In many programming languages an empty program is still a legal program, which executes without producing errors or any other output. The output is thus the same as the source code, so the program is trivially self-reproducing.

Domain:
ICT
Source:
ESCWA
arrow-up icon
Feedback