1. Home
  2. Explore
  3. Business
  4. Slot Machine Gambling Investigation

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Slot Machine Gambling Investigation

  • 64Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Monte Carlo Origins

What can happen when a neutron hits a uranium-235 nucleus, enabling a chain reaction?

64 questions

  1. 1

    What can happen when a neutron hits a uranium-235 nucleus, enabling a chain reaction?

    1. A

      A neutron slows down and permanently prevents any later fission.

    2. B

      A neutron is absorbed and releases one neutron without splitting the nucleus.

    3. C

      A neutron combines with the nucleus, releasing energy but no other neutrons.

    4. D

      A neutron can split the nucleus, releasing energy and about two or three neutrons.

    Correct answer
    D

    A neutron can split the nucleus, releasing energy and about two or three neutrons.

    Explanation

    A U-235 fission event can release energy and roughly two or three neutrons. If, on average, each fission causes more than one further fission, the chain reaction grows.

  2. 2

    Why could scientists not determine a nuclear chain reaction’s behavior simply by counting the neutrons initially released?

    1. A

      It depends only on the number of neutrons initially released.

    2. B

      It depends on neutron interactions, whose probabilities vary with speed and material.

    3. C

      It depends only on how many uranium nuclei are present, not on neutron behavior.

    4. D

      It depends on whether all neutrons travel at the same speed.

    Correct answer
    B

    It depends on neutron interactions, whose probabilities vary with speed and material.

    Explanation

    Whether a chain reaction grows depends on the paths neutrons take, including whether they cause fission, bounce away, or are absorbed. Their speeds and the materials they pass through affect the relevant probabilities.

  3. 3

    What made calculating every possible neutron path impractical?

    1. A

      The probabilities of neutron interactions could not be measured at all.

    2. B

      There were too many possible paths across the enormous number of neutrons to calculate one by one.

    3. C

      The chain reaction involved no identifiable outcomes to model.

    4. D

      Every neutron followed exactly the same path, making the calculations redundant.

    Correct answer
    B

    There were too many possible paths across the enormous number of neutrons to calculate one by one.

    Explanation

    The number of possible neutron paths across trillions of neutrons was too large to calculate individually, even though scientists had measured probabilities for individual events.

  4. 4

    How did Ulam’s practical idea for estimating the chance of winning solitaire differ from an exact analytical calculation?

    1. A

      Derive the result by listing every possible sequence of card play.

    2. B

      Use the number of cards in a deck to calculate the win rate directly.

    3. C

      Play many games, count the wins, and use the observed fraction as an estimate.

    4. D

      Repeat one game until its result changes and infer the probability.

    Correct answer
    C

    Play many games, count the wins, and use the observed fraction as an estimate.

    Explanation

    After trying to solve the solitaire question analytically without success, Ulam proposed playing many games and estimating the win rate from the observed proportion of wins.

  5. 5

    Why was counting solitaire outcomes by considering every shuffled deck impractical?

    1. A

      It has 52252^2522 possible arrangements, but each game uses only one arrangement.

    2. B

      It has about 8×10528\times 10^{52}8×1052 possible arrangements, so only a few need checking.

    3. C

      It has about 8×10678\times 10^{67}8×1067 possible arrangements, all of which produce the same game.

    4. D

      It has 52!52!52! possible arrangements, about 8×10678\times 10^{67}8×1067, making exhaustive analysis impractical.

    Correct answer
    D

    It has 52!52!52! possible arrangements, about 8×10678\times 10^{67}8×1067, making exhaustive analysis impractical.

    Explanation

    A 52-card deck has 52!52!52! possible arrangements, approximately 8×10678\times 10^{67}8×1067, which makes exhaustive analysis impractical.

  6. 6

    How did Ulam’s sampling idea translate into a method for studying neutron chain reactions?

    1. A

      Replace measured interaction probabilities with equal probabilities for every outcome.

    2. B

      Simulate a sample of neutron paths with random choices and estimate the larger system’s behavior.

    3. C

      Use the same outcome for every neutron to simplify the chain reaction.

    4. D

      Calculate every possible neutron path, then discard paths that are unlikely.

    Correct answer
    B

    Simulate a sample of neutron paths with random choices and estimate the larger system’s behavior.

    Explanation

    The Monte Carlo idea applies random sampling to neutron behavior: simulate a sample of neutron paths using measured event probabilities, then use the results to estimate the overall reaction.

  7. 7

    How did the Los Alamos simulations decide what would happen at each neutron interaction?

    1. A

      Researchers selected outcomes from a table of paths calculated in advance.

    2. B

      Researchers used one fixed set of probabilities regardless of neutron speed or direction.

    3. C

      Researchers assigned equal probability to every outcome at every collision.

    4. D

      Researchers used measured probabilities for each situation, updating them when a neutron’s state changed.

    Correct answer
    D

    Researchers used measured probabilities for each situation, updating them when a neutron’s state changed.

    Explanation

    The example die probabilities were illustrative. Actual simulations used measured probabilities to map random numbers to outcomes, and updated the probabilities when the neutron’s speed or direction changed.

  8. 8

    What calculation did von Neumann work out that ENIAC could perform in about five hours?

    1. A

      ENIAC followed 100 neutrons and their descendants through thousands of collisions in about five hours.

    2. B

      ENIAC stored all possible outcomes for every neutron in a reaction.

    3. C

      ENIAC calculated the path of a single neutron through one collision in five hours.

    4. D

      ENIAC simulated every possible neutron path in less than five seconds.

    Correct answer
    A

    ENIAC followed 100 neutrons and their descendants through thousands of collisions in about five hours.

    Explanation

    Von Neumann worked out how ENIAC could follow 100 neutrons and their descendants through thousands of collisions in about five hours.

  9. 9

    Why did von Neumann need a way for ENIAC to generate its own random numbers?

    1. A

      ENIAC could not roll a die and lacked enough memory to store all the random digits it needed.

    2. B

      ENIAC could only run simulations when supplied with quantum measurements.

    3. C

      ENIAC could store random digits but could not use them to select neutron outcomes.

    4. D

      ENIAC could not perform multiplication, and printed digits were too difficult to read.

    Correct answer
    A

    ENIAC could not roll a die and lacked enough memory to store all the random digits it needed.

    Explanation

    ENIAC could not generate random choices by literally rolling a die, and it lacked enough memory to store all the needed random digits from reference books. This motivated generating numbers inside the computer.

  10. 10

    Which statement correctly describes the early computerized Monte Carlo simulations?

    1. A

      The first simulations ran in 1947 and were named after a Los Alamos laboratory.

    2. B

      The first simulations ran in spring 1948, and the method was called Monte Carlo after the gambling destination.

    3. C

      The first simulations ran in 1951, and the method was named after a card game Ulam invented.

    4. D

      The first simulations ran in 1946 and were named after the ENIAC’s manufacturer.

    Correct answer
    B

    The first simulations ran in spring 1948, and the method was called Monte Carlo after the gambling destination.

    Explanation

    The first computerized neutron simulations ran on ENIAC in spring 1948. The sampling approach became known as the Monte Carlo method, after the gambling destination associated with Ulam’s uncle.

  11. 11

    What is a defining property of pseudorandom numbers, and why does it not make them useless for simulation?

    1. A

      They are truly random because a computer cannot repeat the same sequence.

    2. B

      They are pseudorandom: repeating the seed reproduces the sequence, but the numbers can still be useful.

    3. C

      They are unusable for simulations because their outputs are determined by a seed.

    4. D

      They are random only if the computer chooses a new seed after every number.

    Correct answer
    B

    They are pseudorandom: repeating the seed reproduces the sequence, but the numbers can still be useful.

    Explanation

    A pseudorandom generator is deterministic: the same seed produces the same sequence. It can still be useful for simulations even though it is not truly random.

  12. 12

    How does the four-digit middle-square method produce its next value?

    1. A

      Multiply the seed by a fixed number and keep the first four digits.

    2. B

      Reverse the seed and subtract the result from its square.

    3. C

      Add the seed to its square and keep the last four digits.

    4. D

      Square the seed, pad the result if needed, and take the middle four digits.

    Correct answer
    D

    Square the seed, pad the result if needed, and take the middle four digits.

    Explanation

    The middle-square method squares the current seed and takes the middle digits as the next value. The example begins with 2,137, squares it, pads the result to eight digits, and takes the four middle digits, 5,667.

  13. 13

    Why does the middle-square procedure discard the digits at the edges of the square?

    1. A

      The edge digits can be more predictable from the seed, while the middle digits reflect contributions from across it.

    2. B

      The edge digits are discarded because they are always zero for every possible seed.

    3. C

      The middle digits are determined only by the seed’s final digit, so the edges are retained.

    4. D

      The middle digits are selected because they never depend on the seed’s digits.

    Correct answer
    A

    The edge digits can be more predictable from the seed, while the middle digits reflect contributions from across it.

    Explanation

    In the example, the final digits of the square are strongly determined by the seed’s final digits, while the middle digits receive contributions from all seed digits. The method therefore discards edge digits and keeps the middle ones.

  14. 14

    What serious limitation was found when every four-digit middle-square seed was tested?

    1. A

      Only seeds beginning with 2,100 enter a loop; all other seeds produce unique sequences.

    2. B

      Every sequence eventually reaches one of eight traps; nearly two-thirds enter the same four-value loop and almost one in five reach zero.

    3. C

      Most seeds settle into one of four loops, while no seed can reach zero.

    4. D

      Every seed produces a different nonrepeating sequence, but most sequences start with zero.

    Correct answer
    B

    Every sequence eventually reaches one of eight traps; nearly two-thirds enter the same four-value loop and almost one in five reach zero.

    Explanation

    For four-digit starting values, the middle-square sequences eventually enter one of just eight traps. Nearly two-thirds reach a loop involving 4,100, 8,100, 6,100, and 2,100, and almost one in five reaches zero.

  15. 15

    How did the ENIAC team reduce the risk of short loops in its first simulation?

    1. A

      They used four-digit numbers, stored every possible sequence, and never restarted the generator.

    2. B

      They used eight-digit numbers, checked the first 2,000 outputs, and restarted from the original seed afterward.

    3. C

      They used eight-digit numbers but stopped the simulation after each output to inspect it.

    4. D

      They used a new seed after every 2,000 outputs and avoided all statistical testing.

    Correct answer
    B

    They used eight-digit numbers, checked the first 2,000 outputs, and restarted from the original seed afterward.

    Explanation

    The ENIAC team used eight-digit numbers to delay short cycles, tested the first 2,000 numbers statistically by hand, and restarted from the original seed after those numbers to avoid an unexpected loop.

  16. 16

    What operation defines a linear congruential generator (LCG)?

    1. A

      It adds the same random value to the previous output without restricting its range.

    2. B

      It squares each value and retains only the middle digits.

    3. C

      It applies a linear rule to the current value and takes the result modulo MMM.

    4. D

      It chooses a value independently from a physical source at each step.

    Correct answer
    C

    It applies a linear rule to the current value and takes the result modulo MMM.

    Explanation

    A linear congruential generator computes the next value by a linear rule and then reduces it modulo MMM, retaining the remainder so the values wrap around.

  17. 17

    In the example xn+1=3xn mod 7x_{n+1}=3x_n\bmod 7xn+1​=3xn​mod7 starting at 1, what pattern occurs?

    1. A

      It visits all seven positions before repeating because multiplication by 3 never wraps around.

    2. B

      It visits every nonzero position before repeating, while zero is never reached from the starting value 1.

    3. C

      It immediately repeats at 1 because the first multiplication is reduced modulo 7.

    4. D

      It visits only the even positions because the modulus is an odd number.

    Correct answer
    B

    It visits every nonzero position before repeating, while zero is never reached from the starting value 1.

    Explanation

    In the example, each step multiplies by 3 and takes the remainder modulo 7. Starting at 1, the sequence visits 1, 3, 2, 6, 4, and 5 before repeating, so it covers every nonzero position but not zero.

  18. 18

    What does the example of RANDU show about a generator with a very long sequence before it repeats?

    1. A

      A long period does not by itself guarantee good statistical quality or the absence of patterns.

    2. B

      A long period prevents anyone from predicting outputs from the algorithm.

    3. C

      A long period guarantees that every possible value occurs equally often.

    4. D

      A long period proves that every output is independent of the previous output.

    Correct answer
    A

    A long period does not by itself guarantee good statistical quality or the absence of patterns.

    Explanation

    A long period only means that repetition takes a long time. It does not guarantee that the values are well distributed or free of patterns.

  19. 19

    What unexpected structure appears when RANDU’s outputs are plotted in groups of three?

    1. A

      The points fill the three-dimensional cube uniformly because the period exceeds half a billion.

    2. B

      The points occupy only the cube’s corners because the generator uses modular arithmetic.

    3. C

      The points form a single line because each output equals the previous output.

    4. D

      The points lie on 15 parallel planes, revealing structure and gaps despite the long period.

    Correct answer
    D

    The points lie on 15 parallel planes, revealing structure and gaps despite the long period.

    Explanation

    When RANDU’s consecutive outputs are plotted in groups of three, the points lie on 15 parallel planes, leaving large gaps. The generator’s linear recurrence links the three coordinates.

  20. 20

    Why do three consecutive outputs from an LCG tend to fall on parallel planes?

    1. A

      The three values are independent, but rounding errors place them on planes.

    2. B

      The generator sorts every group of three values before plotting it.

    3. C

      The recurrence links the three values by a linear equation, and the modulus creates parallel planes.

    4. D

      The first value is random, while the second and third are copied from it.

    Correct answer
    C

    The recurrence links the three values by a linear equation, and the modulus creates parallel planes.

    Explanation

    Each of the three coordinates is linked to the preceding value by the same linear recurrence. This creates a linear relation among the coordinates, which defines planes; the modulus produces parallel planes.

  21. 21

    How did the Java LCG improve on RANDU, and what limitation remained?

    1. A

      It used the RANDU parameters but discarded every third output to remove the planes.

    2. B

      It eliminated modular arithmetic and selected each output independently.

    3. C

      It used improved parameters and a much larger modulus, producing a period over 281 trillion steps while leaving the planes tightly packed.

    4. D

      It generated numbers from physical noise and therefore had no mathematical recurrence.

    Correct answer
    C

    It used improved parameters and a much larger modulus, producing a period over 281 trillion steps while leaving the planes tightly packed.

    Explanation

    Java’s LCG used a better multiplier, an added constant, and a much larger modulus than RANDU’s setup. Its period was reported as over 281 trillion steps, making the planes much more tightly packed, though not eliminating them.

  22. 22

    Which description matches the Minecraft world-generation setup discussed?

    1. A

      Chunks are 16 blocks wide in both X and Z, and can contain at most one diamond vein in the described version.

    2. B

      Chunks are 16 blocks wide in X and 32 in Z, and contain exactly one diamond vein.

    3. C

      Chunks are 16 blocks tall, and always contain one diamond vein at the surface.

    4. D

      Chunks are 32 blocks wide in both directions, and can contain many diamond veins.

    Correct answer
    A

    Chunks are 16 blocks wide in both X and Z, and can contain at most one diamond vein in the described version.

    Explanation

    Minecraft chunks in the described version are 16 blocks wide in both the X and Z directions. Each chunk can contain at most one naturally generated diamond-ore vein in that version.

  23. 23

    Why could locating a clay patch help a player find diamonds without knowing the Minecraft world seed?

    1. A

      The clay patch revealed the world seed because Minecraft printed it beside every resource.

    2. B

      Clay and diamonds were placed at identical coordinates in every chunk.

    3. C

      The method worked by searching every block in the chunk until diamonds appeared.

    4. D

      The clay location provided information about a related random state used to place diamonds, so the original world seed was unnecessary.

    Correct answer
    D

    The clay location provided information about a related random state used to place diamonds, so the original world seed was unnecessary.

    Explanation

    The trick used the known relationship between the starting values for different resources. The clay patch’s location could reveal the related random state used to determine the diamond location, without knowing the world’s original seed.

  24. 24

    What relationship between resource starting values helped make the Minecraft location trick possible?

    1. A

      The diamond seed was always three times the clay seed.

    2. B

      Each resource used a completely independent seed generated from physical noise.

    3. C

      The resource seeds were identical and were never modified.

    4. D

      The resources used offsets from a shared seed; the diamond and river-clay offsets differed by three before further processing.

    Correct answer
    D

    The resources used offsets from a shared seed; the diamond and river-clay offsets differed by three before further processing.

    Explanation

    In the discussed version, resource-generation starting values came from a shared seed with different fixed offsets. The diamond and river-clay starting values differed by just three before further processing, leaving a predictable relationship in many worlds.

  25. 25

    Why could an observed Java LCG output make it feasible to recover the generator’s internal state?

    1. A

      It maintained a 48-bit state and exposed 32 bits, leaving 16 bits, or 65,536 candidates, to test.

    2. B

      It maintained a 16-bit state and exposed 48 bits by combining consecutive outputs.

    3. C

      It maintained a 32-bit state and revealed all 32 bits, leaving no possibilities to test.

    4. D

      It maintained a 64-bit state and exposed 16 bits, leaving 48 bits to test.

    Correct answer
    A

    It maintained a 48-bit state and exposed 32 bits, leaving 16 bits, or 65,536 candidates, to test.

    Explanation

    Java’s LCG maintained a 48-bit internal state. An integer output revealed 32 of those bits, leaving only 16 unknown bits, or 65,536 possible states to check.

  26. 26

    How can a second output help an attacker recover Java’s 48-bit LCG state?

    1. A

      The next output always equals the hidden 16-bit portion of the current state.

    2. B

      Testing the 65,536 candidates against the next output can reveal the full state and allow future outputs to be calculated.

    3. C

      The output can be inverted by guessing the original Minecraft world seed directly.

    4. D

      The generator’s state is reset to zero after every observed output.

    Correct answer
    B

    Testing the 65,536 candidates against the next output can reveal the full state and allow future outputs to be calculated.

    Explanation

    A computer can test the 65,536 possible values for the hidden 16 bits against the next observed output. A matching candidate reveals the full internal state, from which subsequent outputs can be calculated.

  27. 27

    What change made the described Minecraft ore-location trick stop working in newer versions?

    1. A

      The game stopped using chunks and began placing all resources by hand.

    2. B

      The game changed Java’s general LCG period but kept the same ore-generation flaw.

    3. C

      The game removed diamonds from all worlds after the trick was published.

    4. D

      The game changed the ore-generation RNG in version 1.18, so the particular exploit no longer applied.

    Correct answer
    D

    The game changed the ore-generation RNG in version 1.18, so the particular exploit no longer applied.

    Explanation

    The described Minecraft exploit relied on a particular generator and seed relationship. The game’s developers changed the ore-generation RNG in version 1.18, removing the specific flaw the method exploited.

  28. 28

    Why was precise timing important to the slot-machine exploit?

    1. A

      The generator kept running while idle, and the result depended on its state when the spin button was pressed.

    2. B

      The machines paused the generator between players, so the next result was always fixed.

    3. C

      The generators produced a new random seed whenever the player touched the machine.

    4. D

      The machines chose results only after detecting the player’s identity.

    Correct answer
    A

    The generator kept running while idle, and the result depended on its state when the spin button was pressed.

    Explanation

    The slot-machine generators kept advancing even when no one was playing, and a spin’s result depended on the value selected at the instant the button was pressed. Timing the press could therefore exploit predictions about the sequence.

  29. 29

    How did the gamblers’ phone app account for the time it takes a person to react?

    1. A

      The phone waited a quarter-second after each win before displaying it.

    2. B

      The phone prevented players from pressing the button more than once per second.

    3. C

      The phone vibrated about a quarter-second before the player needed to press, compensating for reaction time.

    4. D

      The phone selected a new seed a quarter-second before every spin.

    Correct answer
    C

    The phone vibrated about a quarter-second before the player needed to press, compensating for reaction time.

    Explanation

    The scheme’s phone app accounted for an approximately quarter-second human reaction delay by vibrating shortly before the player needed to press the button.

  30. 30

    Which pseudorandom number generator was used by many of the slot machines in the described scheme?

    1. A

      The machines used a four-digit middle-square generator whose state was printed on the screen.

    2. B

      The machines used Java’s 48-bit LCG with the same resource-placement flaw as Minecraft.

    3. C

      The machines used the Mersenne Twister, whose long period did not make it immune to prediction.

    4. D

      The machines used a Bell-test generator based on entangled photons.

    Correct answer
    C

    The machines used the Mersenne Twister, whose long period did not make it immune to prediction.

    Explanation

    The account describes machines using the Mersenne Twister. Its very long period did not prevent prediction once its fixed rules and enough relevant information were available.

  31. 31

    What is the basic table-and-twist cycle of the Mersenne Twister described in the content?

    1. A

      It squares one four-digit seed and takes its middle digits for exactly 624 steps.

    2. B

      It maintains a table of 624 values, transforms the table, and produces 624 outputs before the next twist.

    3. C

      It produces one output from a 48-bit state and resets after every output.

    4. D

      It independently samples 624 physical events and then stores them permanently.

    Correct answer
    B

    It maintains a table of 624 values, transforms the table, and produces 624 outputs before the next twist.

    Explanation

    The Mersenne Twister described fills a table of 624 numbers, transforms it through a twist operation, and then produces 624 outputs before twisting the table again.

  32. 32

    What does the Mersenne Twister’s enormous period fail to guarantee?

    1. A

      Its period is 624 outputs because the table is replaced after each batch.

    2. B

      Its period is short, but its outputs are unpredictable even when the algorithm is known.

    3. C

      Its period exceeds 6,000 digits in length, but its fixed rules can still be analyzed for prediction.

    4. D

      Its period is infinite because each twist introduces a new physical seed.

    Correct answer
    C

    Its period exceeds 6,000 digits in length, but its fixed rules can still be analyzed for prediction.

    Explanation

    The Mersenne Twister’s period is extraordinarily long—more than 6,000 digits in the number of steps before repetition—but a long period does not prevent prediction when its rules and outputs can be analyzed.

  33. 33

    How did the exploit team use spin videos received from casinos?

    1. A

      They reverse-engineered the generator and compared observed spin videos with their own machines’ behavior.

    2. B

      They relied on a fixed cycle printed in the casino’s instruction manual.

    3. C

      They guessed the casino’s outcome by asking players to reveal the machine’s seed.

    4. D

      They caused the machines to send their internal state directly to the phones.

    Correct answer
    A

    They reverse-engineered the generator and compared observed spin videos with their own machines’ behavior.

    Explanation

    The team learned the machines’ generator by reverse-engineering their software. Videos from casino spins supplied observations that could be compared with the team’s machines to predict likely winning times.

  34. 34

    Which statement best describes the reported effectiveness of the slot-machine exploit?

    1. A

      It guaranteed a win on every spin and produced a fixed amount for each player.

    2. B

      It did not guarantee every spin, but a four-person team could reportedly win more than $250,000 in a week.

    3. C

      It guaranteed a win once per day but limited the total to $10,000 per team.

    4. D

      It produced no winnings unless the team controlled the casino’s entire machine network.

    Correct answer
    B

    It did not guarantee every spin, but a four-person team could reportedly win more than $250,000 in a week.

    Explanation

    The exploit did not guarantee a win on every spin, but the account reports that a four-person team could reportedly take more than $250,000 in a week.

  35. 35

    What legal outcome is described for the men caught in the slot-machine scheme?

    1. A

      They were not charged because the machines were functioning correctly.

    2. B

      They were charged with conspiracy to commit fraud; three received two-year sentences and one cooperated with the FBI.

    3. C

      They were charged only with trespassing; all four received identical fines.

    4. D

      They were charged with computer theft; two were imprisoned and two were acquitted.

    Correct answer
    B

    They were charged with conspiracy to commit fraud; three received two-year sentences and one cooperated with the FBI.

    Explanation

    The four men caught in the scheme were charged with conspiracy to commit fraud. Three were sentenced to two years in prison, while one cooperated with the FBI.

  36. 36

    Why can predictable random numbers threaten digital security?

    1. A

      Security is unaffected by predictable random values as long as they are numerous.

    2. B

      Security fails only when a generator repeats its sequence during a single session.

    3. C

      Security fails only when an encryption algorithm produces a long sequence.

    4. D

      Security can be compromised if an attacker can predict the random values used by the system.

    Correct answer
    D

    Security can be compromised if an attacker can predict the random values used by the system.

    Explanation

    Pseudorandom numbers can compromise security if an attacker can infer the generator’s seed or state and thereby predict later outputs. This is why security requires generators designed to resist prediction.

  37. 37

    How does the described encryption-based pseudorandom generator produce its outputs?

    1. A

      It adds each input to a public constant and reveals the remainder.

    2. B

      It transforms inputs with an encryption algorithm and a secret key that determines the output sequence.

    3. C

      It selects outputs from a table whose contents are available to every user.

    4. D

      It uses the same linear rule as an LCG but with a longer period.

    Correct answer
    B

    It transforms inputs with an encryption algorithm and a secret key that determines the output sequence.

    Explanation

    A cryptographic generator can encrypt a sequence of inputs using a secret key. The key acts like a seed, but the encryption transformation is designed to make outputs infeasible to predict without it.

  38. 38

    Why does an encryption algorithm still need an external source of randomness to start a secure generator?

    1. A

      The key is recovered from the first output after the sequence begins.

    2. B

      The encryption algorithm creates an unpredictable key merely by repeating its own calculations.

    3. C

      The key is unnecessary if the encryption algorithm is publicly known.

    4. D

      The generator needs an unpredictable key or seed supplied from another source.

    Correct answer
    D

    The generator needs an unpredictable key or seed supplied from another source.

    Explanation

    The secret key is not created by the encryption algorithm from nothing. The algorithm needs an unpredictable initial key or seed, which must come from another source.

  39. 39

    Why is guessing a common 128-bit cryptographic key not considered realistic?

    1. A

      A 128-bit key has infinitely many possibilities because each bit can have any value.

    2. B

      A 128-bit key has 21282^{128}2128 possibilities, making exhaustive guessing impractical.

    3. C

      A 128-bit key has 2162^{16}216 possibilities, so its security depends only on secrecy of the algorithm.

    4. D

      A 128-bit key has 128 possibilities, all of which can be checked instantly.

    Correct answer
    B

    A 128-bit key has 21282^{128}2128 possibilities, making exhaustive guessing impractical.

    Explanation

    With a common 128-bit key, there are 21282^{128}2128 possible keys—over 300 trillion trillion trillion—making exhaustive guessing infeasible in practice.

  40. 40

    What security advantage does the encryption-based pseudorandom generator provide over a simple LCG?

    1. A

      It eliminates the need for any random seed or key.

    2. B

      It makes outputs practically unpredictable without the secret key, even when the algorithm is known.

    3. C

      It prevents the generator from ever producing the same output twice.

    4. D

      It ensures every generated number is statistically independent by definition.

    Correct answer
    B

    It makes outputs practically unpredictable without the secret key, even when the algorithm is known.

    Explanation

    The encryption-based approach addresses the predictability problem of simple generators: even when the algorithm is known and outputs are observed, recovering the secret key is not practically feasible.

  41. 41

    Which describes physical sources used to seed random-number generators?

    1. A

      Processors obtain seeds from encrypted messages, and Cloudflare uses a fixed repeating lamp pattern.

    2. B

      Processors can measure electrical fluctuations, while Cloudflare uses lava lamps as a physical source of random seeds.

    3. C

      Processors can obtain seeds by reading the computer’s clock, and Cloudflare uses stored random digits.

    4. D

      Processors generate seeds by running an LCG, and Cloudflare uses slot-machine outputs.

    Correct answer
    B

    Processors can measure electrical fluctuations, while Cloudflare uses lava lamps as a physical source of random seeds.

    Explanation

    Processors can measure tiny fluctuations in electrical signals to obtain unpredictable seeds. Cloudflare’s wall of lava lamps is another physical source used to generate random seeds.

  42. 42

    Why might a coin toss fail to be fundamentally random under a classical-mechanics view?

    1. A

      A coin toss is fundamentally unpredictable because classical mechanics contains random outcomes.

    2. B

      A coin toss can be predictable if its initial conditions and motion are controlled precisely.

    3. C

      A coin toss is predictable only after the result has been observed.

    4. D

      A coin toss becomes predictable only if the coin is biased toward one side.

    Correct answer
    B

    A coin toss can be predictable if its initial conditions and motion are controlled precisely.

    Explanation

    A classical coin toss may appear random, but under carefully controlled conditions its motion can be predicted from its initial state and the laws of classical mechanics.

  43. 43

    What was the implication of Laplace’s imagined intelligence that knew every particle’s position and motion?

    1. A

      Only events involving coins could be calculated from initial conditions.

    2. B

      Complete knowledge of every particle’s position and motion would, in classical mechanics, allow all events to be calculated.

    3. C

      Knowing the position of one particle would make every future event random.

    4. D

      Classical mechanics says particle motion cannot be measured, so prediction is impossible.

    Correct answer
    B

    Complete knowledge of every particle’s position and motion would, in classical mechanics, allow all events to be calculated.

    Explanation

    Laplace imagined an intelligence that knew the position and motion of every particle. Under classical mechanics, such complete knowledge would allow it to calculate everything that happens.

  44. 44

    How are photon pairs produced in the described quantum-randomness experiment?

    1. A

      A bright laser interacts with a crystal, and occasionally a photon interaction produces a pair of daughter photons.

    2. B

      A crystal splits every incoming photon into exactly two photons on every pulse.

    3. C

      A laser sends photons into a detector, which chooses their polarization using a classical seed.

    4. D

      A weak laser heats a detector until it emits a single photon at regular intervals.

    Correct answer
    A

    A bright laser interacts with a crystal, and occasionally a photon interaction produces a pair of daughter photons.

    Explanation

    In the described experiment, an intense laser interacts with a crystal. Occasionally, a photon interaction produces a pair of daughter photons that can be measured.

  45. 45

    What quantum state of the photon pair is described, and what does it imply?

    1. A

      The pair is in a superposition of both-horizontal and both-vertical polarization states, creating entanglement.

    2. B

      The pair is prepared with one photon always horizontal and the other always vertical.

    3. C

      The photons are measured before being paired, so their results are unrelated.

    4. D

      Each photon is assigned an independent polarization by a separate random-number generator.

    Correct answer
    A

    The pair is in a superposition of both-horizontal and both-vertical polarization states, creating entanglement.

    Explanation

    The experiment prepares the pair in a superposition of both photons being horizontally polarized and both being vertically polarized, without a way to distinguish those possibilities. The shared state makes the photons entangled.

  46. 46

    Why can measurements of the two separated photons be correlated?

    1. A

      They carry independent classical states that guarantee unrelated results.

    2. B

      They exchange signals after measurement to coordinate their results.

    3. C

      They are identical copies of one photon and must produce the same detector signal.

    4. D

      They share an entangled state, so measurements can yield correlated results.

    Correct answer
    D

    They share an entangled state, so measurements can yield correlated results.

    Explanation

    The paired photons share an entangled quantum state. Measurements of the two photons produce correlated results even when the photons are sent to separated stations.

  47. 47

    Why were the two photon measurement stations placed about 110 meters apart?

    1. A

      They are 110 kilometers apart, preventing any communication by any physical means.

    2. B

      They are separated by a fiber cable that deliberately sends each result to the other station.

    3. C

      They are next to each other, allowing the researchers to synchronize their outcomes directly.

    4. D

      They are about 110 meters apart, preventing a light-speed signal from connecting the measurements in time.

    Correct answer
    D

    They are about 110 meters apart, preventing a light-speed signal from connecting the measurements in time.

    Explanation

    The measurement stations are about 110 meters apart. The arrangement is designed so that a light-speed signal cannot travel between them in time to affect the other station’s measurement.

  48. 48

    How are the polarization measurement settings selected in the experiment?

    1. A

      Both stations use the same angle, selected after comparing their detections.

    2. B

      Each station chooses one fixed angle before the experiment begins.

    3. C

      Each station randomly chooses between two measurement angles just before the photon arrives.

    4. D

      The photon itself chooses the angle after the detector records the result.

    Correct answer
    C

    Each station randomly chooses between two measurement angles just before the photon arrives.

    Explanation

    At each station, researchers choose between two possible polarization-measurement angles at random just before the photon arrives. This helps ensure that the measured result is not simply an answer predetermined for a known setting.

  49. 49

    How are the detector outcomes converted into bits?

    1. A

      A detection is encoded as 0 and no detection as 1.

    2. B

      The detector records the photon’s wavelength as a number between 0 and 100.

    3. C

      The detector outputs a number based on which station measured first.

    4. D

      A detection is encoded as 1 and no detection as 0.

    Correct answer
    D

    A detection is encoded as 1 and no detection as 0.

    Explanation

    Each detector either detects a photon or does not. The experiment encodes detection as 1 and no detection as 0.

  50. 50

    What does a violation of Bell’s inequality indicate in this experiment?

    1. A

      The observed correlations exceed the limit expected from locally predetermined answers, violating Bell’s inequality.

    2. B

      The inequality is violated whenever the detectors produce a mixture of zeros and ones.

    3. C

      Predetermined answers can produce any correlation, so the experiment checks only detector accuracy.

    4. D

      Bell’s inequality measures whether the two stations used identical equipment.

    Correct answer
    A

    The observed correlations exceed the limit expected from locally predetermined answers, violating Bell’s inequality.

    Explanation

    If photons carried predetermined answers for every possible measurement, their correlations would obey a mathematical bound. The observed correlations exceed that bound, violating Bell’s inequality.

  51. 51

    What conclusion follows from the Bell-test correlations when measurement choices are independent and the stations cannot communicate during measurement?

    1. A

      The results cannot be explained by locally predetermined outcomes, provided the stated independence and no-communication conditions hold.

    2. B

      The results prove that the detectors send faster-than-light signals to each other.

    3. C

      The results show that both photons were measured at the same location.

    4. D

      The results demonstrate that measurement settings were selected after the outcomes.

    Correct answer
    A

    The results cannot be explained by locally predetermined outcomes, provided the stated independence and no-communication conditions hold.

    Explanation

    Because the measurement choices are independent and the stations cannot communicate during measurement, the results cannot be explained by locally predetermined outcomes under the experiment’s assumptions.

  52. 52

    What concern is raised by the freedom-of-choice loophole?

    1. A

      It asks whether a biased coin was used to decide the final output bits.

    2. B

      It asks whether the detectors are placed too far apart to receive photons.

    3. C

      It asks whether the photons’ wavelengths change during transmission through fiber.

    4. D

      It asks whether measurement choices could have been correlated in advance with the particles or their results.

    Correct answer
    D

    It asks whether measurement choices could have been correlated in advance with the particles or their results.

    Explanation

    The freedom-of-choice loophole asks whether the measurement settings might have been correlated in advance with the systems being tested. If particles effectively knew which settings would be selected, the experiment’s inference could be undermined.

  53. 53

    How did the quasar-based approach address the freedom-of-choice concern?

    1. A

      They used photons from distant quasars to select settings, pushing possible coordination billions of years into the past.

    2. B

      They used the slot-machine generator to ensure the settings were independent.

    3. C

      They used light reflected from nearby buildings to select the same setting at both stations.

    4. D

      They used a local computer clock to select settings after the photons arrived.

    Correct answer
    A

    They used photons from distant quasars to select settings, pushing possible coordination billions of years into the past.

    Explanation

    The researchers used photons from distant quasars on opposite sides of the sky to choose measurement settings. Their light had traveled for billions of years, pushing any possible coordination far back in time, though not eliminating the loophole completely.

  54. 54

    Which assumptions does the described Bell-test certification rely on?

    1. A

      It requires only that the source produce photons at a high rate.

    2. B

      It requires that the raw outputs contain exactly equal numbers of zeros and ones.

    3. C

      It requires that the two detectors use identical measurement angles.

    4. D

      It relies on assumptions including no faster-than-light signaling, accurate timing and distance, and secure, faithful recording.

    Correct answer
    D

    It relies on assumptions including no faster-than-light signaling, accurate timing and distance, and secure, faithful recording.

    Explanation

    A Bell test can certify unpredictability only if relevant assumptions hold, including no faster-than-light signaling, accurate timing and distance measurements, and faithful, secure recording of results.

  55. 55

    What does a Bell test tell researchers about raw detector bits, and what does it not automatically guarantee?

    1. A

      The Bell test removes all zeros before calculating the correlations.

    2. B

      The Bell test guarantees every raw bit is independent and equally likely to be 0 or 1.

    3. C

      The raw outputs must already be evenly balanced, or the Bell test cannot be performed.

    4. D

      The raw outputs can be biased, and the Bell test quantifies their unpredictability without automatically making them balanced independent bits.

    Correct answer
    D

    The raw outputs can be biased, and the Bell test quantifies their unpredictability without automatically making them balanced independent bits.

    Explanation

    The Bell test quantifies how much unpredictability is present across many measurements, but the raw detector outcomes need not contain equal proportions of zeros and ones or form a neat independent bit sequence.

  56. 56

    How does the two-toss von Neumann method extract fair bits from a biased coin?

    1. A

      Keep only heads-tails pairs; because the two orders are equally likely, the result is a longer sequence.

    2. B

      Map heads-tails to 0 and tails-heads to 1, discard matching pairs, and obtain fair bits at the cost of a shorter sequence.

    3. C

      Keep matching pairs and discard opposite pairs; this removes all bias without shortening the sequence.

    4. D

      Map every heads result to 0 and every tails result to 1; this makes any biased coin fair.

    Correct answer
    B

    Map heads-tails to 0 and tails-heads to 1, discard matching pairs, and obtain fair bits at the cost of a shorter sequence.

    Explanation

    For a biased coin whose tosses are independent and whose bias remains constant, heads-tails and tails-heads have equal probability. Keeping one of these opposite-order pairs and discarding matching pairs yields fair bits, but fewer bits overall.

  57. 57

    What conditions make the von Neumann extraction method unbiased?

    1. A

      It works for any coin as long as heads and tails are independent within each toss.

    2. B

      It requires independent tosses and a bias that stays constant across them.

    3. C

      It works if the coin’s bias changes unpredictably between the first and second toss.

    4. D

      It works only if the coin is exactly fair before the extraction begins.

    Correct answer
    B

    It requires independent tosses and a bias that stays constant across them.

    Explanation

    The method works only if tosses are independent and the coin’s bias does not change. Under those conditions, heads-tails and tails-heads are equally likely even if heads and tails are not individually equally likely.

  58. 58

    How does the described NIST process transform the certified unpredictability into a final bit string?

    1. A

      The raw measurements contain at least 820 bits’ worth of certified unpredictability, which is extracted into 512 bits.

    2. B

      The experiment certifies 512 raw bits and expands them into 820 output bits.

    3. C

      The experiment generates 820 bits by encryption and uses the Bell test to reduce them to 512 measurements.

    4. D

      The experiment certifies 820 independent final bits and discards 512 of them.

    Correct answer
    A

    The raw measurements contain at least 820 bits’ worth of certified unpredictability, which is extracted into 512 bits.

    Explanation

    The Bell-test measurements certify at least 820 bits’ worth of unpredictability in the raw data. Randomness extraction concentrates that into a final output of 512 bits.

  59. 59

    What is the purpose of randomness extraction in the quantum experiment?

    1. A

      It concentrates certified unpredictability from many raw measurements into a shorter output sequence.

    2. B

      It creates unpredictability from a predictable seed by applying a longer algorithm.

    3. C

      It identifies the secret key that controls the photon source.

    4. D

      It makes every raw detector measurement equally likely to be zero or one.

    Correct answer
    A

    It concentrates certified unpredictability from many raw measurements into a shorter output sequence.

    Explanation

    Randomness extraction concentrates the unpredictability present in the raw data into a shorter output intended to be much closer to an unbiased, usable sequence of bits.

  60. 60

    What distinguishes the experiment’s final random bits from ordinary pseudorandom outputs?

    1. A

      Its randomness is guaranteed because its sequence is too long to repeat.

    2. B

      Its unpredictability is guaranteed because the generator’s algorithm is secret.

    3. C

      Its randomness follows from the fact that the detector uses binary outputs.

    4. D

      Its unpredictability can be certified from the Bell-test results, subject to the experiment’s assumptions.

    Correct answer
    D

    Its unpredictability can be certified from the Bell-test results, subject to the experiment’s assumptions.

    Explanation

    The output is described as certifiably unpredictable under the experiment’s assumptions, rather than merely looking random or being difficult to predict based on limited observations.

  61. 61

    Why must NIST physically protect the random sources used to choose measurement settings?

    1. A

      An attacker might inject light into the telescopes to control which measurement settings are selected.

    2. B

      An attacker might alter the public website after the experiment is complete.

    3. C

      An attacker might change the distance between the detectors by sending a radio signal.

    4. D

      An attacker might guess the key used by the Mersenne Twister in the photon source.

    Correct answer
    A

    An attacker might inject light into the telescopes to control which measurement settings are selected.

    Explanation

    NIST’s physical security concern is that an attacker might manipulate the light used to select measurement settings, thereby influencing the choices and potentially rigging the results.

  62. 62

    In the described setup, what is the difference between the random bits used to choose settings and the bits NIST aims to certify?

    1. A

      The detector outputs are used to choose settings only after each measurement has ended.

    2. B

      The same bits are both the measurement settings and the certified detector outputs.

    3. C

      The researchers do not use random settings because the Bell test requires fixed angles.

    4. D

      Random settings choose which measurements to perform; detector outputs are the bits whose unpredictability is certified.

    Correct answer
    D

    Random settings choose which measurements to perform; detector outputs are the bits whose unpredictability is certified.

    Explanation

    The measurement-setting randomness is used to perform the test, while the bits being certified come from the detector outcomes. These roles are distinct, even though some randomness is needed to make the test meaningful.

  63. 63

    What limitation remained after distant quasars were used to choose Bell-test settings?

    1. A

      It eliminated all loopholes because distant light cannot be altered by anyone.

    2. B

      It pushed possible coordination billions of years back but did not eliminate every loophole or experimental assumption.

    3. C

      It guaranteed the quasars’ photons were never affected by any physical process.

    4. D

      It proved that the detectors cannot contain any hidden variables.

    Correct answer
    B

    It pushed possible coordination billions of years back but did not eliminate every loophole or experimental assumption.

    Explanation

    The quasar method pushed potential coordination of the setting choices much farther back in time, but did not rule out every possible hidden explanation. NIST also has to account for physical interference and other assumptions.

  64. 64

    How can users check the provenance of the quantum-generated numbers published by NIST and the University of Colorado Boulder?

    1. A

      They are published without any record of how they were produced, to keep the method secret.

    2. B

      They are kept private and used only to choose measurement angles.

    3. C

      They are published with information that lets users trace and verify their generation.

    4. D

      They are generated by the published website rather than the physical experiment.

    Correct answer
    C

    They are published with information that lets users trace and verify their generation.

    Explanation

    The numbers generated by the NIST experiment are published with information that allows users to trace and verify how they were produced, supporting independent checking of the process.

Question 1 of 64
Question 1 of 64

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent