Computer virus - Quiz
  • 1. What is the primary characteristic of a cavity virus?
A) It overwrites unused areas of executable files to infect them without increasing their size.
B) It modifies the last modified date of the host file to match the original.
C) It deletes system processes to avoid detection.
D) It encrypts the entire host file to prevent unauthorized access.
  • 2. Which virus is cited as an example of a cavity virus?
A) The CIH virus
B) The W32/Simile virus
C) The Conficker virus
D) The polymorphic engine virus
  • 3. What is a rootkit used for in the context of computer viruses?
A) Automatically rebooting the system to trigger encryption.
B) Hiding the virus by preventing it from appearing on the system process list.
C) Encrypting the virus code to bypass signature scanning.
D) Increasing the file size to hide malicious code within gaps.
  • 4. Why is 'cleaning' a system after an infection often considered unreliable?
A) Because once an infection occurs, the integrity of the system cannot be guaranteed.
B) Because Windows files are too large to be scanned.
C) Because antivirus software is incapable of deleting files.
D) Because viruses automatically reinstall themselves through the internet.
  • 5. How do some viruses trick antivirus software during a 'read' request?
A) By intercepting the request and returning an uninfected version of the file.
B) By encrypting the entire NTFS file system.
C) By changing the system time to expire the antivirus license.
D) By deleting the antivirus software before it starts.
  • 6. What is the only reliable method to avoid 'stealth' viruses mentioned in the text?
A) Updating the operating system to the latest version.
B) Disabling all read requests to the hard drive.
C) Using a faster processor for scanning.
D) Booting from a medium known to be clear.
  • 7. What do many modern antivirus programs use to find virus patterns?
A) Manual file inspection by users
B) Deleting all executable files
C) Virus signatures
D) Hardware keyloggers
  • 8. How does simple encryption attempt to evade signature detection?
A) By encoding the body of the virus so the scanner cannot see it directly.
B) By using polymorphic engines exclusively.
C) By renaming the file extension.
D) By deleting the decryption module.
  • 9. What makes polymorphic viruses more difficult to detect than simple encrypted viruses?
A) They only infect non-executable files.
B) The decryption module itself is modified on each infection.
C) They are always larger in file size.
D) They do not use encryption.
  • 10. What is the function of a metamorphic engine?
A) To encrypt files for ransom purposes.
B) To hide the virus in the system registry.
C) To speed up the system's boot time.
D) To rewrite the virus code completely each time it infects a new executable.
  • 11. Why is W32/Simile considered a complex metamorphic virus?
A) Because it is entirely written in a high-level language.
B) Because it uses a simple XOR operation for decryption.
C) Because it resides entirely in the system memory.
D) Because it consists of over 14,000 lines of code.
  • 12. What is the advantage of using 'slow' polymorphic code?
A) It prevents the virus from being deleted by the user.
B) It reduces the CPU usage of the virus.
C) It allows the virus to spread faster across networks.
D) It makes obtaining representative samples for researchers more difficult.
  • 13. How can antivirus software detect polymorphic viruses despite their changing code?
A) By checking the file creation date.
B) By searching for a single static signature.
C) By using an emulator or statistical pattern analysis.
D) By ignoring the decryption module entirely.
  • 14. What was the purpose of old DOS viruses changing the 'last modified' date?
A) To bypass the NTFS file system.
B) To speed up file system access.
C) To avoid detection by users.
D) To prevent the virus from self-replicating.
  • 15. What happens if a virus overwrites the cryptographic hashes of system files in older Windows versions?
A) The virus becomes visible to the user.
B) The operating system crashes immediately.
C) The virus is automatically deleted.
D) The System File Checker may incorrectly report altered files as authentic.
  • 16. What is another common name for the virus trigger?
A) Propagation unit
B) Logic bomb
C) Resident module
D) Infection vector
  • 17. What is the primary function of the payload in a computer virus?
A) Executing malicious activity
B) Replicating the virus code
C) Determining the activation time
D) Scanning the hard drive
  • 18. How many phases are identified in the life cycle of a computer virus?
A) Four
B) Three
C) Two
D) Five
  • 19. In which phase is the virus idle and taking no action?
A) Execution phase
B) Dormant phase
C) Propagation phase
D) Triggering phase
  • 20. Which phase involves the actual release and performance of the payload?
A) Dormant phase
B) Triggering phase
C) Execution phase
D) Propagation phase
  • 21. Where does a memory-resident virus reside after execution?
A) RAM
B) External storage devices only
C) The CPU cache
D) The BIOS chip
  • 22. What is the primary target of a boot sector virus?
A) Microsoft Word macros
B) RAM address space
C) Master Boot Record
D) System binary files
  • 23. What is the most common way boot sector viruses are transmitted?
A) Email attachments
B) Physical media
C) System updates
D) Downloading web pages
  • 24. Which email application is frequently targeted by email viruses?
A) Microsoft Excel
B) Microsoft Outlook
C) Microsoft Notepad
D) Microsoft Paint
  • 25. Which component determines the condition for payload activation?
A) Infection mechanism
B) Execution handler
C) Propagation module
D) Trigger
  • 26. Are all computer viruses equipped with a dormant phase?
A) Yes
B) Only boot sector viruses
C) No
D) Only macro viruses
  • 27. What is the primary difference between a computer virus and a computer worm?
A) A virus is an independent program.
B) A worm cannot replicate itself.
C) A worm does not require a host program.
D) A worm is always less dangerous than a virus.
  • 28. Who is considered the theoretical father of computer virology?
A) Richard Skrenta
B) John von Neumann
C) Fred Cohen
D) Bob Thomas
  • 29. Which virus was the first to appear 'in the wild' on personal computers?
A) WinVir
B) Creeper
C) Brain
D) Elk Cloner
  • 30. Who coined the term 'virus' for a self-reproducing program?
A) Leonard Adleman
B) Fred Cohen
C) Jürgen Kraus
D) John von Neumann
  • 31. What was the first IBM PC compatible virus in the wild?
A) Elk Cloner
B) (c)Brain
C) WinVir
D) SCA virus
  • 32. Which virus was the first to specifically target Windows 95?
A) Creeper
B) WinVir
C) Win32.Cabanas
D) Bizatch
  • 33. How did the Elk Cloner virus spread?
A) Via email attachments.
B) Via network cable.
C) Via floppy disk.
D) Via the internet.
  • 34. What motive is mentioned for creating ransomware?
A) Improving system performance.
B) Seeking profit.
C) Personal amusement only.
D) Testing antivirus software.
  • 35. In what year was the first academic work on self-replicating programs done?
A) 1949
B) 1971
C) 1986
D) 1981
  • 36. What operating system did the Creeper virus infect on DEC PDP-10 computers?
A) TENEX
B) Apple DOS 3.3
C) Windows 95
D) MS-DOS
  • 37. Which virus was the first known to target Windows NT?
A) Win32.Cabanas
B) Creeper
C) Bizatch
D) WinVir
Created with That Quiz — a math test site for students of all grade levels.