Suppose that a metamorphic virus, DoomShift, is 99% useless bytes and 1% useful bytes. Unfortunately, DoomShift has infected the login program on your Unix system and increased its size from 54K bytes to 1,054K bytes; hence, 1,000K bytes of the login program now consists of the DoomShift virus. Barb has a cleanup program, DoomSweep, that is able to prune away the useless bytes of the DoomShift virus, so that in any infected file it will consist of 98% useless bytes and 2% useful bytes.

If you apply DoomSweep to the infected login program, what will be its new size?


If the DoomShift virus is 99% useless bytes, then it has 990K useless bytes and 10K useful ones. If you reduce the amount of useless bytes so that this 10K is now 2% of the total, then the total must be 500K. Thus, after running DoomSweep, the size of the login program will be 554K bytes.

Computer Science & Information Technology

You might also like to view...

With segmentation, programs are divided into independently addressed segments and stored in __________ memory

a. real b. contiguous c. noncontiguous d. virtual

Computer Science & Information Technology

In SharePoint, a Tree view provides hierarchical navigation similar to a Folders list in File Explorer

Indicate whether the statement is true or false

Computer Science & Information Technology

What year was Windows 7 available on most new microcomputer systems?

A) 2009 B) 2008 C) 2007 D) 2010

Computer Science & Information Technology

What is the major difference between a linked file and an attachment?p.000

What will be an ideal response?

Computer Science & Information Technology