Schedule
Fall 2022 (08/25/2022 - 12/21/2022)
The semester has 29 class meetings including the final exam. Clicking on a class day below, you should find the class module for the day including lecture notes, assignments, and others. The instructor releases the content for a class generally on the Monday before the class. However, the instructor often makes update to the module content after the initial release. You should check this page often for up-to-date content.
In case you encounter a problem when viewing class content, such as, a broken link, please report it to the instructor immediately.
Topics: overview of class organization (syllabus); history of computing; preparing programming environment (JRE and JDK); basic program structure; writing, compiling, and executing Java programs;
Course Objectives
Lecture Notes
CodeLab
Reading
Topics: Primitive data types; variables; (in-class) programming lab 1;
Course Objectives
Lecture Notes
CodeLab
Reading
Notice: College Closed - Labor Day Observed
Topics: Numeric data types; expressions and assignment;
Course Objectives
Lecture Notes
CodeLab
Reading
Topics: augmented assignment; data type casting; (in-class) programming lab 2;
Course Objectives
Lecture Notes
CodeLab
Individual Programming Project
Reading
Topics: system time; common pitfallsa and errors about numeric data types; boolean; relational operators; if, if-else, if-else cascaded, nested if;
Course Objectives
Lecture Notes
Reading
Topics: boolean; relational operators; if, if-else, if-else cascaded, nested if; programming examples; in-class lab 3
Course Objectives
Lecture Notes
Individual Programming Project
Reading
Topics: logical operators; switch statement; conditional operator; operator precedence and associativity
Course Objectives
Lecture Notes
Reading
Notice: No classes scheduled
Topics: basics about loops; while loop;
Course Objectives
Lecture Notes
Reading
Topics: using the char data type; using the String type;
Course Objectives
Lecture Notes
Individual Programming Project
Reading
Topics: using Math methods; String Formattinga; printf;
Course Objectives
Lecture Notes
CodeLab
Reading
Notice: No classes scheduled
Notice: College closed
Topics: do-while loop; for loop; break; continue; nested-loops; pitfalls and errors; alogoritms and examples (computing sum; root finding; checking palindromes; checking prime numbers)
Course Objectives
Lecture Notes
Individual Programming Project
Reading
Topics: loops; alogoritms and examples (computing sum; root finding; checking palindromes; checking prime numbers)
Course Objectives
Lecture Notes
Reading
Topics: Q & A for Midterm Exam.
Lecture Notes
Reading
Topics: Calling and defining methods; formal and actual parameters; passing parameters and pass-by-value; return type;
Course Objectives
Lecture Notes
Reading
Topics: The instructor will hold a midterm exam in class (or online depending on course modality)
Topics: calling and defining methods; formal and actual parameters; return type; pass by value; using methods
Course Objectives
Lecture Notes
Individual Programming Project
Reading
Topics: method overloading; scope of local variables;
Course Objectives
Lecture Notes
CodeLab
Reading
Topics: stepwise-refinement using methods; using methods; example programs;
Course Objectives
Lecture Notes
Reading
Topics: stepwise-refinement using methods; using methods; example programs;
Course Objectives
Lecture Notes
Individual Programming Project
Reading
Topics: concept of arrays; 1-dimensional array; declare array reference variable; create array; initialize array; accessing array size; accessing array elements; displaying arrays; summing all elements; finding minimum and maximum; random shuffling and shifting elements
Course Objectives
Lecture Notes
Reading
Topics: passing 1-Dimensional Arrays to Methods; return 1-Dimensional Array from Methods
Course Objectives
Lecture Notes
CodeLab
Reading
Topics: sorting 1-dimensional arrays; searching 1-dimensional arrays;
Course Objectives
Lecture Notes
Individual Programming Project
Reading
Topics: sorting 1-dimensional arrays; searching 1-dimensional arrays;
Course Objectives
Lecture Notes
Reading
Topics: 1-dimensional arrays; text/character files; File; Scanner; PrintWriter
Course Objectives
Lecture Notes
Reading
Topics: 1-dimensional arrays; text/character files; File; Scanner; PrintWriter; Demo and exercises (sorting, searching, using arrays to process files; command line applications)
Course Objectives
Lecture Notes
Individual Programming Project
Reading
Topics: 2-dimensional and multi-dimensional arrays
Course Objectives
Lecture Notes
Reading
Topics: Q & A for Final Exam.
Lecture Notes
Individual Programming Project
Reading
Topics: Q & A for Final Exam.
Lecture Notes
Reading
Notice: Reading Day
Topics: The final exam is scheduled at RA-115RE, 1:00 - 3:00PM, December 20, 2022.