Red Dwarf: Season 1, Episode 3
Balance of Power (29 Feb. 1988)
Lister wants to go on a date with the hologram of navigation officer Kristine Kochanski, much to Rimmer's disapproval. Lister decides to do a cooking exam so he can outrank Rimmer. But Rimmer has a cunning plan.