SUNY Geneseo Department of Computer Science
Catch-Up Day
Wednesday, March 26
CSci 120, Spring 2014
Prof. Doug Baldwin
Return to List of Lectures
Previous Lecture
Misc
Disk drive has died on our web server, hopefully back by end of today
Math dept soliciting scholarship applications
- Due March 26
- http://www.geneseo.edu/math
Questions?
Catch-Up Day
“While” loops lesson
Project 2
- Demo
- Handout
- Comments matter!
- Do… write comments that explain the overall purpose of your program, non-obvious “tricks” in the code, the algorithmic ideas behind it, what variables represent, etc.
- Do Not… write comments that repeat what the code already says, repeat blocks of text from handouts, etc.
- Example of comments in one of my programs (prototype for project 1)
Next
“If” statements
Handout
Read / watch
- Sections 4.1 through 4.3 of Attaway’s text
- “The if-else statement” mini-lecture from Edinburgh.
- The “Conditional statements” sub-section of the “Programming” section of the “Logic and Flow Control” chapter of Mathworks’ tutorials.
- 4 video lectures on the Bisection method at https://www.youtube.com/playlist?list=PL3C53B3B12414AF72
- For bonus part:
Next Lecture