Virus can be a non-memory or memory-resident; A non-resident virus is a computer virus that does not store or execute itself from computer memory. Executable viruses are an example of a non-resident virus. Memory-Resident virus stays in the memory and …