CS1112 Spring 2011
Prelim 1 Topics
Topics/Ideas
- Scalar variables and operations
- Selection (conditional)
- Iteration (while-loop, for-loop), including nested loops
- MATLAB predefined (built-in) functions (those used in lecture/discussion/projects)
- good programming style
Students are responsible for all material covered in lectures, discussions,
homework, and the assigned reading:
- Lecture: up to and including Lec 8
(but exclude 1-dimensional array, vectorized code, linear interpolation)
- Discussion: up to and including Lab 4
- Homework: Projects 1 and 2
- Assigned reading: See CS1112-->Lecture Materials, up to and including Lec 7
(Ch 1-3)
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.
Matlab commands students may not use: