wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

UNIT 2 MCQ QUESTIONS - Cryptography and Network Security

Total questions: 75

Worksheet time: 38mins

Name
Class
Date
1.

Assume RSA public key is (e = 3, n = 33). What is the ciphertext for plaintext message M = 4?

a)

64

b)

31

c)

28

d)

16

2.

In RSA algorithm, if p = 11 and q = 13, and e = 7, what is the value of the public modulus n and Euler’s totient φ(n)?

a)

n = 143, φ(n) = 120

b)

n = 24, φ(n) = 132

c)

n = 143, φ(n) = 132

d)

n = 24, φ(n) = 120

3.

Which of the following cryptographic techniques is a Symmetric cryptography?

a)

RSA

b)

Diffie-Hellman

c)

DES

d)

ECC

4.

In the context of block cipher modes of operation, which mode offers both confidentiality and message integrity?

a)

ECB

b)

CBC

c)

CTR

d)

GCM

5.

What is the block size of DES?

a)

32 bits

b)

64 bits

c)

128 bits

d)

256 bits

6.

What type of cipher is DES?

a)

Stream cipher

b)

Asymmetric cipher

c)

Block cipher

d)

One-time pad

7.

A 64-bit block of plaintext is encrypted using 3-DES with three different keys. How many total DES operations are performed during encryption?

a)

1

b)

2

c)

3

d)

6

8.

DES is based on which structure?

a)

Feistel network

b)

Substitution-permutation

c)

LFSR

d)

RSA

9.

Which of the following statements about Blowfish is TRUE?

a)

It is a block cipher with a 64-bit block size and a key length up to 448 bits

b)

It is a stream cipher used in TLS

c)

It is a public key encryption algorithm

d)

It uses a 512-bit fixed key

10.

RC5 is a symmetric key cipher with which of the following characteristics?

a)

Fixed 128-bit block size

b)

Variable word size, rounds, and key size

c)

Based on elliptic curves

d)

Asymmetric encryption only

11.

In RSA, if the ciphertext is c = 10, the decryption key d = 7, and the modulus n = 33, what is the plaintext m?

a)

10

b)

1

c)

13

d)

4

12.

What does ECB stand for in DES modes of operation?

a)

Electronic Code Base

b)

Electronic Code Book

c)

Encrypted Cipher Block

d)

Encrypted Code Buffer

13.

In DES, how many rounds of permutation and substitution are performed on the plaintext?

a)

10

b)

16

c)

32

d)

8

14.

What does S-box stand for in DES?

a)

Secret box

b)

Substitution box

c)

Secure box

d)

Shared box

15.

Quantum cryptography primarily relies on which principle?

a)

RSA key exchange

b)

Shor’s algorithm

c)

Heisenberg’s uncertainty principle

d)

Fermat’s Little Theorem

16.

What is the purpose of the Feistel structure in DES?

a)

To increase processing time

b)

To make encryption faster

c)

To allow same algorithm for encryption and decryption

d)

To change key size

17.

Which property of a stream cipher differentiates it from a block cipher?

a)

Stream ciphers encrypt data in fixed-size blocks.

b)

Stream ciphers use public key encryption.

c)

Stream ciphers encrypt data one bit or byte at a time.

d)

Stream ciphers use substitution and transposition together.

18.

Which of the following algorithms is not a symmetric key algorithm?

a)

RC5

b)

Blowfish

c)

RSA

d)

3-DES

19.

In the RSA algorithm, the modulus n is calculated as:

a)

n=p+q

b)

n=p×q

c)

n=(p−1)(q−1)

d)

n=pq

20.

How many bits are there in the right and left halves during each DES round?

a)

32 bits each

b)

64 bits each

c)

28 bits each

d)

56 bits each

21.

RSA is based on which type of cryptography?

a)

Symmetric key cryptography

b)

Hashing algorithm

c)

Asymmetric key cryptography

d)

Stream cipher

22.

In RSA, the public key consists of:

a)

(e, d)

b)

(n, d)

c)

(e, n)

d)

(p, q)

23.

In 3-DES encryption, the effective number of keys used in the encryption process is:

a)

1

b)

2 or 3 depending on implementation

c)

4

d)

6

24.

Given a plaintext “10101010” and a key “11001100”, what is the cipher text in a simple XOR stream cipher?

a)

01100110

b)

10101010

c)

11111111

d)

01010101

25.

What is the formula for RSA encryption?

a)

C = M × e mod n

b)

C=MemodnC = M^e mod n

c)

C = eMmodne^M mod n

d)

C = M + e + n

26.

What is the first step in RSA key generation?

a)

Find public exponent

b)

Select two large prime numbers

c)

Encrypt the message

d)

Calculate modulus

27.

In RSA, n is calculated as:

a)

p + q

b)

p – q

c)

p × q

d)

p ÷ q

28.

Which of the following is a characteristic of the Blowfish algorithm?

a)

Uses fixed 128-bit key size

b)

Is a symmetric key block cipher with variable key length

c)

Is a public key cryptosystem

d)

Operates only on 256-bit blocks

29.

The main purpose of key exchange algorithms is to:

a)

Encrypt messages

b)

Exchange secure keys over insecure channels

c)

Authenticate users

d)

Hash data

30.

Which of the following is NOT a block cipher mode of operation?

a)

CBC (Cipher Block Chaining)

b)

RSA (Rivest–Shamir–Adleman)

c)

ECB (Electronic Codebook)

d)

OFB (Output Feedback)

31.

The Diffie-Hellman algorithm is primarily used for:

a)

Message authentication

b)

Key exchange

c)

Digital signatures

d)

Data compression

32.

Which of the following best describes Quantum Cryptography?

a)

Uses quantum computers to break classical ciphers

b)

Uses principles of quantum mechanics for secure key distribution

c)

Is a new symmetric key cipher standard

d)

Encrypts messages using quantum bits only

33.

Which of the following is a key advantage of 3-DES over DES?

a)

Faster encryption speed

b)

Uses longer keys for better security

c)

Works only on larger blocks

d)

Uses asymmetric keys

34.

Elliptic Curve Diffie-Hellman (ECDH) is a variant that uses:

a)

Quantum cryptography

b)

Elliptic curve mathematics

c)

LFSR

d)

S-boxes

35.

Which cryptographic technique uses two different keys, one for encryption and one for decryption?

a)

Symmetric key cryptography

b)

Hashing

c)

Asymmetric key cryptography

d)

Stream cipher

36.

In block cipher modes, which one does NOT require padding?

a)

ECB

b)

CBC

c)

CTR (Counter)

d)

OFB

37.

How many bits are there in each DES subkey used in a round?

a)

56 bits

b)

48 bits

c)

64 bits

d)

32 bits

38.

RSA uses how many keys?

a)

1

b)

2

c)

3

d)

4

39.

In RSA, what is the value of n if p = 3 and q = 11?

a)

14

b)

33

c)

21

d)

30

40.

If p = 3 and q = 11, what is φ(n)?

a)

33

b)

30

c)

28

d)

20

41.

In RC5, which of the following parameters can be varied to increase security and flexibility?

a)

Block size

b)

Number of rounds

c)

Key length

d)

All of the above

42.

What operation is primarily used in the DES Feistel structure?

a)

Multiplication

b)

XOR

c)

AND

d)

Division

43.

What does ECC stand for in cryptography?

a)

Encryption Control Code

b)

Elliptic Curve Cryptography

c)

Electronic Code Communication

d)

Elliptic Compression Cipher

44.

What does QKD stand for?

a)

Quantum Key Decoder

b)

Quantum Key Distribution

c)

Quick Key Distribution

d)

Quantum Kernel Deployment

45.

If Blowfish uses 16 rounds and a 64-bit block size, what is the expected output size of the ciphertext for a 64-bit input?

a)

16 bits

b)

32 bits

c)

64 bits

d)

128 bits

46.

In RSA, for p=17, q=11 and e=7 what is the value of φ(n)?

a)

187

b)

160

c)

120

d)

140

47.

Which quantum property is used to detect eavesdropping in quantum cryptography?

a)

Holography

b)

Indistinguishability

c)

Heisenberg’s Uncertainty Principle

d)

Wave interference

48.

For RSA, if p = 11 and q = 13, what is the value of φ(n)?

a)

132

b)

120

c)

112

d)

122

49.

Which particles are commonly used in quantum key distribution?

a)

Electrons

b)

Photons

c)

Protons

d)

Neutrons

50.

How many possible keys are there for a DES cipher?

a)

24

b)

2562^56

c)

21282^128

d)

2522^52

51.

If Alice and Bob use RSA for secure communication and Bob's public key is (e = 7, n = 55), what is the ciphertext of the message M = 9?

a)

9

b)

14

c)

4

d)

19

52.

You are designing a secure system. Which combination provides the best balance of speed, security, and scalability for encrypting bulk data on embedded devices?

a)

RSA with large key size

b)

ECC with 512-bit key

c)

RC5 with 32-bit blocks

d)

AES in CTR mode

53.

Given two prime numbers, p = 11 and q = 13, and public exponent e = 7, what is the value of φ(n) in RSA?

a)

143

b)

132

c)

120

d)

60

54.

In RSA, if the ciphertext C = 36, the private key d = 3, and n = 55, what is the original message M?

a)

56

b)

21

c)

16

d)

9

55.

Quantum cryptography is currently best suited for:

a)

Global internet encryption

b)

Long-range satellite data

c)

Secure communication over optical fiber

d)

File compression

56.

A symmetric cipher encrypts 64-bit blocks. The plaintext block is 0x1234567890ABCDEF, and the key schedule and operation result in ciphertext 0xA1B2C3D4E5F60718. What encryption type is this most likely to be?

a)

Stream Cipher

b)

RSA

c)

DES

d)

ECC

57.

Which of the following is not a mode of operation in DES?

a)

ECB

b)

CBC

c)

CFB

d)

DFS

58.

Which of the following correctly expresses the ciphertext generation in RSA encryption?

a)

C = M * e mod n

b)

C = M + e mod n

c)

C=MemodnC = M^e mod n

d)

C = MmodenM mod e^n

59.

In which DES mode is the plaintext divided into blocks and each block is encrypted separately?

a)

CBC

b)

ECB

c)

CFB

d)

OFB

60.

If the plaintext message M = 7, public key e = 5, and modulus n = 33, what is the ciphertext C using RSA encryption?

a)

7

b)

14

c)

31

d)

17

61.

In the RSA algorithm, p = 3 and q = 11. What is the modulus n and the Euler’s totient function φ(n)?

a)

n = 14, φ(n) = 30

b)

n = 33, φ(n) = 20

c)

n = 33, φ(n) = 28

d)

n = 14, φ(n) = 10

62.

In the Diffie-Hellman key exchange, if g = 2, p = 11, and Alice chooses a private key a = 5, what is her public key?

a)

8

b)

9

c)

6

d)

1

63.

Which mode of DES uses an Initialization Vector (IV) to encrypt the first block?

a)

ECB

b)

CBC

c)

RSA

d)

Hashing

64.

In RSA, the public key is composed of:

a)

(e, n)

b)

(d, n)

c)

(p, q)

d)

(e, d)

65.

In RSA, the private key is:

a)

Known to everyone

b)

(e, n)

c)

(d, n)

d)

(p, q)

66.

DES encrypts 64-bit blocks using how many rounds of permutation and substitution?

a)

8

b)

12

c)

16

d)

24

67.

A 3DES system applies DES encryption three times. If the same key is used for all three stages, what is the security level compared to regular DES?

a)

Weaker

b)

Same as DES

c)

Slightly better

d)

Stronger than DES

68.

Which parameter is crucial for the security of the Diffie-Hellman key exchange?

a)

Public Key

b)

Private Key

c)

Prime Number

d)

Shared Secret

69.

Which of the following encryption techniques uses mathematical problems involving elliptic curves over finite fields?

a)

RSA

b)

ECC

c)

3DES

d)

RC5

70.

In RSA, if p = 7 and q = 13, what is the value of φ(n)?

a)

72

b)

90

c)

78

d)

84

71.

Which of the following is a block cipher?

a)

RC4

b)

DES

c)

Vigenère

d)

Caesar

72.

In RSA, if the ciphertext C = 20, e = 3, and n = 33, what is the plaintext M after decryption using d = 7?

a)

2

b)

26

c)

8

d)

11

73.

Which block cipher mode introduces dependency between cipher blocks for better security?

a)

ECB

b)

CBC

c)

OFB

d)

CTR

74.

If the Blowfish algorithm uses 16 rounds, what does each round involve?

a)

Only permutation

b)

Only substitution

c)

Substitution and permutation

d)

Key generation

75.

Which of the following is a stream cipher?

a)

AES

b)

Blowfish

c)

RC4

d)

3DES