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

Anyone working on Problem set 1 (not 0)?

OpenStudy (anonymous):

Just did it

OpenStudy (anonymous):

Did you use the book or just online references? I think I know the parts, but unsure how to put it all together, generate all odds as candidates for primes then test and count odds as to whether they are primes?

OpenStudy (anonymous):

Just the lecture and handouts. Start with the test for one prime number and work your way outward. Also start with just the first 10 or so primes, so debugging is easier. I got tripped up with not indenting correctly and initializing the variables on the wrong level of code at first.

OpenStudy (anonymous):

Thanks, Joe. I'll start there. Thanks for the structure hint . . .

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!