🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: Searching Git History: all 10 questions

Quiz: Searching Git History · Question 6 of 10

About how many tests does bisect need to search 1,000 commits?

About how many tests does bisect need to search 1,000 commits?

  1. A.1,000
  2. B.500
  3. C.100
  4. D.10
Answer & explanation

Correct answer: 10

log2(1000) is just under 10, so about 10 tests are enough.

Can you get the rest right without peeking?

Take the timed Quiz: Searching Git History quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →