Embercode
✕
Learning with AIQuick quiz

Pairing

8 questions. Covers Pair programming basics.

Questions 1 to 5 of 8

  1. 1. In a pair, the navigator is the person who types the code while the driver watches and asks questions.
  2. 2. Ana is the driver and Ravi is the navigator. Which of these is Ravi's job?
  3. 3. Two people at one keyboard split the work in half, so each person writes half the code and the task takes half the time.
  4. 4. The test loop uses the first version of make_slug. What does this code print? ``python def make_slug(title): return title.lower().replace(' ', '-') print(make_slug('a b')) ``
  5. 5. Ana says her function is correct for a b. Ravi expects a-b. What should the pair do before changing any code?

5 question(s) left on this page.