Anti-spyware software

Tip: Choose Save as PDF in the print dialog to download. Use A4 paper size.

Anti-spyware software

Name:
Date:
Class:

Quick Questions

Shade in the A or B circle for each question.

1. What is the main job of anti-spyware software?
A Scan for and remove programs that secretly monitor the user
B Speed up the internet connection
2. Which program could anti-spyware software detect and remove?
A A key logger that records every key you type
B A word processor that you installed on purpose
3. Which describes a scan for spyware?
A The software checks files and programs on the device for known spyware
B The software encrypts every file so that no one can read it
4. What does real-time protection in anti-spyware do?
A It only checks for spyware when the computer is switched off
B It watches constantly and blocks spyware as it tries to install or run
5. What is the benefit of real-time protection over a manual scan only?
A The user no longer needs to install any software
B Spyware is blocked straight away, not found days later

Match the Pairs

Draw a line connecting each item on the left to its match on the right.

Left columnRight column
1scan_for_spyware(computer) ATurning real-time protection off after a scan leaves the computer open to new spyware. It should stay ON so spyware is blocked as it tries to run.
2real_time_protection = ON BAnti-spyware watches continuously and blocks a spying program as soon as it tries to install or run
3Anti-spyware removes any spyware that a scan has found, such as a key logger CAnti-spyware does not encrypt keystrokes. It scans for, removes and blocks the spyware that records them.
4Anti-virus focuses on viruses, while anti-spyware focuses on programs that secretly monitor the user DRuns an on-demand scan that searches the files and memory of a computer for hidden spyware
5IF scan_finished THEN real_time_protection = OFF EIF spyware_found THEN remove(spyware)
6anti-spyware encrypts the keystrokes sent by a key logger FIF program_logs_keystrokes THEN block(program)

Definitions

anti-spyware

Fill in the Blanks

Complete each line of code by filling in the missing parts.

1.
antispyware.____("C:/Downloads")
2.
antispyware.______(spyware)
3.
antispyware.realtime ← __
4.
IF spywareFound = ____ THEN remove
5.
antispyware._____(keylogger)

Spot the Error

Shade in the letter of the line that contains an error.

Question 1
A FOR EACH file IN scan_list
B IF file IN spy_list
C quarantine(file)
D ENDIF
E NEXT file
Question 2
A WHILE computer_is_on
B IF download IS safe THEN
C block(download)
D ENDWHILE
Question 3
A tool ← "anti-spyware"
B target ← key loggers
C PRINT tool, "removes", target
Question 4
A realtime ← FALSE
B WHILE realtime = TRUE
C watch_programs()
D ENDWHILE
Question 5
A PROCEDURE scan drive
B FOR EACH file IN drive
C check(file)
D NEXT file
E ENDPROCEDURE

Answer Key

Anti-spyware software
Section A: Quick Questions
Q1
A — Scan for and remove programs that secretly monitor the user
Q2
A — A key logger that records every key you type
Q3
A — The software checks files and programs on the device for known spyware
Q4
B — It watches constantly and blocks spyware as it tries to install or run
Q5
B — Spyware is blocked straight away, not found days later
Section B: Match the Pairs
Q1
scan_for_spyware(computer) → Runs an on-demand scan that searches the files and memory of a computer for hidden spyware
Q2
real_time_protection = ON → Anti-spyware watches continuously and blocks a spying program as soon as it tries to install or run
Q3
Anti-spyware removes any spyware that a scan has found, such as a key logger → IF spyware_found THEN remove(spyware)
Q4
Anti-virus focuses on viruses, while anti-spyware focuses on programs that secretly monitor the user → IF program_logs_keystrokes THEN block(program)
Q5
IF scan_finished THEN real_time_protection = OFF → Turning real-time protection off after a scan leaves the computer open to new spyware. It should stay ON so spyware is blocked as it tries to run.
Q6
anti-spyware encrypts the keystrokes sent by a key logger → Anti-spyware does not encrypt keystrokes. It scans for, removes and blocks the spyware that records them.
Section C: Definitions
Q1
anti-spyware — Software that scans for and removes spyware, and blocks programs that secretly monitor the user, such as key loggers. It can scan on demand or protect in real time.
Section D: Fill in the Blanks
Q1
antispyware.scan("C:/Downloads")
Q2
antispyware.remove(spyware)
Q3
antispyware.realtime ← ON
Q4
IF spywareFound = TRUE THEN remove
Q5
antispyware.block(keylogger)
Section E: Spot the Error
Q1
B — An IF statement must end with THEN. The line should be: IF file IN spy_list THEN. This is how a scan checks each file against known spyware.
Q2
B — Real-time protection should act on spyware, not on safe downloads. The condition should be: IF download IS spyware THEN, so only the spyware is blocked.
Q3
B — Text values must be in quotes. Without them, key and loggers would be read as variable names. It should be: target ← "key loggers".
Q4
A — Real-time protection must be switched on. If realtime is FALSE the loop never runs, so no programs are watched. It should be: realtime ← TRUE.
Q5
A — The parameter must be in brackets after the procedure name. The line should be: PROCEDURE scan(drive). This procedure scans every file on a drive for spyware.