Symmetric Ciphers Questions and Answers – Principles of PRNG – I

This set of Cryptography Multiple Choice Questions & Answers (MCQs) focuses on “Principles of PRNG”.

1. PRNG stands for
a) Personal Random Number Generation
b) Pseudo Random Number Generation
c) Primitive Number Generators
d) Private Number Generators
View Answer

Answer: b
Explanation: PRNG stands for Pseudo Random Number Generation.

2. TRNG stands for
a) True Random Number Generation
b) Trust Random Number Generation
c) Text Ring Number Generators
d) None of the mentioned
View Answer

Answer: a
Explanation: TRNG stands for True Random Number Generation.

3. A rule to check for a large number N being a prime number
a) by dividing N by every even interger less than N/2
b) by dividing N by every odd interger less than root(N)
c) by dividing N by every even interger less than root(N)
d) by dividing N by every interger less than N/2
View Answer

Answer: b
Explanation: A rule for checking if a number N is a prime is by dividing N by every odd interger less than root(N).
advertisement
advertisement

4. PRNGs are derived through algorithms.
a) True
b) False
View Answer

Answer: a
Explanation: PRNGs are derived through algorithms. These algorithms are deterministic and therefore produce sequences of numbers that are not statistically random. Thus we should choose an algorithm which provides a high degree of randomness.

5. TRNGs take in an input which is referred to as
a) random variable
b) external variable
c) entropy source
d) bit stream
View Answer

Answer: c
Explanation: TRNGs use an input known as “entropy source” which is an input source that is effectively random.

6. PRNGs take in an input which is referred to as
a) bit stream
b) seed
c) entropy source
d) external variable
View Answer

Answer: b
Explanation: PRNGs use an input known as “seed”. The seed is usually generated using a TRNG.

7. Which of the following produces an output of fixed length?
a) PRNG
b) TRNG
c) PRF
d) All of the mentioned
View Answer

Answer: c
Explanation: Only PRFs produce an output of fixed length. TRNGs and PRNGs have open ended outputs.
advertisement

8. Which of the following a is NOT a check for randomness?
a) Uniformity
b) Scalability
c) Consistency
d) All of the mentioned
View Answer

Answer: d
Explanation: Uniformity, Scalability and Consistency are all checks for randomness of a PRNG.

9. The property that there should be equally likely number of 1s and 0s in a Pseudo Random Number sequence is
a) Scalability
b) Uniformity
c) Stability
d) Consistency
View Answer

Answer: b
Explanation: This is the property of Uniformity.
advertisement

10. The property that any extracted subsequence should pass the test for randomness is
a) Scalability
b) Uniformity
c) Stability
d) Consistency
View Answer

Answer: a
Explanation: Scalability is the property where any extracted subsequence should pass the test for randomness.

Sanfoundry Global Education & Learning Series – Cryptography and Network Security.

To practice all areas of Cryptography and Network Security, here is complete set of 1000+ Multiple Choice Questions and Answers.

If you find a mistake in question / option / answer, kindly take a screenshot and email to [email protected]

advertisement
advertisement
Subscribe to our Newsletters (Subject-wise). Participate in the Sanfoundry Certification contest to get free Certificate of Merit. Join our social networks below and stay updated with latest contests, videos, internships and jobs!

Youtube | Telegram | LinkedIn | Instagram | Facebook | Twitter | Pinterest
Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.