CS1112 Fall 2010
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/section/lab/projects)
- good programming style
Students are responsible for all material covered in lectures, discussions,
homework, and the assigned reading:
- Lecture: up to and including 9/16 (First 3 examples in 9/21 lecture are review
problems)
- Discussion: up to and including 9/22 (First 2 problems in 9/21,22 discussion
are review problems)
- Homework: Projects 1 and 2
- Assigned reading: See CS1112-->Lecture Materials, up to and including 9/16
(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: