Generating Random Data in Python (Guide) Quiz

Interactive Quiz ⋅ 9 Questions
By Joseph Peart

In this quiz, you’ll test your understanding of Generating Random Data in Python (Guide).

By working through this quiz, you’ll revisit the difference between PRNGs and CSPRNGs, how seeding makes random data reproducible, and when to reach for random, numpy.random, os.urandom(), secrets, or uuid.

The quiz contains 9 questions and there is no time limit. You’ll get 1 point for each correct answer. At the end of the quiz, you’ll receive a total score. The maximum score is 100%. Good luck!

Related Resources

Generating Random Data With Python

Course

Generating Random Data in Python

In this course, you'll cover several options for generating random data in Python, and then build up to a comparison of each in terms of its level of security, versatility, purpose, and speed.

intermediate data-science python

Generating Random Data With Python

Tutorial

Generating Random Data in Python (Guide)

You'll cover a handful of different options for generating random data in Python, and then build up to a comparison of each in terms of its level of security, versatility, purpose, and speed.

intermediate data-science python