A legislative act that inflicts punishment without a trial is unlawful and is called:
a.
a bill of attainder
c.
habeas corpus
b.
an ex post facto law
d.
a quid pro quo