Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Cryptographic Algorithms(Assignment 3)

Total questions: 100

Worksheet time: 2hrs 40mins

Name
Class
Date
1.

A(n) _____________ is a keyless substitution cipher with N inputs and M outputs that uses a formula to define the relationship between the input stream and the output stream

a)

S-box

b)

P-box

c)

T-box

d)

none of the mentioned

2.

A(n) _____________ is a keyless substitution cipher with N inputs and M outputs that uses a table to define the relationship between the input

a)

S-box

b)

P-box

c)

T-box

d)

None of the ementioned

3.

A modern cipher is usually a complex _____ cipher made of a combination of different simple ciphers.

a)

round

b)

circle

c)

square

d)

None of the mentioned

4.

DES is a(n) _______ method adopted by the US government.

a)

symmetric-key

b)

asymmetric-key

c)

Nither symmetric-key nor asymmetric-key

d)

Both symmetric-key and asymmetric-key

5.

DES has an initial and final permutation block and _____ rounds.

a)

14

b)

15

c)

16

d)

None of the mentioned

6.

The DES function has _____ components

a)

2

b)

3

c)

4

d)

5

7.

DES uses a key generator to generate sixteen _____ round keys.

a)

32-bit

b)

48-bit

c)

54-bit

d)

42-bit

8.

___________ DES was designed to increase the size of DES Key

a)

Double

b)

Triple

c)

Quadruple

d)

None of the mentioned

9.

One commonly used public-key cryptography method is the ___ algorithm

a)

RSS

b)

RAS

c)

RSA

d)

RAA

10.

The _____ method provides a one-time session key for two parties

a)

Diffie-Hellman

b)

RSA

c)

DES

d)

AES

11.

Which one of the following algorithm is not used in asymmetric-key cryptography?

a)

RSA algorithm

b)

Diffie-hellman algorithm

c)

Electronic code book algorithm

d)

DSA algorithm

12.

An asymmetric-key cipher uses

a)

1 Key

b)

2 Keys

c)

3 Keys

d)

4 Keys

13.

Find x for the CRT when x= 2 mod 3; x= 3 mod 5; x = 2 mod 7

a)

33

b)

22

c)

23

d)

31

14.

In asymmetric key cryptography, the private key is kept by

a)

Sender

b)

Receiver

c)

Sender & Receiver

d)

All the connected devices to the network

15.

In an asymmetric key cipher the sender uses which key?

a)

Private

b)

Public

c)

Either a or b

d)

Neither a nor b

16.

. _______ is a round cipher uses a 128-bit block of data

a)

AEE

b)

AED

c)

AER

d)

AES

17.

The ________ method provides a one time session key for 2 parties

a)

Diffie-Hellman

b)

RSA

c)

DES

d)

AES

18.

AES has ......... different configurations

a)

2

b)

3

c)

4

d)

5

19.

Public-key cryptography is also known as ?

a)

Asymmetric cryptography

b)

Symmetric cryptography

c)

Both A and B

d)

None of the above

20.

Private key algorithm is used for _____ encryption and public key algorithm is used for _____ encryption.

a)

Messages, session key

b)

Session key, messages

c)

Can be used for both

d)

None of the above

21.

AES uses a ____________ bit block size and a key size of __________ bits.

a)

a) 128; 128 or 256

b)

b) 64; 128 or 192

c)

c) 256; 128, 192, or 256

d)

d) 128; 128, 192, or 256

22.

Like DES, AES also uses Feistel Structure.

a)

a) True

b)

b) False

23.

How many rounds does the AES-192 perform?

a)

a) 10

b)

b) 12

c)

c) 14

d)

d) 16

24.

How many rounds does the AES-256 perform?

a)

a) 10

b)

b) 12

c)

c) 14

d)

d) 16

25.

What is the expanded key size of AES-192?

a)

a) 44 words

b)

b) 60 words

c)

c) 52 words

d)

d) 36 words

26.

The 4×4 byte matrices in the AES algorithm are called

a)

a) States

b)

b) Words

c)

c) Transitions

d)

d) Permutations

27.

In AES the 4×4 bytes matrix key is transformed into a keys of size __________

a)

a) 32 words

b)

b) 64 words

c)

c) 54 words

d)

d) 44 words

28.

here is an addition of round key before the start of the AES round algorithms.

a)

a) True

b)

b) False

29.

Which of the following is a mode of operation for the Block ciphers in cryptography?

a)

Electronic Code Book (ECB)

b)

Cipher Block Chaining (CBC)

c)

Counter (CTR) mode

d)

All of the above

30.

Which one of the following is not a possible key length for the Advanced Encryption Standard Rijndael cipher?

a)

A. 56 bits

b)

B. 128 bits

c)

C. 192 bits

d)

D. 256 bits

31.

Explain the working principle of symmetric encryption.

a)

Symmetric encryption uses a different key for encryption and decryption.

b)

Symmetric encryption does not require any key for encryption and decryption.

c)

Symmetric encryption uses the same key for both encryption and decryption.

d)

Symmetric encryption uses a public key for encryption and a private key for decryption.

32.

What is symmetric encryption?

a)

A type of encryption that can only be used for text-based data

b)

A type of encryption where different keys are used for encryption and decryption

c)

A type of encryption where the same key is used for both encryption and decryption

d)

A type of encryption that doesn't require a key

33.

What is asymmetric encryption?

a)

A type of encryption that is extremely easy to break

b)

A type of encryption using only one key to encrypt and decrypt data

c)

A type of encryption that is no longer used in modern technology

d)

A type of encryption using a pair of keys (public and private) to encrypt and decrypt data

34.

How does asymmetric encryption differ from symmetric encryption?

a)

Asymmetric encryption is faster than symmetric encryption.

b)

Asymmetric encryption uses the same key for both encryption and decryption.

c)

Asymmetric encryption uses a pair of public and private keys.

d)

Asymmetric encryption does not require any keys.

35.

What is the purpose of Transport Layer Security (TLS) in network security?

a)

To make network communication less secure

b)

To provide secure communication over a computer network.

c)

To provide faster internet speed

d)

to enable VPN to work

36.

What is a digital certificate and how is it used in the context of security?

a)

It is a form of encryption used to hide sensitive information

b)

It is a type of physical key used to unlock digital files

c)

It is a secure software program that protects against computer hacking

d)

It is a digital document that verifies the identity of a website or individual and is used to establish secure connections and authenticate identities.

37.

How does PKI ensure secure communication?

a)

By using digital certificates to authenticate and encrypt data

b)

By using plain text to transmit data

c)

By sharing private keys openly

d)

By using weak encryption algorithms

38.

What is quantum cryptography?

a)

A type of ancient encryption using hieroglyphics

b)

A method of communication using Morse code

c)

A form of cryptography based on astrology

d)

A method of secure communication using quantum mechanics

39.

Discuss the potential impact of quantum cryptography on traditional encryption methods.

a)

Quantum cryptography can render traditional encryption methods obsolete.

b)

Quantum cryptography has no impact on traditional encryption methods

c)

Quantum cryptography is not a viable alternative to traditional encryption methods

d)

Traditional encryption methods are more secure than quantum cryptography

40.

Describe the process of obtaining a digital certificate and its role in ensuring secure communication.


a)

The process involves generating a public and private key pair, submitting a CSR to a certificate authority, and receiving the digital certificate after verification. Its role is to provide authentication, encryption, and data integrity for secure communication.

b)

The process involves creating a public and private key pair, and its role is to block unauthorized access to the network.

c)

The process involves creating a public key, submiting a CSR, and its role is to block unauthorized access to the network.

d)

The process requires obtaining a certificate from the an authority, and its role is to provide proof of identity for online transactions.

41.

What are the common protocols used for secure communication over the internet?

a)

FTP, POP3, and Telnet

b)

HTTPs, FTPs, and SMTP

c)

TCPs, IP, and UDPs

d)

HTTPS, SSL/TLS, and SSH

42.

Which of the following is not part of security?

a)

non-repudiation

b)

user authentication

c)

data integrity

d)

data privacy

e)

user identity

43.

Explain the concept of public key infrastructure (PKI) and its role in ensuring secure communication.

a)

PKI is a type of encryption used to hide sensitive information

b)

PKI is a system for managing digital certificates and public-private key pairs

c)

PKI is a method of secure communication using Morse code

d)

PKI is a form of cryptography based on astrology

44.

What is the significance of digital signatures in ensuring data integrity and authenticity?

a)

Digital signatures are used to encrypt data for secure transmission

b)

Digital signatures are used to verify the identity of a website or individual

c)

Digital signatures are used to ensure the integrity and authenticity of a message or document

d)

Digital signatures are used to provide faster internet speed

45.

1) avoids the need to utilise computer time during each TLS connection

2) TLS can establish either a new session or attempt to resume an existing session …

3) … the latter can save considerable computer time.

These are descriptions for......

a)

handshake protocol

b)

session caching

c)

PKI

d)

record protocol

46.

Discuss the role of SSL/TLS protocols in securing online transactions and communication.

a)

SSL/TLS protocols are used to make network communication less secure

b)

SSL/TLS protocols are used to provide secure communication over a computer network

c)

SSL/TLS protocols are used to enable VPN to work

d)

SSL/TLS protocols are used to provide proof of identity for online transactions

47.

What is a digital signature and how does it provide authentication and integrity in digital communication?

a)

A digital signature is a type of protection for sensitive information

b)

A digital signature is a document used to put signature on a digital document.

c)

A digital signature is a cryptographic technique used to verify the authenticity and integrity of a message or document.

d)

A digital signature is a type of encryption used to hide the content of a message.

48.

SSL provides which of the following?

a)

confidentiality

b)

compression, message integrity and confidentiality

c)

Authentication, encription, and digital signatures

d)

Message integrity

49.

1) permits website and client to authenticate each other and to make use of encryption

algorithms

2) secure session between client and website is established.

This describes....

a)

Record Protocol

b)

Handshake protocol

c)

session caching

d)

QKD

50.

Which of these are not contained in Digital Certificate?

a)

 name of company/organisation

company address

b)

signature algorithm used.

company details/identifier

c)

serial number.

CA that issued the certificate

d)

CA digital signature

period during which certificate is valid

51.

Question 1: What is the smallest prime number?

a)

5

b)

1

c)

2

d)

3

52.

Question 2: How many prime numbers are there between 1 and 10?

a)

8

b)

4

c)

6

d)

2

53.

Question 5: What is 7 mod 3?

a)

2

b)

4

c)

6

d)

1

54.

Question 6: What is 12 mod 5?

a)

2

b)

10

c)

7

d)

3

55.

Question 7: What is the process of encrypting a message using a public key?

a)

Using the sender's private key to encode the message

b)

Using the recipient's public key to encode the message

c)

Using a random key to encode the message

d)

Using the recipient's private key to encode the message

56.

Question 8: What is the process of decrypting a message using a private key?

a)

Symmetric decryption

b)

Public key encryption

c)

Asymmetric decryption

d)

Hashing

57.

Question 9: How are public and private keys generated in asymmetric key cryptography?

a)

By guessing and checking different combinations

b)

By using a random number generator

c)

By using a simple substitution cipher

d)

Using mathematical algorithms such as RSA or ECC

58.

Question 10: What is the key length typically used in asymmetric key cryptography?

a)

512 bits

b)

256 bits

c)

1024 bits

d)

2048 bits

59.

The DES Algorithm Cipher System consists of ____________rounds (iterations) each with a round key

a)

12

b)

18

c)

9

d)

16

60.

The DES algorithm has a key length of ______ bits

a)

128

b)

56

c)

192

d)

256

61.

What is the size of the key in the SDES algorithm?

a)

10 bits

b)

20 bits

c)

56 bits

d)

64 bits

62.

AES uses a ____________ bit block size and a key size of __________ bits.

a)

128; 128 or 256

b)

64; 128 or 192

c)

256; 128, 192, or 256

d)

128; 128, 192, or 256

63.

Like DES, AES also uses Feistel Structure

a)

True

b)

False

64.

The 4×4 byte matrices in the AES algorithm are called

a)

States

b)

Words

c)

Transposition

d)

Permutation

65.

The acronym AES stands for?

a)

American Encryption Standard

b)

Advanced Encryption System

c)

Advanced Encryption Standard

d)

Advanced Encryption Standard

66.

Which of the following is a mode of operation for the Block ciphers in cryptography?

a)

Electronic Code Book (ECB)

b)

Cipher Block Chaining (CBC)

c)

Counter (CTR) mode

d)

All of the above

67.

Which of the following modes of operations can be followed for both stream ciphers as well as block ciphers?

a)

CBC (Cipher Block Chaining)

b)

ECB (Electronic Code Book)

c)

CFB (Cipher text Feed Back)

d)

All of the above

68.

DES follows

a)

Feistel Cipher Structure

b)

SP Networks

c)

Hash Algorithm

d)

Caesars Cipher

69.

In RSA, Ф(n) = _______ in terms of p and q.

a)

(p)/(q)

b)

(p)(q)

c)

(p-1)(q-1)

d)

(p+1)(q+1)

70.

RSA is named after the researchers (_____ ) who proposed it

a)

River, Shamir, Adleman

b)

Rivest, Shamus, Adleman

c)

Rivest, Shamir, Adleman

d)

Rivest, Shamir, Adlemar

71.

Richard received an encrypted message sent to him from Sue. Which key should he use to decrypt the message?

a)

Richard's public key

b)

Richard's private key

c)

Sue's public key

d)

A. Sue's private key

72.

In the RSA public key cryptosystem, which one of the following numbers will always be largest?

a)

e

b)

n

c)

p

d)

q

73.

In the RSA algorithm, we select 2 random large values ‘p’ and ‘q’. Which of the following is the property of ‘p’ and ‘q’?

a)

p and q should be divisible by Ф(n)

b)

p and q should be co-prime

c)

p and q should be prime

d)

p/q should give no remainder

74.

Asymmetric key cipher uses_____ key

a)

one

b)

two

c)

three

d)

four

75.

For RSA to work,the value of M must be less than

a)

p

b)

q

c)

n

d)

r

76.

ᶲ(19)=

a)

14

b)

13

c)

18

d)

17

77.

gcd( 18,300) =

a)

4

b)

2

c)

8

d)

6

78.

73 mod 19 =

a)

18

b)

1

c)

14

d)

12

79.

Encryption: What is the process of converting plaintext into ciphertext using a secret key?

a)

Randomization

b)

Translation

c)

Decryption

d)

Encryption

80.

Encryption: Which type of cipher uses the same key for both encryption and decryption?

a)

Asymmetric key cipher

b)

Symmetric key cipher

c)

Hash function

d)

Public key cipher

81.

Encryption: What is the name of the algorithm used for encrypting data in symmetric key ciphers?

a)

AES

b)

RSA

c)

MD5

d)

SHA-256

82.

Decryption: What is the process of converting ciphertext back into plaintext using the secret key?

a)

Obfuscation

b)

Decryption

c)

Encoding

d)

Encryption

83.

Decryption: In symmetric key ciphers, is the decryption process the reverse of the encryption process?

a)

Only on weekends

b)

Sometimes

c)

No

d)

Yes

84.

Decryption: What is the name of the algorithm used for decrypting data in symmetric key ciphers?

a)

Same algorithm

b)

Different algorithm

c)

No algorithm

d)

Asymmetric algorithm

85.

Key generation: How are the secret keys generated in symmetric key ciphers?

a)

Using a random number generator or a pseudorandom number generator

b)

Using a prime number generator

c)

Using a sequential number generator

d)

Using a fixed number generator

86.

Key generation: What is the importance of key generation in symmetric key ciphers?

a)

Key generation is not important in symmetric key ciphers

b)

Key generation ensures the strength and security of the encryption

c)

Key generation only adds complexity without improving security

d)

The strength of encryption is not affected by key generation

87.

Key generation: What is the term used for the process of creating a key schedule in symmetric key ciphers?

a)

Key Expansion

b)

Key Shrinkage

c)

Key Compression

d)

Key Contraction

88.

Block ciphers: What is the size of the block in block ciphers?

a)

The size of the block in block ciphers is typically 64 or 128 bits.

b)

The size of the block in block ciphers is typically 32 bits.

c)

The size of the block in block ciphers is typically 256 bits.

d)

The size of the block in block ciphers is typically 512 bits.

89.

Block ciphers: Which type of cipher processes the input one bit at a time?

a)

Block cipher

b)

Transposition cipher

c)

Substitution cipher

d)

Stream cipher

90.

Block ciphers: What is the name of the popular block cipher that uses a 64-bit block size?

a)

RSA

b)

DES

c)

SHA-256

d)

AES

91.

Stream ciphers: How does a stream cipher encrypt plaintext?

a)

By converting the plaintext into a different character set

b)

By using a fixed key to encrypt the plaintext

c)

By generating a stream of key-dependent pseudo-random bits and combining them with the plaintext using a bitwise XOR operation.

d)

By rearranging the plaintext characters in a random order

92.

Stream ciphers: Which type of cipher encrypts one bit of plaintext at a time?

a)

Block cipher

b)

Stream cipher

c)

MD5 hash function

d)

RSA encryption

93.

Stream ciphers: What is the name of the stream cipher that is widely used in network security protocols?

a)

AES

b)

DES

c)

RC4

d)

Blowfish

94.

Explain the concept of modular arithmetic and its applications in real life.

a)

Modular arithmetic is a system of arithmetic for fractions, where numbers are rounded up to the nearest whole number.

b)

Modular arithmetic is a system of arithmetic for decimals, where numbers are rounded to the nearest tenth.

c)

Modular arithmetic is a system of arithmetic for integers, where numbers wrap around after reaching a certain value. It has applications in cryptography, computer science, and music theory.

d)

Modular arithmetic is a system of arithmetic for negative numbers, where numbers are multiplied by -1.

95.
what is (-5 mod 4) - (-3 mod 4) congruent to?
a)
2 mod 4
b)
1 mod 4
c)
-2 mod 4
d)
-1 mod 4
96.

In Extended Euclidean Algorithm do the repetition until get the remainder is

a)

1

b)

2

c)

0

d)

any number

97.

In Euclidean Algorithm do the repetition until get the remainder is

a)

1

b)

2

c)

0

d)

any number

98.

The art and science of breaking the cipher text is known as

a)

Cryptanalysis

b)

Cryptography

c)

Staganography

d)

Watermarking

99.

_______ is the science and art of transforming messages to make them secure and immune to attacks.

a)

Cryptography

b)

Cryptoanalysis

c)

neither Cryptography nor Cryptoanalysis

d)

either Cryptography or Cryptoanalysis

100.

15 ≡\equiv  -3 (mod 9)

a)

True 

b)

False

c)

Can not say

d)

None of these