Announcements




 

Lecture Slides

Computer Systems Introduction Slides

Matlab Scalars, Variables, Strings

Scripts, Algorithms, Pseudo-code, If statements

Loops

Vectors in Matlab

Loops II

Functions

Structured Programming and Top-Down Design

Top-Down Design Example (Checkerboard.zip)

Matrices

String Functions

 


Java Objects and Primitive Data

Using Objects

Java Program Control Structures

Static Methods

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

  1. Week: Introduction to Computer Systems
  2. Week: MATLAB Basics
  3. Week: Relational and Logical Operators
  4. Week: Branches , Loops
  5. Week: 2-D Arrays , Plotting
  6. Week: Input/Output Functions

  7. Week: Introduction to Java
  8. Week: Control Flow-If statements
  9. Week: Control Flow-Loops
  10. Week: Methods
  11. Week: Methods (cont.)
  12. Week: Arrays
  13. Week: Arrays (cont.)
  14. Week: Java Review

 


Resources

Java Draw for Matlab

Cornell Univ CS100m Notes : Chapter 1 (pdf), Chapter 2(pdf),Chapter 3(pdf) Chapter5(pdf)Chapter 9(pdf)

Matlab Sources to Draw Pixels

A Matlab Overview

Matlab Primer

Findbugs

JDK and Netbeans Installer (Local)

Netbeans Installer

Java API Documentation (API)

Java API Documentation (Download)

Word Twist Game

 

 

Labs

  1. Lab  Computer Literacy (click for view/download)
  2. Lab MATLAB Basics (click for view/download)
  3. Lab  If statements
  4. Lab  Loops
  5. Lab  Vectors and Plotting
  6. Lab  User Defined Functions
  7. Lab Game of Life Using Pixels
  8. Lab Introduction to Java and Netbeans Environment
  9. Lab Using Objects
  10. Lab
  11. Lab
  12. 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 %