08-07feb15classstuff

08-07feb15classstuff - CS100J Classes stepwise refinement...

Info iconThis preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon
1 CS100J Classes, stepwise refinement 25 February 2007 Rsrecah on spleilng Aoccdrnig to a rscheearch at Cmabirgde Uinervtisy, it deosn't mttaer in waht oredr the ltteers in a wrod are, the olny iprmoetnt tihng is that the frsit and lsat ltteer be at the rghit pclae. The rset can be a total mses and you can sitll raed it wouthit porbelm.Tihs is bcuseae the huamn mnid deos not raed ervey lteter by istlef, but the wrod as a wlohe. Miscellaneous points about classes. More on stepwise refinement. CMS allows you to submit an assignment several times. We grade only the last one submitted (but access to all of them). Prelim 7:30-9:00 Thursday, 22 Feb. Review session: 1:00-3:00, Sunday, 18 Feb., in Philips 101
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
2 Help: Get it now if you need it!! • One-on-one help from TAs. For info, get on the course website and click "Staff-info". • Call Cindy Pakkala 255-8240 for an appointment with Gries. • See a consultant in the ACCEL Green room 2:30 to 11:00 (to 6:00 on Fri-Sat). They aren't very busy now. • Peer tutoring (free). On http://www.engineering.cornell.edu, click on "student services". On the page that comes up, click on "Learning Initiatives (L.I.F.E.) in the left column, upper part. Then, click on "peer tutoring" in the left column. • Take an AEW courses. Ask in Olin 167.
Background image of page 2
3 Notes on assignment A3 3. Testing for null /** = ”r is this Elephant’s brother". Precondition: r not null. */ public boolean isBrotherOf(Elephant r) { // No need to test for null . It’s the caller’s duty not to have r null. } /** = ”r1 and r2 are not null, and r1 and r2 are siblings */ public static boolean areSiblings(Elephant r1, Elephant r2) { // The result depends on r1, r2 not being null, and the // return expression should somehow include that test.
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 4
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 03/03/2012 for the course CS 100J taught by Professor Davidgries during the Spring '07 term at Cornell.

Page1 / 12

08-07feb15classstuff - CS100J Classes stepwise refinement...

This preview shows document pages 1 - 4. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online