MCS 177: Introduction to Computer Science I (Fall 2010)

Test 1 Info


Topics for Test 1 (Friday October 1, in class)

  • Arithmetic operations: +, -, *, /, //, %, **, and ==

  • Defining a non-looping, unconditional procedure like candyTemperature: def, =, and return

  • Defining looping procedures like presentsThroughDay: for and the accumulator pattern

  • Choosing between alternatives: if, else, and elif

  • String operations: +, *, [], [:], in, find, and for

Some reminders:

  • You may use a single 8 1/2 by 11 sheet of paper with hand-written notes for reference. (Both sides of the sheet are OK.)

  • On Thursday, in place of our lab period I have scheduled extra office hours during both lab sections (12:30 - 2:30).