Ask your own question, for FREE!
MIT 6.00 Intro Computer Science (OCW) 20 Online
OpenStudy (anonymous):

Problem set 1: Bisection Search question: Can we use the two while loops like we did in the question before to solve this, or do we need to start from scratch?

OpenStudy (anonymous):

- initialize variables - establish upper and lower bounds * guess the answer (1/2 way between upper and lower * perform computations * check the result and determine if the guess was too big or too small or just right * adjust one of the bounds as necessary * repeat if you can reuse code, great

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!