|
Syllabus for CSE142: Computer Programming I
|
|
CSE142: Computer Programming I
Credits
4
Catalog description
Basic programming-in-the-small abilities and concepts including procedural programming (methods,
parameters, return values) , basic control structures (sequence, if/else, for loop, while loop),
file processing, arrays and an introduction to defining objects.
Prerequisites
none
Textbook(s) and/or other required material
Building Java Programs, Addison Wesley, Stuart Reges and Marty Stepp
Course objectives
Students will master basic procedural programming constructs. They will learn to write and debug
small programs (50-100 lines) using a full range of procedural techniques using a variety of input
sources (console, file) and a variety of output destinations (console, file, graphical). Students
will learn the design principles that are relevant to this style of “programming in the small”
including decomposition, information hiding, elimination of redundancy, detailed documentation, and
use of parameters and return values to create flexible components. Students will be exposed to the
major design issues of object oriented programming including inheritance.
Topics covered
Basic concepts of computer structure and program execution
Variables, types, expressions, and assignment
Input/output: console, file, graphical
Conditional execution (if/else)
Iteration (for, while)
Defining methods: parameters, return values
Arrays (one-dimensional)
User-defined classes
Use of standard library objects: strings, graphics
Procedural decomposition of problems
Programming style: eliminating redundancy, localizing variables, class constants, commenting, use
of parameters and return values to increase flexibility, appropriate choice of control structure
(e.g., sequential if versus if/else)
Course structure
3 50-minute lectures per week
1 50-minute quiz section per week
Weekly projects to be completed outside of class
Last edited by
reges
Last modified
10:02am 27 Apr 2007
|
 |
Computer Science & Engineering
University of Washington
Box 352350
Seattle, WA 98195-2350
(206) 543-1695 voice, (206) 543-2969 FAX
[comments to webmaint]
|