SUNY Geneseo Department of Computer Science
Cell Arrays and Relational Databases
Wednesday, April 30
CSci 120, Spring 2014
Prof. Doug Baldwin
Return to List of Lectures
Previous Lecture
Misc
Final exam
- Friday, May 9, in 2 80-minute sessions
- Monday + Friday 10:30 students from 12:00 - 1:20
- Wednesday + Friday 11:30 students from 1:30 - 2:50
- South 341
- Comprehensive, but emphasizing material since 2nd hour exam (e.g., cell arrays, load/save, debugging)
- Style similar to hour exams, but more questions
- Donuts and cider
Next Monday’s class is a catch-up day
Group meetings next week
- Required meetings end after last day of classes (May 6)
- Happy to meet with you if you want after that, of course
- If you regularly meet with me Monday or Tuesday, do so May 5 or 6; Wednesday through Friday meetings end this week
- I’ll drop lowest group meeting grade from course grade calculation
Furlough days
- I won’t be available…
- Thursday, May 8 and Wednesday May 14
SOFIs
- 10 responses so far—thank you
- Useful to me, especially any comments on how the flipped format and groups worked
- Online form via Knightweb
- Click “Surveys” button, then “SOFI survey”
Questions?
“Representation” of Mad Lib?
- Way of using Matlab data types (e.g., numbers, vectors, cell arrays, etc.) to describe a Mad Lib
- e.g., (inspired by fprintf ‘abcde %f xyvsd %s’)
- Mad Lib could be a string with markers for places where certain parts of speech have to be inserted: ‘Once upon a time there was a %n who was very %a ...’
- Test for whether something is a “representation”: can I store this in a variable, save in file, pass to a function
- Counter-example:
s1 = input( 'Enter a noun', 's' )
s2 = input( 'Enter a verb', 's' )
fprintf( 'Once upon a time there was a %s who was..', s1, s2, … )
Advanced Relational Database Operations
Cross product and join
Next Lecture