Computer Security & Viruses MCQs
20 practice MCQs on this page Page 10 of 18
Tap an option to check your answer — the correct answer and full explanation appear after you choose.
Computer ScienceComputer Security & Viruses PPSCID: LTP-8241
Which malware replicates itself and spreads across networks without needing a host file?
- ATrojan horse
- BComputer worm ✓ Correct answer
- CSpyware
- DAdware
✓ Correct answer: Computer worm
Full explanation
A Computer worm replicates itself and spreads across networks without needing a host file to attach to.
Computer ScienceComputer Security & Viruses PPSCID: LTP-8242
Which malware encrypts a victim's files and demands payment for the decryption key?
- ASpyware
- BKeylogger
- CRansomware ✓ Correct answer
- DAdware
✓ Correct answer: Ransomware
Full explanation
Ransomware encrypts a victim's files and demands payment for the decryption key.
Computer ScienceComputer Security & Viruses PPSCID: LTP-8243
Which attack uses a fake email or website that looks genuine to steal passwords?
- ASpoofing
- BSniffing
- CBrute-force attack
- DPhishing ✓ Correct answer
✓ Correct answer: Phishing
Full explanation
Phishing uses a fake email or website that looks genuine to steal passwords and other sensitive data.
Computer ScienceComputer Security & Viruses PPSCID: LTP-8244
Which software secretly monitors a user's activity and sends the data to a third party?
- ASpyware ✓ Correct answer
- BRansomware
- CFirewall
- DAntivirus
✓ Correct answer: Spyware
Full explanation
Spyware secretly monitors a user's activity and sends the collected data to a third party without consent.
Computer ScienceComputer Security & Viruses PPSCID: LTP-8245
Which malicious program records every keystroke typed on a computer?
- ATrojan horse
- BKeylogger ✓ Correct answer
- CRootkit
- DBoot sector virus
✓ Correct answer: Keylogger
Full explanation
A Keylogger records every keystroke typed on a computer, which can reveal passwords and messages.
Computer ScienceComputer Security & Viruses PPSCID: LTP-8246
Which security device monitors and controls incoming and outgoing network traffic based on rules?
- ARouter
- BSwitch
- CFirewall ✓ Correct answer
- DModem
✓ Correct answer: Firewall
Full explanation
A Firewall monitors and controls incoming and outgoing network traffic based on a set of security rules.
Computer ScienceComputer Security & Viruses PPSCID: LTP-8247
Which software detects, quarantines and removes malicious programs from a computer?
- AFirewall
- BVPN
- CProxy server
- DAntivirus software ✓ Correct answer
✓ Correct answer: Antivirus software
Full explanation
Antivirus software detects, quarantines and removes malicious programs from a computer.
Computer ScienceComputer Security & Viruses PPSCID: LTP-8248
Which process converts readable plaintext into unreadable ciphertext using a key?
- AEncryption ✓ Correct answer
- BDecryption
- CHashing
- DCompression
✓ Correct answer: Encryption
Full explanation
Encryption converts readable plaintext into unreadable ciphertext using a key, so only key holders can read it.
Computer ScienceComputer Security & Viruses PPSCID: LTP-8249
Which one-way function produces a fixed-length digest from data and cannot be reversed to recover the original?
- AEncryption
- BHashing ✓ Correct answer
- CDecryption
- DEncoding
✓ Correct answer: Hashing
Full explanation
Hashing produces a fixed-length digest from data and is a one-way function that cannot be reversed to recover the original data.
Computer ScienceComputer Security & Viruses PPSCID: LTP-8250
Which encryption uses the same secret key for both encryption and decryption?
- AAsymmetric encryption
- BHashing
- CSymmetric encryption ✓ Correct answer
- DSteganography
✓ Correct answer: Symmetric encryption
Full explanation
Symmetric encryption uses the same secret key for both encryption and decryption, as in AES.
Computer ScienceComputer Security & Viruses PPSCID: LTP-8251
Which encryption uses a public key to encrypt and a private key to decrypt?
- ASymmetric encryption
- BHashing
- CEncoding
- DAsymmetric encryption ✓ Correct answer
✓ Correct answer: Asymmetric encryption
Full explanation
Asymmetric encryption uses a public key to encrypt and a private key to decrypt, as in RSA.
Computer ScienceComputer Security & Viruses PPSCID: LTP-8252
Which symmetric encryption standard uses 128-bit blocks and key sizes of 128, 192 or 256 bits?
- AAES ✓ Correct answer
- BDES
- CRSA
- DMD5
✓ Correct answer: AES
Full explanation
AES is the symmetric encryption standard that uses 128-bit blocks and key sizes of 128, 192 or 256 bits.
Computer ScienceComputer Security & Viruses PPSCID: LTP-8253
Which asymmetric algorithm is widely used for secure key exchange and digital signatures?
- AAES
- BRSA ✓ Correct answer
- CDES
- DSHA-256
✓ Correct answer: RSA
Full explanation
RSA is the asymmetric algorithm widely used for secure key exchange and digital signatures.
Computer ScienceComputer Security & Viruses PPSCID: LTP-8254
Which mechanism proves a message came from a claimed sender and was not altered?
- AChecksum
- BPassword
- CDigital signature ✓ Correct answer
- DCaptcha
✓ Correct answer: Digital signature
Full explanation
A Digital signature proves a message came from a claimed sender and was not altered in transit.
Computer ScienceComputer Security & Viruses PPSCID: LTP-8255
Which attack floods a server with traffic from many machines so legitimate users cannot reach it?
- APhishing attack
- BSQL injection
- CMan-in-the-middle attack
- DDistributed Denial of Service (DDoS) attack ✓ Correct answer
✓ Correct answer: Distributed Denial of Service (DDoS) attack
Full explanation
A Distributed Denial of Service (DDoS) attack floods a server with traffic from many machines so legitimate users cannot reach it.
Computer ScienceComputer Security & Viruses PPSCID: LTP-8257
Which web attack injects a malicious script into a page viewed by other users?
- ASQL injection
- BCross-site scripting (XSS) ✓ Correct answer
- CPhishing
- DDDoS attack
✓ Correct answer: Cross-site scripting (XSS)
Full explanation
Cross-site scripting (XSS) injects a malicious script into a page viewed by other users, often to steal session cookies.
Computer ScienceComputer Security & Viruses PPSCID: LTP-8260
Which security method requires a password plus a second proof such as a code from a phone?
- ATwo-factor authentication ✓ Correct answer
- BSingle sign-on
- CCaptcha
- DBiometric login only
✓ Correct answer: Two-factor authentication
Full explanation
Two-factor authentication requires a password plus a second proof such as a code from a phone, making stolen passwords alone insufficient.
Computer ScienceComputer Security & Viruses PPSCID: LTP-8261
Which technology creates an encrypted tunnel over the internet for private communication?
- AFirewall
- BVirtual Private Network (VPN) ✓ Correct answer
- CProxy server
- DIntranet
✓ Correct answer: Virtual Private Network (VPN)
Full explanation
A Virtual Private Network (VPN) creates an encrypted tunnel over the internet for private communication.
Computer ScienceComputer Security & Viruses PPSCID: LTP-8262
Which protocol encrypts data exchanged between a web browser and a web server?
- AFTP
- BSMTP
- CTLS ✓ Correct answer
- DTelnet
✓ Correct answer: TLS
Full explanation
TLS encrypts data exchanged between a web browser and a web server; it is the successor to SSL.
Computer ScienceComputer Security & Viruses PPSCID: LTP-8263
Which malware hides deep in a system so that it and other malware remain undetected?
- AAdware
- BSpyware
- CWorm
- DRootkit ✓ Correct answer
✓ Correct answer: Rootkit
Full explanation
A Rootkit hides deep in a system so that it and other malware remain undetected by normal tools.
Practice these MCQs interactively
← Computer Science MCQs