A collision attack intentionally interferes with frames so that they must be retransmitted.
Incorrect! Try again.
11Which network-layer attack creates a false short path between two distant network locations?
Attacks at the Network Layer
Easy
A.Collision attack
B.Jamming attack
C.Wormhole attack
D.Phishing attack
Correct Answer: Wormhole attack
Explanation:
A wormhole attack tunnels packets between distant locations to create a misleading route.
Incorrect! Try again.
12Which transport-layer attack sends many connection requests to exhaust a server's resources?
Attacks at the Transport Layer
Easy
A.Signal jamming
B.Route poisoning
C.SYN flooding
D.Frame collision
Correct Answer: SYN flooding
Explanation:
SYN flooding creates many incomplete TCP connections and consumes server resources.
Incorrect! Try again.
13Which application-layer attack tricks users into revealing sensitive information through deceptive messages?
Attacks at the Application Layer
Easy
A.Jamming
B.Wormhole
C.Collision
D.Phishing
Correct Answer: Phishing
Explanation:
Phishing uses deceptive messages or websites to obtain passwords and other sensitive information.
Incorrect! Try again.
14Which VANET attack involves one vehicle presenting multiple false identities?
Attacks on VANET
Easy
A.Replay attack
B.Jamming attack
C.Flooding attack
D.Sybil attack
Correct Answer: Sybil attack
Explanation:
In a Sybil attack, one malicious vehicle claims multiple identities to influence the network.
Incorrect! Try again.
15Which cipher is a traditional symmetric-key cipher?
Traditional symmetric-key cipher
Easy
A.RSA cipher
B.Caesar cipher
C.Diffie-Hellman exchange
D.ElGamal cipher
Correct Answer: Caesar cipher
Explanation:
The Caesar cipher is a traditional symmetric cipher that shifts letters by a fixed amount.
Incorrect! Try again.
16What is the main key characteristic of a symmetric-key cipher?
Symmetric key cipher
Easy
A.A public key decrypts all messages
B.No key is required for decryption
C.The same key encrypts and decrypts
D.Two public keys encrypt and decrypt
Correct Answer: The same key encrypts and decrypts
Explanation:
Symmetric encryption uses the same shared secret key for encryption and decryption.
Incorrect! Try again.
17What is the primary purpose of cryptanalysis?
Cryptanalysis
Easy
A.To increase the speed of a network
B.To compress data before transmission
C.To create physical communication channels
D.To analyze and break cryptographic systems
Correct Answer: To analyze and break cryptographic systems
Explanation:
Cryptanalysis studies methods for recovering plaintext or keys without authorized access.
Incorrect! Try again.
18What happens to plaintext symbols in a substitution cipher?
Substitution cipher
Easy
A.They are rearranged into new positions
B.They are removed from the message
C.They are divided into network packets
D.They are replaced by other symbols
Correct Answer: They are replaced by other symbols
Explanation:
A substitution cipher replaces each plaintext symbol with another symbol according to a rule.
Incorrect! Try again.
19What does a transposition cipher change in a plaintext message?
Transposition cipher
Easy
A.The identities of its symbols
B.The positions of its symbols
C.The meaning of its symbols
D.The number of its symbols
Correct Answer: The positions of its symbols
Explanation:
A transposition cipher rearranges symbol positions without replacing the symbols themselves.
Incorrect! Try again.
20Which VANET attack sends previously captured valid messages again at a later time?
Attacks on VANET
Easy
A.Wormhole attack
B.Replay attack
C.Sybil attack
D.Jamming attack
Correct Answer: Replay attack
Explanation:
A replay attack retransmits captured valid messages to mislead vehicles or network services.
Incorrect! Try again.
21A receiver obtains a file whose hash differs from the hash published by the sender. Which security goal has most directly failed?
Security Goals
Medium
A.Availability
B.Integrity
C.Anonymity
D.Confidentiality
Correct Answer: Integrity
Explanation:
A hash mismatch indicates that the file was modified, so its integrity cannot be guaranteed.
Incorrect! Try again.
22An attacker can submit selected ciphertexts to a decryption system and observe the resulting plaintexts, except for one target ciphertext. What type of attack is this?
Cryptographic Attacks
Medium
A.Chosen-ciphertext attack
B.Known-plaintext attack
C.Chosen-plaintext attack
D.Ciphertext-only attack
Correct Answer: Chosen-ciphertext attack
Explanation:
In a chosen-ciphertext attack, the attacker studies plaintext outputs produced by decrypting selected ciphertexts.
Incorrect! Try again.
23Which mechanism most directly provides data-origin authentication and nonrepudiation for a transmitted message?
Services and Mechanism
Medium
A.Error-correcting code
B.Digital signature
C.Random initialization vector
D.Symmetric encryption
Correct Answer: Digital signature
Explanation:
A digital signature binds the sender's private key to the message, supporting authentication and nonrepudiation.
Incorrect! Try again.
24Using the Extended Euclidean Algorithm, what is the multiplicative inverse of modulo ?
Extended Euclidean Algorithm
Medium
A.
B.
C.
D.
Correct Answer:
Explanation:
The algorithm gives . Thus, is the inverse.
Incorrect! Try again.
25Which pair satisfies ?
Extended Euclidean Algorithm
Medium
A.
B.
C.
D.
Correct Answer:
Explanation:
Since and , the required pair is .
Incorrect! Try again.
26What is the value of ?
Modular Arithmetic
Medium
A.
B.
C.
D.
Correct Answer:
Explanation:
By Fermat's theorem, . Hence .
Incorrect! Try again.
27Find the smallest nonnegative integer satisfying and .
Modular Arithmetic
Medium
A.
B.
C.
D.
Correct Answer:
Explanation:
leaves remainder when divided by and remainder when divided by .
Incorrect! Try again.
28A vehicle silently records safety beacons exchanged by nearby nodes without modifying or blocking them. How should this attack be classified?
Classification of attacks for wireless ad hoc and VANET
Medium
A.Active routing attack
B.Physical jamming attack
C.Internal modification attack
D.Passive eavesdropping attack
Correct Answer: Passive eavesdropping attack
Explanation:
The attacker only observes communication and does not alter network operation, making the attack passive.
Incorrect! Try again.
29An attacker continuously transmits interference on the frequency used by an ad hoc network. Which technique most directly improves resistance to this attack?
Attacks at the Physical Layer
Medium
A.Frequency-hopping spread spectrum
B.Smaller routing tables
C.Longer MAC addresses
D.Static channel allocation
Correct Answer: Frequency-hopping spread spectrum
Explanation:
Frequency hopping changes the transmission frequency according to a shared pattern, making continuous jamming more difficult.
Incorrect! Try again.
30A selfish wireless node repeatedly selects a much smaller contention window than other nodes to gain extra transmission opportunities. Which attack is being performed?
Attacks at the MAC Layer
Medium
A.Backoff manipulation
B.Route poisoning
C.Session hijacking
D.Beacon fabrication
Correct Answer: Backoff manipulation
Explanation:
The node manipulates the MAC contention process by using an unfairly short backoff period.
Incorrect! Try again.
31Two malicious nodes in distant parts of an ad hoc network create a fast private link and replay routing packets between their locations. Which attack does this describe?
Attacks at the Network Layer
Medium
A.Flooding attack
B.Blackhole attack
C.Jamming attack
D.Wormhole attack
Correct Answer: Wormhole attack
Explanation:
A wormhole uses a private tunnel between colluding nodes to replay packets and distort perceived network topology.
Incorrect! Try again.
32An attacker predicts valid TCP sequence numbers and injects packets into an established connection between two mobile nodes. Which attack is most likely?
Attacks at the Transport Layer
Medium
A.MAC spoofing
B.Signal jamming
C.Session hijacking
D.Route redirection
Correct Answer: Session hijacking
Explanation:
Predicting sequence numbers allows the attacker to inject valid-looking packets and take control of the transport session.
Incorrect! Try again.
33After sending an authenticated service request in a mobile network, a user falsely denies having issued it. Which application-layer attack is illustrated?
Attacks at the Application Layer
Medium
A.Wormhole
B.Desynchronization
C.Repudiation
D.Jamming
Correct Answer: Repudiation
Explanation:
Repudiation occurs when a participant denies performing an action, emphasizing the need for evidence such as digital signatures.
Incorrect! Try again.
34A malicious vehicle uses several fabricated identities to report a nonexistent traffic jam, making the reports appear to come from many vehicles. Which attack is this?
Attacks on VANET
Medium
A.Wormhole attack
B.Replay attack
C.Jamming attack
D.Sybil attack
Correct Answer: Sybil attack
Explanation:
In a Sybil attack, one physical entity presents multiple false identities to influence the network.
Incorrect! Try again.
35Using the Vigenère cipher with , what is the encryption of plaintext CAT with key DOG?
Traditional symmetric-key cipher
Medium
A.FPA
B.FOZ
C.EOY
D.GNY
Correct Answer: FOZ
Explanation:
The modular sums are , , and , producing FOZ.
Incorrect! Try again.
36A bitmap encrypted with a block cipher still reveals repeated visual patterns because identical plaintext blocks produce identical ciphertext blocks. Which replacement is most appropriate?
Symmetric key cipher
Medium
A.ECB mode with extra padding
B.CBC mode with a fixed IV
C.CTR mode with a reused nonce
D.CBC mode with a random IV
Correct Answer: CBC mode with a random IV
Explanation:
CBC chains blocks and uses a random IV, preventing equal plaintext blocks from directly producing equal ciphertext blocks.
Incorrect! Try again.
37A cipher has a -bit key, and a machine can test keys per second. Approximately how long is an average brute-force search?
Cryptanalysis
Medium
A. hours
B. hours
C. hours
D. hours
Correct Answer: hours
Explanation:
An average search tests keys. At keys per second, this takes about seconds, or hours.
Incorrect! Try again.
38For the affine cipher , where , which plaintext letter corresponds to ciphertext W?
Substitution cipher
Medium
A.G
B.I
C.O
D.M
Correct Answer: I
Explanation:
The inverse of modulo is . Thus , which represents I.
Incorrect! Try again.
39The ciphertext HLOOLELWRD was produced using a two-rail rail-fence cipher. What is the plaintext?
Transposition cipher
Medium
A.HLEOLWODRL
B.HOLLOWERLD
C.HELLOWORLD
D.HELLODLROW
Correct Answer: HELLOWORLD
Explanation:
Splitting the ciphertext into HLOOL and ELWRD and reading alternately reconstructs HELLOWORLD.
Incorrect! Try again.
40Which Hill-cipher key matrix is invertible modulo and can therefore be used for encryption and decryption?
Substitution cipher
Medium
A.
B.
C.
D.
Correct Answer:
Explanation:
Its determinant is , and . Therefore, the determinant has an inverse modulo .
Incorrect! Try again.
41A message authentication code is verified successfully, but an attacker has replayed a previously valid transaction. Which security goal remains unsatisfied?
Security Goals
Hard
A.Freshness
B.Data integrity
C.Confidentiality
D.Entity authentication
Correct Answer: Freshness
Explanation:
A MAC can establish integrity and origin authentication for the received data, but it does not by itself prove that the message is fresh. Replay protection requires a nonce, sequence number, timestamp, or equivalent mechanism.
Incorrect! Try again.
42An attacker can submit chosen plaintexts to an encryption service and observe the resulting ciphertexts, but cannot decrypt arbitrary ciphertexts. Which attack model is this?
Cryptographic Attacks
Hard
A.Known-plaintext attack
B.Chosen-ciphertext attack
C.Chosen-plaintext attack
D.Ciphertext-only attack
Correct Answer: Chosen-plaintext attack
Explanation:
In a chosen-plaintext attack, the adversary selects plaintexts and obtains their encryptions. A chosen-ciphertext attack instead provides decryptions of selected ciphertexts.
Incorrect! Try again.
43Which pairing most accurately distinguishes a security service from a security mechanism?
Services and Mechanism
Hard
A.Nonrepudiation is a mechanism; hashing is a service
B.Digital signatures are a service; authentication is a mechanism
C.Authentication is a service; digital signatures are a mechanism
D.Confidentiality is a mechanism; encryption is a service
Correct Answer: Authentication is a service; digital signatures are a mechanism
Explanation:
A security service describes the protection provided, such as authentication. A mechanism is a method used to provide it, such as a digital signature.
Incorrect! Try again.
44Using the extended Euclidean algorithm, determine the multiplicative inverse of modulo .
Extended Euclidean Algorithm
Hard
A.
B.
C.
D.
Correct Answer:
Explanation:
The Euclidean relations give , so is an inverse of modulo . Since , check the coefficient carefully: , hence .
Incorrect! Try again.
45Find the least nonnegative residue of modulo .
Modular Arithmetic
Hard
A.
B.
C.
D.
Correct Answer:
Explanation:
Because , reduce the exponent: . Then .
Incorrect! Try again.
46A malicious node advertises an extremely attractive route, attracts traffic, and then selectively drops or inspects packets while forwarding the rest. How is this attack best classified?
Classification of attacks for wireless ad hoc and VANET
Hard
A.Blackhole attack
B.Wormhole attack
C.Grayhole attack
D.Sybil attack
Correct Answer: Grayhole attack
Explanation:
A blackhole generally drops packets consistently after attracting traffic. A grayhole performs selective or intermittent dropping, making detection more difficult.
Incorrect! Try again.
47A vehicle transmits high-power noise across the control channel, preventing legitimate nodes from decoding frames. Which physical-layer attack is directly represented?
Attacks at the Physical Layer
Hard
A.Route poisoning
B.Spoofing
C.Jamming
D.Session hijacking
Correct Answer: Jamming
Explanation:
Jamming deliberately interferes with the radio medium by emitting noise or structured interference. It attacks availability at the physical layer.
Incorrect! Try again.
48In a carrier-sense wireless network, an attacker repeatedly transmits short frames with unusually high priority, causing other nodes to defer access. Which MAC-layer weakness is being exploited?
Attacks at the MAC Layer
Hard
A.IP fragmentation handling
B.Public-key validation
C.Fairness in channel access
D.Certificate revocation
Correct Answer: Fairness in channel access
Explanation:
The attacker abuses contention and channel-access rules to obtain disproportionate access and starve legitimate nodes. The effect is a MAC-layer denial-of-service condition.
Incorrect! Try again.
49Two colluding nodes create a low-latency private link and make distant nodes believe that they are adjacent, attracting routes through the link. Which attack is this?
Attacks at the Network Layer
Hard
A.MAC spoofing attack
B.Physical tampering attack
C.Hello flood attack
D.Wormhole attack
Correct Answer: Wormhole attack
Explanation:
A wormhole tunnels packets between separated locations and falsely improves the apparent route distance. It can redirect traffic without necessarily compromising cryptographic keys.
Incorrect! Try again.
50An attacker sends many spoofed TCP SYN segments and never completes the handshakes, exhausting the server's half-open connection table. Which attack is being described?
Attacks at the Transport Layer
Hard
A.UDP amplification attack
B.SYN flooding attack
C.TCP reset attack
D.ARP poisoning attack
Correct Answer: SYN flooding attack
Explanation:
SYN flooding consumes transport-layer state by creating many incomplete TCP handshakes. Spoofed source addresses can prevent the server from completing those connections.
Incorrect! Try again.
51A compromised vehicle sends syntactically valid but false emergency-braking alerts signed with a legitimate credential. Which application-layer threat is most directly involved?
Attacks at the Application Layer
Hard
A.Radio-frequency jamming
B.Route-cache poisoning
C.Channel contention abuse
D.False information injection
Correct Answer: False information injection
Explanation:
The messages are valid at the communication and authentication layers but contain malicious application content. This is false information injection, a major threat to cooperative vehicular applications.
Incorrect! Try again.
52A vehicle uses several simultaneously valid pseudonyms to appear as multiple independent vehicles and create an artificial traffic jam in a routing or trust system. Which attack is this?
Attacks on VANET
Hard
A.Sybil attack
B.Replay attack
C.Blackhole attack
D.Jamming attack
Correct Answer: Sybil attack
Explanation:
A Sybil attack uses multiple fabricated or misused identities to create the illusion of many distinct nodes. In VANETs, it can distort traffic reports, routing decisions, and reputation values.
Incorrect! Try again.
53A classical cipher encrypts each plaintext letter by replacing it with the letter . Is this cipher invertible over the alphabet?
Traditional symmetric-key cipher
Hard
A.No, because is coprime to
B.Yes, because is odd
C.Yes, because has an inverse
D.No, because is not coprime to
Correct Answer: Yes, because is coprime to
Explanation:
An affine cipher is invertible when . Since , the multiplicative coefficient has an inverse; the additive constant does not affect invertibility.
Incorrect! Try again.
54Why must a secure block-cipher mode use a unique nonce or initialization vector when encrypting distinct messages under the same key?
Symmetric key cipher
Hard
A.It prevents deterministic leakage
B.It increases the key length
C.It guarantees resistance to brute force
D.It removes the need for authentication
Correct Answer: It prevents deterministic leakage
Explanation:
Reusing a nonce or IV can cause equal or related plaintext blocks to produce observable repeated ciphertext patterns, depending on the mode. Uniqueness prevents this form of deterministic information leakage but does not by itself provide authentication.
Incorrect! Try again.
55A cryptanalyst observes that a substitution-cipher ciphertext preserves repeated word patterns and has a letter-frequency profile close to natural language. Which method is most appropriate as an initial attack?
Cryptanalysis
Hard
A.Diffie-Hellman replay
B.Meet-in-the-middle search
C.Frequency analysis
D.Padding-oracle probing
Correct Answer: Frequency analysis
Explanation:
A monoalphabetic substitution preserves statistical relationships such as frequency distributions and repeated patterns. Frequency analysis uses these properties to infer likely plaintext-to-ciphertext mappings.
Incorrect! Try again.
56A monoalphabetic substitution cipher maps plaintext letters one-to-one. If the ciphertext contains the repeated pattern QXYQ, which plaintext pattern must it have?
Substitution cipher
Hard
A.ABCA
B.AABC
C.ABBA
D.ABCD
Correct Answer: ABCA
Explanation:
The first and fourth ciphertext symbols are identical, while the second and third are different from each other and from the first. Therefore, the plaintext pattern is also ABCA.
Incorrect! Try again.
57Using a columnar transposition with a key of length , a plaintext has length and is written row-wise without padding. How many columns contain four characters in the final arrangement?
Transposition cipher
Hard
A.
B.
C.
D.
Correct Answer:
Explanation:
The plaintext occupies complete rows with a remainder of . Thus, three columns contain five characters if counting the initial layout convention; however, in the final incomplete row, three columns receive the extra character. Therefore, three columns have five characters, not four. The stated options are inconsistent with the question.
Incorrect! Try again.
58A two-round Feistel cipher uses round transformation and . Which property permits decryption with the same structure while applying keys in reverse order?
Traditional symmetric-key cipher
Hard
A.The plaintext halves are always equal
B.The XOR operation is reversible
C.The ciphertext length changes each round
D.The round function is necessarily invertible
Correct Answer: The XOR operation is reversible
Explanation:
Feistel decryption does not require itself to be invertible. Given one half and the XOR result, the other half is recovered because ; reversing the round-key order reconstructs the plaintext.
Incorrect! Try again.
59Which congruence has no solution?
Modular Arithmetic
Hard
A.
B.
C.
D.
Correct Answer:
Explanation:
A congruence is solvable only if divides . Here, , but does divide , so this one is solvable. The inconsistency means the options do not contain a no-solution congruence: all four are solvable.
Incorrect! Try again.
60For RSA-style modular arithmetic, what is the inverse of modulo ?
Extended Euclidean Algorithm
Hard
A.
B.
C.
D.
Correct Answer:
Explanation:
The extended Euclidean algorithm yields . Therefore, .
Incorrect! Try again.
Did this save you a night before the exam?
LPU Notes is free, and it stays free. Ads cover part of the server bill.
The rest comes out of a student's own pocket: the domain, the storage,
and keeping the site up through the weeks everyone needs it at once.
The payment button didn't load. An ad blocker or a filtered network is the usual reason.
to try again.
Nothing here is ever locked, and nothing unlocks. Chip in only if it was worth it.
What it pays for →