Lecture Slides
Computer Systems Introduction Slides
Matlab Scalars, Variables, Strings
Scripts, Algorithms, Pseudo-code, If statements
Loops II
Structured Programming and Top-Down Design
Top-Down Design Example (Checkerboard.zip)
Java Objects and Primitive Data
Java Program Control Structures
CheckerBoard Rectangle Example in Java (sources: DrawingUtils.java, DrawingPad.java, CheckerBoard.java, DrawingPad3.java)
House example (for method decomposition)
Arrays (PrintReverse
, WordCount (using arrays) and
WordCount2 (using ArrayLists) examples,
subset permutation
examples)
Syllabus
- Week: Introduction to Computer Systems
- Week: MATLAB Basics
- Week: Relational and
Logical Operators
- Week: Branches , Loops
- Week: 2-D Arrays , Plotting
- Week: Input/Output Functions
- Week: Introduction to Java
- Week: Control Flow-If statements
- Week: Control Flow-Loops
- Week: Methods
- Week: Methods (cont.)
- Week: Arrays
- Week: Arrays (cont.)
- Week: Java Review
Resources
Java Draw for MatlabCornell Univ CS100m Notes : Chapter 1 (pdf), Chapter 2(pdf),Chapter 3(pdf) Chapter5(pdf)Chapter 9(pdf)
JDK and Netbeans Installer (Local)
Java API Documentation (Download)
Labs
- Lab Computer
Literacy (click for view/download)
- Lab MATLAB Basics (click for view/download)
- Lab If statements
- Lab Loops
- Lab Vectors and Plotting
- Lab User Defined Functions
- Lab Game
of
Life Using Pixels
- Lab Introduction to Java and Netbeans Environment
- Lab Using Objects
- Lab
- Lab
- Lab 11 (The Last Lab !)
Sample Exams
Grading Policy (tentative)
| Lab Attendance | 10 % |
| Lab Quiz | 15 % |
| Class Attendance / Class Quiz: | 15 % |
| Midterm: | 25 % |
| Final exam: | 35 % |