CS107 Introduction to Computer Programming A (H)

Fall 2021

Course Instructor

Dr. James Jianqiao Yu 余剑峤

Course Description

The course aims to cultivate talented students who have programming experience before their university study. In this course, we will introduce the fundamentals of object-oriented programming language and programming techniques. We will also introduce preliminary knowledge on data types and data structures. The students will be familiar with the popular programming language Java and be able to construct programs for solving general problems. On completion of this course, the students should be able to:

  1. understand the basic components in a software system and the working mechanism of the Internet and the Web;
  2. know the basic syntax of the Java programming language;
  3. understand the features of object-oriented programming: abstraction, encapsulation, inheritance, polymorphism; and
  4. develop programs to solve real problems using integrated development environments.

Logistics

Course Materials

There is no required text for this course. A reference textbook is “Java: How to Program (10th ed., late object version)” by Paul Deitel and Harvey Deitel. Lecture notes, lab sheets, and other materials will be posted periodically on this page.

Coursework

There will be five written assignments, one project, and one final examination. We try very hard to make questions unambiguous, but some ambiguities may remain. Ask if confused or state your assumptions explicitly. Reasonable assumptions will be accepted in case of ambiguous questions.

Grade Breakdown

  • 10% Lecture Attendance
  • 10% Lab Attendance
  • 30% Assignments
  • 20% Project
  • 30% Final examination

Schedule and Syllabus

Unless otherwise specified the lectures are 2:00pm to 3:50pm every Monday at Room 505 of Teaching Building No. 1, SUSTech.

Date Description Materials
Week #1 Monday, Sept. 6 Introduction to Computer Programming [slides] [lab]
Week #2 Monday, Sept. 13 Introduction to Java Applications [slides] [lab]
Week #3 Saturday, Sept. 18 Control Statement I [slides] [lab]
Event Monday, Sept. 20 Assignment 1 Release (Weeks 1 to 4)
Week #4 Monday, Sept. 27 Control Statement II [slides] [lab]
Deadline Sunday, Oct. 10 Assignment 1 Due
Week #5 Monday, Oct. 11 Arrays and ArrayLists [slides] [lab]
Event Monday, Oct. 11 Assignment 2 Release (Weeks 5 and 6)
Week #6 Monday, Oct. 18 Methods: A Deeper Look [slides] [lab]
Deadline Sunday, Oct. 24 Assignment 2 Due
Week #7 Monday, Oct. 25 Introduction to Classes and Objects [slides] [lab]
Event Monday, Oct. 25 Assignment 3 Release (Weeks 7 and 8)
Week #8 Monday, Nov. 1 Strings, Wrapper Class, and File IO [slides] [lab]
Deadline Sunday, Nov. 7 Assignment 3 Due
Week #9 Monday, Nov. 8 Class and Objects: A Deeper Look [slides] [lab]
Event Monday, Nov. 8 Project Specification Release [spec]
Event Monday, Nov. 8 Assignment 4 Release (Weeks 9 and 10)
Week #10 Monday, Nov. 15 Inheritance I [slides] [lab]
Deadline Sunday, Nov. 21 Assignment 4 Due
Week #11 Monday, Nov. 22 Inheritance II & Polymorphism I [slides] [lab]
Event Monday, Nov. 22 Assignment 5 Release (Weeks 11 and 13)
Week #12 Monday, Nov. 29 Polymorphism II [slides] [lab]
Deadline Sunday, Dec. 5 Assignment 5 Due
Week #13 Monday, Dec. 6 GUI programming [slides]
Week #14 Monday, Dec. 13 Java Collections, Generic Methods and Classes [slides] [lab]
Week #15 Monday, Dec. 20 Exception Handling and Recursion [slides]
Event Monday, Dec. 20 Project Inspection
Week #16 Monday, Dec. 27 Project Demo and Revision