Home › Computer Science › Computer Security & Viruses › Page 5
Computer Security & Viruses MCQs
20 practice MCQs on this page Page 5 of 18
Tap an option to check your answer — the correct answer and full explanation appear after you choose.
Computer Science Computer Security & Viruses FPSC ID: FPP-10636
A computer virus is defined as:
A A hardware fault
B A malicious program that harms a computer ✓ Correct answer
C A type of software update
D A network cable
✓ Correct answer: A malicious program that harms a computer
Full explanation A malicious program that harms a computer. A computer virus is a malicious program that harms a computer.
Computer Science Computer Security & Viruses FPSC ID: FPP-10700
Which software protects a computer from viruses?
A Antivirus ✓ Correct answer
B Browser
C Compiler
D Driver
✓ Correct answer: Antivirus
Full explanation Antivirus. Antivirus software protects a computer from viruses.
Computer Science Computer Security & Viruses FPSC ID: FPP-10751
Name a strong password practice.
A Using your name as password
B Using a long mix of letters, numbers and symbols ✓ Correct answer
C Using 12345
D Sharing your password
✓ Correct answer: Using a long mix of letters, numbers and symbols
Full explanation Using a long mix of letters, numbers and symbols. A strong password is a long mix of letters, numbers and symbols.
Computer Science Computer Security & Viruses BPSC ID: BPP-2787
Which of the following is a virus?
A A system update
B A hardware fault
C Malware that replicates by attaching to files ✓ Correct answer
D A network cable
✓ Correct answer: Malware that replicates by attaching to files
Full explanation A computer virus is malware that replicates by attaching itself to files. The correct answer is Malware that replicates by attaching to files.
Computer Science Computer Security & Viruses BPSC ID: BPP-2789
A firewall protects a network by:
A Printing documents
B Controlling network traffic ✓ Correct answer
C Storing data
D Cooling the CPU
✓ Correct answer: Controlling network traffic
Full explanation A firewall protects a network by controlling network traffic. The correct answer is Controlling network traffic.
Computer Science Computer Security & Viruses BPSC ID: BPP-2790
What type of attack is phishing?
A Network protocol
B Hardware failure
C Cyber attack ✓ Correct answer
D Software bug
✓ Correct answer: Cyber attack
Full explanation Phishing is a type of cyber attack. The correct answer is Cyber attack.
Computer Science Computer Security & Viruses BPSC ID: BPP-2791
Which of the following is the strongest password practice?
A Using your birth date
B Using a long mix of letters, numbers and symbols ✓ Correct answer
C Using your name
D Using '123456'
✓ Correct answer: Using a long mix of letters, numbers and symbols
Full explanation Using a long mix of letters, numbers and symbols is the strongest password practice.
Computer Science Computer Security & Viruses BPSC ID: BPP-2792
The process of converting plain text into coded text is called:
A Compression
B Encoding
C Decryption
D Encryption ✓ Correct answer
✓ Correct answer: Encryption
Full explanation Encryption is the process of converting plain text into coded text.
Computer Science Computer Security & Viruses FPSC ID: FPP-11393
A computer virus is a type of:
A Malware ✓ Correct answer
B Firmware
C Hardware
D Utility
✓ Correct answer: Malware
Full explanation A computer virus is a type of malware. The correct answer is Malware.
Computer Science Computer Security & Viruses FPSC ID: FPP-11394
Which one of the following is a strong password?
A 123456
B P@k1stan#2024 ✓ Correct answer
C qwerty
D password
✓ Correct answer: P@k1stan#2024
Full explanation P@k1stan#2024 is a strong password because it mixes letters, digits and symbols.
Computer Science Computer Security & Viruses FPSC ID: FPP-11395
Two-factor authentication requires:
A Two passwords
B Two usernames
C Two devices only
D Two different proofs of identity ✓ Correct answer
✓ Correct answer: Two different proofs of identity
Full explanation Two-factor authentication requires two different proofs of identity, such as a password and a code. The correct answer is Two different proofs of identity.
Computer Science Computer Security & Viruses FPSC ID: FPP-11396
Which of the following is an example of social engineering?
A Firewall
B Phishing email ✓ Correct answer
C Disk defragmentation
D Antivirus scan
✓ Correct answer: Phishing email
Full explanation A phishing email is an example of social engineering. The correct answer is Phishing email.
Computer Science Computer Security & Viruses ANF ID: FPP-13064
Phishing is a fraudulent attempt to obtain sensitive information. It is usually done through what?
A Text messages only
B Viruses
C Phone calls only
D Fake e-mails and websites ✓ Correct answer
✓ Correct answer: Fake e-mails and websites
Full explanation Fake e-mails and websites are what phishing is usually done through.
Computer Science Computer Security & Viruses MLC ID: FPP-13279
Antivirus software protects a computer from viruses. A firewall protects a computer from what?
A Unauthorised network access ✓ Correct answer
B Spam
C Viruses
D Power failure
✓ Correct answer: Unauthorised network access
Full explanation Unauthorised network access is what a firewall protects a computer from.
Computer Science Computer Security & Viruses PUNJABPOLICE ID: FPP-16461
Which of the following is a key function of a firewall?
A Deleting files
B Moving files
C Copying files
D Monitoring network traffic ✓ Correct answer
✓ Correct answer: Monitoring network traffic
Full explanation Monitoring network traffic. A firewall monitors incoming and outgoing network traffic and blocks anything unsafe.
Computer Science Computer Security & Viruses PPSC ID: LTP-7505
What does a firewall do?
A Speeds up the computer
B Blocks unauthorised access to a network ✓ Correct answer
C Deletes viruses
D Backs up files
✓ Correct answer: Blocks unauthorised access to a network
Full explanation A firewall blocks unauthorised access to a network while allowing legitimate traffic through.
Computer Science Computer Security & Viruses PPSC ID: LTP-7915
A computer virus is a program that:
A Speeds up the computer
B Cleans the screen
C Prints documents
D Spreads by copying itself and can harm a computer ✓ Correct answer
✓ Correct answer: Spreads by copying itself and can harm a computer
Full explanation A computer virus is a program that spreads by copying itself and can harm a computer or steal its data.
Computer Science Computer Security & Viruses PPSC ID: LTP-7916
A worm differs from a virus mainly because a worm:
A Spreads on its own without needing a host file ✓ Correct answer
B Only spreads on paper
C Needs a host file to spread
D Cannot spread at all
✓ Correct answer: Spreads on its own without needing a host file
Full explanation A worm spreads on its own without needing a host file, travelling across a network from one computer to another.
Computer Science Computer Security & Viruses PPSC ID: LTP-7917
A Trojan horse is malware that:
A Is a type of printer
B Pretends to be a useful program while hiding harmful code ✓ Correct answer
C Speeds up the Internet
D Protects passwords
✓ Correct answer: Pretends to be a useful program while hiding harmful code
Full explanation A Trojan horse pretends to be a useful program while hiding harmful code that runs when the program is opened.
Computer Science Computer Security & Viruses PPSC ID: LTP-7918
Phishing is a trick in which attackers try to get sensitive information by:
A Calling the police
B Printing fake money
C Sending fake emails or messages that look genuine ✓ Correct answer
D Breaking the keyboard
✓ Correct answer: Sending fake emails or messages that look genuine
Full explanation Phishing tries to get sensitive information by sending fake emails or messages that look genuine, such as a fake bank message.
Practice these MCQs interactively
← Computer Science MCQs