CS107 Introduction to Computer Programming A (H)

Fall 2020

Course Instructor

Dr. James 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.
  5. understand basic data types and data structures.


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.


There will be four 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


ClassInstructorTeaching AssistantTime
1Ms. Yun ShenTBDWednesday Slots 3 and 4

Schedule and Syllabus

Unless otherwise specified the lectures are 2:00pm to 3:50pm every Monday at Room 502 of Teaching Building No. 1, SUSTech. The following schedule is subject to changes in the following weeks.

Week #1Monday, Sept. 7Introduction to Computer Programming[slides] [lab]
Week #2Monday, Sept. 14Introduction to Java Applications[slides] [lab]
Week #3Monday, Sept. 21Control Statement I[slides] [lab]
Week #4Monday, Sept. 28Control Statement II[slides] [lab]
EventWednesday, Sept. 30Assignment 1 Release (Weeks 1 to 4)[problems]
DeadlineSunday, Oct. 11Assignment 1 Due[sakai]
Week #5Monday, Oct. 12Arrays and ArrayLists[slides] [lab]
EventWednesday, Oct. 14Assignment 2 Release (Weeks 5 and 6)[problems]
Week #6Monday, Oct. 19Methods: A Deeper Look[slides] [lab]
DeadlineSunday, Oct. 25Assignment 2 Due[sakai]
Week #7Monday, Oct. 26Introduction to Classes and Objects[slides] [lab]
Week #8Monday, Nov. 2Strings and Wrapper class[slides] [lab]
EventWednesday, Nov. 4Assignment 3 Release (Weeks 7 to 9)[problems]
Week #9Monday, Nov. 9Class and Objects: A Deeper Look[slides] [lab]
EventMonday, Nov. 9Project Specification Release[spec]
DeadlineSunday, Nov. 15Assignment 3 Due[sakai]
Week #10Monday, Nov. 16Inheritance I[slides] [lab]
Week #11Monday, Nov. 23Inheritance II & Polymorphism I[slides] [lab]
EventWednesday, Nov. 25Assignment 4 Release (Weeks 10 to 12)[problems]
Week #12Monday, Nov. 30Polymorphism II[slides] [lab]
DeadlineSunday, Dec. 6Assignment 4 Due[sakai]
Week #13Monday, Dec. 7GUI programming and Exception Handling[[slides]]
Week #14Monday, Dec. 14Java Collections, Generic Methods and Classes[[slides]] [lab]
Week #15Monday, Dec. 21Recursion and Revision[[slides]]
EventMonday, Dec. 21Project Inspection