CS100 M Spring 2007
Prelim 1 Topics
Topics/Ideas
- Scalar variables
- Selection
- Iteration (while loop, for loop)
- User-defined functions
- MATLAB predefined (built-in) functions (those used in lecture/section/lab/projects)
- good programming style
Students are responsible for all material covered in lectures, sections (labs),
homework, and the assigned reading:
- Lecture and section: up to and including 2/21, but exclude 1-d array
- Homework: Projects 1 and 2
- Assigned reading: See CS100M-->Lecture Materials, up to and including 2/15
You will use scalar variables only--no arrays. The names of MATLAB predefined (built-in)
functions that may be needed for solving the exam problems will be given on the exam. You are
expected to know how to use them.
Statements students may not use: