Computer Security & Viruses MCQs
20 practice MCQs on this page Page 14 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-8582
What is SQL injection?
- AA way of speeding up SQL queries
- BA method of backing up a database
- CInserting malicious SQL code into a website input to attack its database ✓ Correct answer
- DA type of database index
✓ Correct answer: Inserting malicious SQL code into a website input to attack its database
Full explanation
SQL injection is inserting malicious SQL code into a website input to attack its database.
Computer ScienceComputer Security & Viruses PPSCID: LTP-8583
What is cross-site scripting (XSS)?
- AA method of designing web pages
- BA way of compressing images
- CA type of firewall rule
- DInjecting malicious scripts into a trusted website viewed by others ✓ Correct answer
✓ Correct answer: Injecting malicious scripts into a trusted website viewed by others
Full explanation
Cross-site scripting (XSS) is injecting malicious scripts into a trusted website viewed by others.
Computer ScienceComputer Security & Viruses PPSCID: LTP-8584
What is social engineering in cyber security?
- AManipulating people into revealing confidential information ✓ Correct answer
- BBuilding social media websites
- CEngineering computer hardware
- DWriting software for social networks
✓ Correct answer: Manipulating people into revealing confidential information
Full explanation
Social engineering is manipulating people into revealing confidential information.
Computer ScienceComputer Security & Viruses PPSCID: LTP-8585
What is a zero-day vulnerability?
- AA flaw fixed on the day it is found
- BA security flaw that is unknown to the software maker and has no fix yet ✓ Correct answer
- CA virus that lasts for zero days
- DA password that expires in a day
✓ Correct answer: A security flaw that is unknown to the software maker and has no fix yet
Full explanation
A zero-day vulnerability is a security flaw that is unknown to the software maker and has no fix yet.
Computer ScienceComputer Security & Viruses PPSCID: LTP-8588
What is encryption?
- AConverting data into a coded form that only authorised people can read ✓ Correct answer
- BCompressing data to save space
- CDeleting data permanently
- DCopying data to another drive
✓ Correct answer: Converting data into a coded form that only authorised people can read
Full explanation
Encryption is converting data into a coded form that only authorised people can read.
Computer ScienceComputer Security & Viruses PPSCID: LTP-8589
Which encryption method uses the same key to encrypt and decrypt data?
- AAsymmetric encryption
- BSymmetric encryption ✓ Correct answer
- CHashing
- DDigital signature
✓ Correct answer: Symmetric encryption
Full explanation
Symmetric encryption uses the same key to encrypt and decrypt data.
Computer ScienceComputer Security & Viruses PPSCID: LTP-8668
Which encryption method uses a public key and a private key?
- AAsymmetric encryption ✓ Correct answer
- BSymmetric encryption
- CHashing
- DSteganography
✓ Correct answer: Asymmetric encryption
Full explanation
Asymmetric encryption uses a public key and a private key.
Computer ScienceComputer Security & Viruses PPSCID: LTP-8669
Which symmetric encryption standard is widely used today for secure data?
- ADES
- BAES ✓ Correct answer
- CMD5
- DSHA-1
✓ Correct answer: AES
Full explanation
AES is the symmetric encryption standard widely used today for secure data.
Computer ScienceComputer Security & Viruses PPSCID: LTP-8670
Which asymmetric encryption algorithm is based on the difficulty of factoring large numbers?
- AAES
- BDES
- CRSA ✓ Correct answer
- DMD5
✓ Correct answer: RSA
Full explanation
RSA is the asymmetric encryption algorithm based on the difficulty of factoring large numbers.
Computer ScienceComputer Security & Viruses PPSCID: LTP-8671
What is a hash function used for in security?
- AEncrypting data with a password
- BCompressing large files
- CHiding data inside images
- DProducing a fixed-size fingerprint of data to check its integrity ✓ Correct answer
✓ Correct answer: Producing a fixed-size fingerprint of data to check its integrity
Full explanation
Producing a fixed-size fingerprint of data to check its integrity is the job of a hash function.
Computer ScienceComputer Security & Viruses PPSCID: LTP-8672
Which hashing algorithm produces a 256-bit hash value?
- ASHA-256 ✓ Correct answer
- BMD5
- CDES
- DAES
✓ Correct answer: SHA-256
Full explanation
SHA-256 is the hashing algorithm that produces a 256-bit hash value.
Computer ScienceComputer Security & Viruses PPSCID: LTP-8673
What is a digital signature used for?
- AEncrypting a whole hard disk
- BVerifying the sender and the integrity of a message ✓ Correct answer
- CHiding a file inside an image
- DSpeeding up a download
✓ Correct answer: Verifying the sender and the integrity of a message
Full explanation
A digital signature is used for verifying the sender and the integrity of a message.
Computer ScienceComputer Security & Viruses PPSCID: LTP-8675
What is a digital certificate used for?
- AStoring passwords in a browser
- BCompressing website images
- CSpeeding up a web server
- DProving the identity of a website or person online ✓ Correct answer
✓ Correct answer: Proving the identity of a website or person online
Full explanation
A digital certificate is used for proving the identity of a website or person online.
Computer ScienceComputer Security & Viruses PPSCID: LTP-8676
What is a botnet?
- AA network of infected computers controlled by an attacker ✓ Correct answer
- BA network of fast gaming computers
- CA type of firewall
- DA backup network for emergencies
✓ Correct answer: A network of infected computers controlled by an attacker
Full explanation
A botnet is a network of infected computers controlled by an attacker.
Computer ScienceComputer Security & Viruses PPSCID: LTP-8677
What is a honeypot in cyber security?
- AA tool that removes viruses
- BA decoy system set up to attract and study attackers ✓ Correct answer
- CA password manager
- DA type of antivirus
✓ Correct answer: A decoy system set up to attract and study attackers
Full explanation
A honeypot is a decoy system set up to attract and study attackers.
Computer ScienceComputer Security & Viruses PPSCID: LTP-8678
What does IDS stand for in network security?
- AInternet Data Service
- BInternal Defence Software
- CIntrusion Detection System ✓ Correct answer
- DIntrusion Defence Standard
✓ Correct answer: Intrusion Detection System
Full explanation
IDS stands for Intrusion Detection System.
Computer ScienceComputer Security & Viruses PPSCID: LTP-8679
What is the difference between IDS and IPS?
- AIDS blocks attacks while IPS only detects
- BIDS is hardware and IPS is software
- CThere is no difference
- DIPS blocks attacks while IDS only detects and alerts ✓ Correct answer
✓ Correct answer: IPS blocks attacks while IDS only detects and alerts
Full explanation
IPS blocks attacks while IDS only detects and alerts.
Computer ScienceComputer Security & Viruses PPSCID: LTP-8680
What is spoofing?
- APretending to be someone or something else to deceive a system ✓ Correct answer
- BEncrypting a message
- CBacking up a server
- DDeleting log files
✓ Correct answer: Pretending to be someone or something else to deceive a system
Full explanation
Spoofing is pretending to be someone or something else to deceive a system.
Computer ScienceComputer Security & Viruses PPSCID: LTP-8681
What is a dictionary attack?
- ATrying every possible character combination
- BTrying passwords from a list of common words ✓ Correct answer
- CGuessing a password from a birthday
- DStealing a password with a keylogger
✓ Correct answer: Trying passwords from a list of common words
Full explanation
Trying passwords from a list of common words is called a dictionary attack.
Computer ScienceComputer Security & Viruses PPSCID: LTP-8682
What is salting in password security?
- AEncrypting a password with two keys
- BStoring a password in plain text
- CAdding random data to a password before hashing it ✓ Correct answer
- DChanging a password every week
✓ Correct answer: Adding random data to a password before hashing it
Full explanation
Salting is adding random data to a password before hashing it.
Practice these MCQs interactively
← Computer Science MCQs