CS1112 Spring 2009
Prelim 1 Topics
Topics/Ideas
- Scalar variables and operations
- Selection
- Iteration (while loop, for loop), including nested loops
- 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: up to and including 2/12
(but exclude 1-dimensional array, vectorized code))
- Section: up to and including 2/11
- Homework: Projects 1 and 2
- Assigned reading: See CS1112-->Lecture Materials, up to and including 2/10
You may be asked to use user-defined functions (such as drawDisk),
but you do not need to write user-defined functions.
Examples on how to use selected MATLAB predefined (built-in) functions
will be given on the exam.
Statements students may not use: