General Information

Section: Class Hours: Room: Instructor: E-mail: Office: Office Hours:
CMP 167 02 (55318) M, W 1:00-2:40 PM GI-219 Sameh Fakhouri sameh DOT fakhouri AT lehman DOT cuny DOT edu GI-102 Tuesdays 3:00-6:00 PM

Syllabus:

The syllabus for the course can be found here.

Announcements:

Schedule:

Date Handouts Topics
August 24 Last Day To Drop With 100% Tuition Refund
August 25 Classes Begin
Week 1
August 29 - September 4
Syllabus
Participation and Challenge Activity 1
Academic Integrity Code
Section 1.1 - Programming
Section 1.2 - A First Program
Section 1.3 - Basic Output
Section 1.4 - Basic Input
Section 1.5 - Comments and Whitespace
Section 1.6 - Errors and Warnings
August 31 Last Day To Drop With 75% Tuition Refund
Week 2
September 5 - September 11
Participation and Challenge Activity 2 Section 1.7 - Computers and Programs
Section 1.8 - Computer Tour
Section 1.9 - Language History
Section 1.10 - Problem Solving
Section 1.11 - Java Example: Salary Calculation
Section 1.12 - Java Example: Married Couple Names
Section 1.13 - Warm Up: Hello World (Java)
Section 1.14 - Warm Up: Basic Output With Variables (Java)
Section 1.15 - Program: ASCII ART (Java)
Section 1.15 - Read And Write Different Types Of Data
September 5 Labor Day - College Closed
September 7 Participation and Challenge Activity 1 Deadline
September 7 Last Day To Drop With 50% Tuition Refund
Week 3
September 12 - September 18
Homework 1
Participation and Challenge Activity 3
Section 2.1 - Variables (int)
Section 2.2 - Assignments
Section 2.3 - Identifiers
Section 2.4 - Arithmetic Expressions (int)
Section 2.5 - Arithmetic Expressions (double)
Section 2.6 - Constant Variables
September 14 Participation and Challenge Activity 2 Deadline
September 14 Last Day To Drop With 25% Tuition Refund
Last Day To Drop Without The Grade Of "W"
Week 4
September 19 - September 25
Homework 2
Participation and Challenge Activity 4
Section 2.7 - Math Methods
Section 2.8 - Type Conversions
Section 2.9 - Binary
Section 2.10 - Characters
Section 2.11 - String Basics
September 21 Homework 1 Deadline
September 23 Participation and Challenge Activity 3 Deadline
Week 5
September 26 - October 2
  Section 2.12 - Integer Overflow
Section 2.13 - Numeric Data Types
Section 2.14 - Random Numbers
Section 2.15 - Reading API Documentation
Section 2.16 - Debugging
Section 2.17 - Style Guidlines
Section 2.18 - Java Example: Salary Calculation With Variables
Section 2.19 - Java Example: Married-Couple Names With Variables
Section 2.20 - Warm Up: Variables, Input, and Casting (Java)
Section 2.21 - Program: Painting A Wall (Java)

Section 3.1 - if-else
Section 3.2 - Relational / Equality Operators
Section 3.3 - Multiple if-else Branches
Week 6
October 3 - October 9
Homework 3
Participation and Challenge Activity 5
Section 3.4 - Logical Operators
Section 3.5 - Switch Statement
Section 3.6 - Boolean Data Type
Section 3.7 - String Comparisons
Section 3.8 - String Access Operations
Section 3.9 - String Modify Operations
Section 3.10 - Character Operations
Section 3.11 - Conditional Expressions
Section 3.12 - Floating Point Comparison
Section 3.13 - Short Circuit Evaluation
Section 3.14 - Java Example: Salary Calculation With Branches
Section 3.15 - Java Example: Seach For Name Using Branches
Section 3.16 - Warm Up: Text Message Abbreviation Decoder (Java)
Section 3.17 - Program: Text Message Decoder (Java)
Section 3.18 - Program: Text Message Expander (Java)
October 3 - October 4 No Classes Scheduled
October 6 Classes Follow A Monday Schedule
October 4 Homework 2 Deadline
October 4 Participation and Challenge Activity 4 Deadline
Week 7
October 10 - October 16
   
October 10 Columbus Day - College Closed
October 11 - October 12 No Classes Scheduled
October 16 Homework 3 Deadline
October 16 Participation and Challenge Activity 5 Deadline
Week 8
October 17 - October 23
Exam 1 Review
&
Exam 1
October 17 Exam 1 Review
October 19 Exam 1 Exam 1 Information
Week 9
October 24 - October 30
Homework 4
Participation and Challenge Activity 6


Eclipse

Section 4.1 - Loops
Section 4.2 - While Loops
Section 4.3 - More While Examples
Section 4.4 - Counting
Section 4.5 - For Loops
Section 4.6 - Nested Loops
Section 4.7 - Incremental Programming
Section 4.8 - Break And Continue
Section 4.9 - Enumerations
Section 4.10 - Java Example: Salary Calculation With Loops
Section 4.11 - Java Example: Domain Name Validation With Loops
Section 4.12 - Warm Up: Drawing A Right Triangle (Java)
Section 4.13 - Program: Drawing A Half Arrow (Java)
Week 10
October 31 - November 6
Homework 5
Participation and Challenge Activity 7
Section 5.1 - Array Concept
Section 5.2 - Arrays
Section 5.3 - Array Iteration Drill
Section 5.4 - Iterating Through Arrays
October 31 Homework 4 Deadline
October 31 Participation and Challenge Activity 6 Deadline
Week 11
November 7 - November 13
  Section 5.5 - Multiple Arrays
Section 5.6 - Swapping Two Variables
Section 5.7 - Loop-Modifying or Copying/Comparing Arrays
Section 5.8 - Debug: Array Reverse
Section 5.9 - Two-Dimensional Arrays
Section 5.10 - Java Example: Salary Calculation With Arrays
Section 5.11 - Java Example: Domain Names With Arrays
Section 5.12 - Warm Up: People's Weights (Java)
Section 5.13 - Program: Soccer Team Roster (Java)
November 10 Deadline To Withdraw With A Grade Of "W"
November 13 Homework 5 Deadline
November 13 Participation and Challenge Activity 7 Deadline
Week 12
November 14 - November 20
   
November 14 Exam 2 Review
November 16 Exam 2 Exam 2 Information
Week 13
November 21 - November 27
Homework 6
Participation and Challenge Activity 8  
Section 6.1 - Method Basics
Section 6.2 - Parameters
Section 6.3 - Return
Section 6.4 - Reasons And Methods
Section 6.5 - Methods With Branches/Loops
Section 6.6 - Unit Testing (methods)
Section 6.7 - How Methods Work
Section 6.8 - Methods: Common Errors
Section 6.9 - Array Parameters
Section 6.10 - Scope Of Variable/Method Definitions
Section 6.11 - Method Name Overloading
Section 6.12 - Javadoc For Methods
Section 6.13 - Java Example: Salary Calculation With Methods
Section 6.14 - Java Example: Domain Names With Methods
Section 6.15 - Warm Up: Text Analyzer And Modifier (Java)
Section 6.16 - Program: Authoring Assistant (Java)
November 24 - November 27 Thanksgiving Holiday - College Closed
Week 14
November 28 - December 4
Homework 7  
November 30 Homework 6 Deadline
December 4 Participation and Challenge Activity 8 Deadline
Week 15
December 5 - December 11
   
December 10 Homework 7 Deadline
Week 16
December 12 - December 18
Final Exam Review
December 12 Final Exam Review
December 12 Last Day of Classes
December 19 Final Exam Final Exam Information