Home
>>    




Final exam topics

CS 121B (CS1), Spring 2014

Here is a list of topics to review for the final exam.

  • Basic Python3 expressions and syntax; import and its use with standard packages math, random, turtle, image package cImage.

  • Strings; string methods split(), strip(), lower(), upper(); string concatenation +

  • Types; integer and floating point numbers; number operators + - * / ** //

  • Built-in Python3 functions input(), print(), len(), int(), str(), float(), list(), open()

  • Iteration with for, while; programming with accumulators

  • Functions, function calls, function definitions, binding-and-evaluation. Function specs

  • Recursion, including non-linear recursion

  • Dictionaries

  • Programming with WebMapReduce

  • Classes, subclasses, class variables, terminology, defining classes and subclasses, programming with classes.
    Basic terminology: object, state variable, method, class, instance, subclass/superclass/inheritance, class variable

  • Programming with turtle graphics, images, and files. Lists of method names will be provided for these classes.