Random Numbers Flashcards

1
Q

Computers are described as deterministic, rather than non-deterministic, what does that mean?

A

When a system is deterministic given the same input, there is always the same output. A non-deterministic system is one that for the same input can have more than one output – there is no way of predetermining the system’s exact behaviour.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the two main approaches to generating random numbers using a computer?

A

Pseudo-Random Number Generators and True Random Number Generators

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are the pros and cons of PRNGs?

A

They are efficient, however they are deterministic and periodic. Nowadays that periodicity however is so long that it is often ignored.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are the characteristics of TRNGs?

A

They’re inefficient, but nondeterministic and aperiodic.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is a major disadvantage of TRNGs (excluding inefficiency)?

A

Programs using TRNGs are difficult to debug.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is a major disadvantage of PRNGs?

A

Numbers eventually repeat themselves.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly