Home › Computer Science › Computer Security & Viruses › Page 7
Computer Security & Viruses MCQs
20 practice MCQs on this page Page 7 of 18
Tap an option to check your answer — the correct answer and full explanation appear after you choose.
Computer Science Computer Security & Viruses PPSC ID: LTP-7959
Which password attack systematically tries every possible combination of characters until the correct password is found?
A Dictionary attack
B Brute-force attack ✓ Correct answer
C Phishing attack
D Replay attack
✓ Correct answer: Brute-force attack
Full explanation A brute-force attack systematically tries every possible combination of characters until the correct password is found.
Computer Science Computer Security & Viruses PPSC ID: LTP-7960
Which term describes a software weakness that is unknown to the vendor, so no patch exists for it yet when attackers start exploiting it?
A Zero-day vulnerability ✓ Correct answer
B Known vulnerability
C Patched vulnerability
D False positive
✓ Correct answer: Zero-day vulnerability
Full explanation A zero-day vulnerability is a software weakness unknown to the vendor, so no patch exists for it yet when attackers start exploiting it.
Computer Science Computer Security & Viruses PPSC ID: LTP-7961
In computer security, what is the name of the process of applying a vendor-supplied update that fixes a known weakness in software?
A Formatting
B Defragmenting
C Overclocking
D Patching ✓ Correct answer
✓ Correct answer: Patching
Full explanation Patching is the process of applying a vendor-supplied update that fixes a known weakness in software.
Computer Science Computer Security & Viruses PPSC ID: LTP-7962
Which self-replicating malware spreads from one computer to another across a network without needing to attach itself to another program or file?
A Trojan horse
B Macro virus
C Computer worm ✓ Correct answer
D Boot sector virus
✓ Correct answer: Computer worm
Full explanation A computer worm is self-replicating malware that spreads from one computer to another across a network without needing to attach itself to another program or file.
Computer Science Computer Security & Viruses PPSC ID: LTP-7963
Which stealthy malware is designed to hide its own presence and give an attacker hidden, privileged access to a computer?
A Keylogger
B Rootkit ✓ Correct answer
C Adware
D Spyware
✓ Correct answer: Rootkit
Full explanation A rootkit is stealthy malware designed to hide its own presence and give an attacker hidden, privileged access to a computer.
Computer Science Computer Security & Viruses PPSC ID: LTP-7964
Under which Pakistani law, enacted in 2016, are offences such as unauthorised access, hacking and cyberstalking prosecuted?
A Prevention of Electronic Crimes Act, 2016 ✓ Correct answer
B Pakistan Penal Code, 1860
C Cyber Security Act, 2014
D Information Technology Act, 2000
✓ Correct answer: Prevention of Electronic Crimes Act, 2016
Full explanation The Prevention of Electronic Crimes Act, 2016 is the Pakistani law under which offences such as unauthorised access, hacking and cyberstalking are prosecuted.
Computer Science Computer Security & Viruses PPSC ID: LTP-8040
Which hidden program records every keystroke a user types in order to steal passwords and other typed secrets?
A Firewall
B Keylogger ✓ Correct answer
C Antivirus
D Cookie
✓ Correct answer: Keylogger
Full explanation A keylogger is a hidden program that records every keystroke a user types in order to steal passwords and other typed secrets.
Computer Science Computer Security & Viruses PPSC ID: LTP-8041
Which unwanted software displays large numbers of advertisements on a user's screen, often slowing the computer down?
A Adware ✓ Correct answer
B Spyware
C Ransomware
D Rootkit
✓ Correct answer: Adware
Full explanation Adware is unwanted software that displays large numbers of advertisements on a user's screen, often slowing the computer down.
Computer Science Computer Security & Viruses PPSC ID: LTP-8042
Which term describes a network of infected computers that an attacker controls remotely, often to send spam or launch attacks?
A Intranet
B Extranet
C Subnet
D Botnet ✓ Correct answer
✓ Correct answer: Botnet
Full explanation A botnet is a network of infected computers that an attacker controls remotely, often to send spam or launch attacks.
Computer Science Computer Security & Viruses PPSC ID: LTP-8043
Which hidden entry point lets an attacker bypass normal authentication and gain access to a system without being noticed?
A Front door
B Firewall
C Backdoor ✓ Correct answer
D Gateway
✓ Correct answer: Backdoor
Full explanation A backdoor is a hidden entry point that lets an attacker bypass normal authentication and gain access to a system without being noticed.
Computer Science Computer Security & Viruses PPSC ID: LTP-8044
Which attack involves falsifying an email address, IP address or caller identity so the victim believes the message comes from a trusted source?
A Sniffing
B Spoofing ✓ Correct answer
C Phishing
D Spamming
✓ Correct answer: Spoofing
Full explanation Spoofing involves falsifying an email address, IP address or caller identity so the victim believes the message comes from a trusted source.
Computer Science Computer Security & Viruses PPSC ID: LTP-8045
Which technique involves capturing and inspecting data packets travelling over a network in order to read private information?
A Packet sniffing ✓ Correct answer
B Packet filtering
C Packet switching
D Packet routing
✓ Correct answer: Packet sniffing
Full explanation Packet sniffing involves capturing and inspecting data packets travelling over a network in order to read private information.
Computer Science Computer Security & Viruses PPSC ID: LTP-8046
Which fraud technique steals tiny amounts of money from a large number of accounts, so each individual theft goes unnoticed?
A Logic bomb
B Denial-of-service attack
C Replay attack
D Salami attack ✓ Correct answer
✓ Correct answer: Salami attack
Full explanation A salami attack steals tiny amounts of money from a large number of accounts, so each individual theft goes unnoticed.
Computer Science Computer Security & Viruses PPSC ID: LTP-8047
Which malicious code lies dormant inside a system until a specific date, time or condition triggers it to cause harm?
A Time bomb virus
B Worm
C Logic bomb ✓ Correct answer
D Trojan horse
✓ Correct answer: Logic bomb
Full explanation A logic bomb is malicious code that lies dormant inside a system until a specific date, time or condition triggers it to cause harm.
Computer Science Computer Security & Viruses PPSC ID: LTP-8048
Which simple attack involves watching over a person's shoulder as they type a password or PIN?
A Dumpster diving
B Shoulder surfing ✓ Correct answer
C Tailgating
D Pretexting
✓ Correct answer: Shoulder surfing
Full explanation Shoulder surfing is the simple attack of watching over a person's shoulder as they type a password or PIN.
Computer Science Computer Security & Viruses PPSC ID: LTP-8049
Which information-gathering technique involves searching through discarded papers and rubbish for confidential information?
A Dumpster diving ✓ Correct answer
B Phishing
C Vishing
D Smishing
✓ Correct answer: Dumpster diving
Full explanation Dumpster diving is the information-gathering technique of searching through discarded papers and rubbish for confidential information.
Computer Science Computer Security & Viruses PPSC ID: LTP-8050
Which technique adds a random value to each password before hashing it, so that identical passwords produce different hash values?
A Peppering
B Hashing
C Encrypting
D Salting ✓ Correct answer
✓ Correct answer: Salting
Full explanation Salting adds a random value to each password before hashing it, so identical passwords produce different hash values.
Computer Science Computer Security & Viruses PPSC ID: LTP-8051
Which test is used on websites to distinguish a human user from an automated bot, for example by asking the user to identify pictures?
A Cookie
B Token
C CAPTCHA ✓ Correct answer
D Firewall
✓ Correct answer: CAPTCHA
Full explanation A CAPTCHA is the test used on websites to distinguish a human user from an automated bot, for example by asking the user to identify pictures.
Computer Science Computer Security & Viruses PPSC ID: LTP-8052
Which authentication method verifies a person's identity using a unique physical trait such as a fingerprint or iris pattern?
A Password authentication
B Biometric authentication ✓ Correct answer
C Token authentication
D PIN authentication
✓ Correct answer: Biometric authentication
Full explanation Biometric authentication verifies a person's identity using a unique physical trait such as a fingerprint or iris pattern.
Computer Science Computer Security & Viruses PPSC ID: LTP-8053
Which temporary code, valid for only one login or a short period, is sent to a user as a second factor of authentication?
A One-time password (OTP) ✓ Correct answer
B Static password
C Master password
D Default password
✓ Correct answer: One-time password (OTP)
Full explanation A one-time password (OTP) is a temporary code, valid for only one login or a short period, sent to a user as a second factor of authentication.
Practice these MCQs interactively
← Computer Science MCQs