A Bernoulli Trial or Binomial Trial is an experiment in which there are exactly two possible outcomes: Success or Failure.
A random variable is assigned with: [color=#ff00ff]Success = 1[/color] and [color=#0070c0]Failure =0[/color].
[b]Important:[/b] A Bernoulli Trial is completely determined, i.e. we know EVERYTHING about it, if we know the [color=#ff00ff]p= probability of Success= Pr(1)[/color].