#separator:tab
#html:true
#notetype:Basic
#tags column:3
#deck:cracked.guide::TAOCP Vol 2::3.6 Summary
#columns:Front	Back	Tags
TAOCP §3.6 Summary: what does it cover?	Knuth's practical summary of chapter 3: concrete advice on what kind of generator to use, how to use it, and what to avoid.	cracked.guide cracked.guide::phase::taocp-2 cracked.guide::section::3.6 cracked.guide::kind::about
TAOCP §3.6: why does it matter?	The most directly practical few pages in the chapter.	cracked.guide cracked.guide::phase::taocp-2 cracked.guide::section::3.6 cracked.guide::kind::why
TAOCP §3.6, a common trap: “Using this advice for cryptography.” What's the catch?	Crypto needs a CSPRNG, a different problem.	cracked.guide cracked.guide::phase::taocp-2 cracked.guide::section::3.6 cracked.guide::kind::trap
TAOCP §3.6, exercise 2 (rated 15, recommended): what is it asking?	A light philosophical question about whether computers can do anything new.	cracked.guide cracked.guide::phase::taocp-2 cracked.guide::section::3.6 cracked.guide::kind::exercise
TAOCP §3.6, exercise 8 (rated M15): what is it asking?	How to check that an LCG implementation is correct. Practical test design.	cracked.guide cracked.guide::phase::taocp-2 cracked.guide::section::3.6 cracked.guide::kind::exercise
TAOCP §3.6, exercise 12 (rated M21, recommended): what is it asking?	Choose a generator for a machine with 16-bit integers only.	cracked.guide cracked.guide::phase::taocp-2 cracked.guide::section::3.6 cracked.guide::kind::exercise
TAOCP §3.6, exercise 3 (rated 32): what is it asking?	Simulate the dice game craps and estimate the odds. A full small simulation project.	cracked.guide cracked.guide::phase::taocp-2 cracked.guide::section::3.6 cracked.guide::kind::exercise
TAOCP §3.6, exercise 15 (rated 25, recommended): what is it asking?	Wrap the recommended generator so it discards most of each batch as advised.	cracked.guide cracked.guide::phase::taocp-2 cracked.guide::section::3.6 cracked.guide::kind::exercise
TAOCP §3.6, exercise 11 (rated M25, recommended): what is it asking?	Port the recommended generator to floating-point arithmetic with exactly the same output.	cracked.guide cracked.guide::phase::taocp-2 cracked.guide::section::3.6 cracked.guide::kind::exercise
TAOCP §3.6, exercise 7 (rated M40, recommended): what is it asking?	Break a file cipher built on an LCG with unknown parameters. The stretch, and a lesson for crypto.	cracked.guide cracked.guide::phase::taocp-2 cracked.guide::section::3.6 cracked.guide::kind::exercise
TAOCP §3.6: how many exercises, and how are they rated?	15 exercises, rated 15 to 46.	cracked.guide cracked.guide::phase::taocp-2 cracked.guide::section::3.6 cracked.guide::kind::exercises
TAOCP §3.6: what should you be comfortable with first?	<ul><li>Chapter 3</li></ul>	cracked.guide cracked.guide::phase::taocp-2 cracked.guide::section::3.6 cracked.guide::kind::prereqs
TAOCP §3.6: how should you work through it?	Read it and compare with what your language's standard library uses. Write down which generator your main language uses and whether it would pass Knuth's advice.	cracked.guide cracked.guide::phase::taocp-2 cracked.guide::section::3.6 cracked.guide::kind::approach
