Academic Calendar | Helena (HOME) | | | PASS_Guide


Class Progress in PASS (Refresh)

Lab01 Q2: 67 Q5: 61 Q6A: 60 Q6B: 56 
Lab02 Q1: 66 Q2: 67 Q3: 67 Q4: 61 Q5a: 58 Q5b: 59 Q6 (Optional): 24 
Lab03 Q1: 63 Q2: 63 Q3: 63 Q4: 57 
Lab04 Q2: 63 Q3: 64 Q4: 63 Q5: 64 Q6: 64 Q7: 61 Q8:61 Q9:61 Q10:58Q11:58
[Lab05-09 Lab hosts' work not counted]
Lab05 Q2: 59 Q5: 58 Q6: 52 
[Lab05-09 Lab hosts' work not counted]
Quiz Redo (optional)Q1: 23 
Lab06 Q2: 60 Q3: 59 Q4: 54 Q5: 52 
Lab07 Q7: 53 
Lab08 Q1: 58 Q2: 58 Q3: 57 Q4: 55 Q5: 51 Q6: 53 
Lab09 Q1: 57 Q2: 54 
Lab10 Q1: 53 
Lab11 Q1a: 49 Q1b: 48 
Lab12 Q1: 55 Q2: 55 Q3: 55 Q4a: 52 Q4b: 53 
Midterm Redo Q2: 9 Q3: 9 Q4: 10 
Lab13 Q2:  Q3:  Q4:  
[ Asg ] Phase1: 64 Phase2: 61 Phase3: 54 
(Refreshed 12-05-26 21:36:36  last finished: 27-04-26 17:25:25, see all)

Lecture Topics

[Topic 00] Course Introduction

[Topic 01] Intro. to Java (Topic01.pdf)

[Topic 02] Basic Progr. Structures (pdf)

[Topic 03] Objects and Classes (pdf)

[Topic 04] Inheritance (pdf)

[Topic 05] Interface and Inner Classes (pdf)

[Topic 06] Exception Handling (pdf)

[Topic 07] Generic Programming (pdf)

[Topic 08] Collections (pdf)

[Topic 09] OOP Review and more (pdf)

Given Code 📂

Lecture exercises and Handwriting 📂

Zoom recordings 📂


Copies of your lecture submissions 📂

Next:

[Topic 01] Introduction to Java
[Topic 02] Basic Progr. Structures
[Topic 03] Objects and Classes
[Topic 04] Inheritance
[Topic 05] Interface and Inner Classes
[Topic 06] Exception Handling
[Topic 07] Generic Programming
[Topic 08] Collections
[Topic 09] OOP Review and more


 Lesson contents [Open in a new tab]

Go to the top of the page

Lab Contents and Deadlines maximize

In general, our tutorials cover briefing and hands-on of the basic parts of the labs;
the lectures cover critical discussions.

Lab Contents Deadlines#1

Lab01(Preparation).pdf, Given files [will post before class]







[to be announced]
[Coming soon!]

Lab01.pdf, Given files [will post before class]

  • Using VsCode (Java) in B7520
  • Q1-2 A Java class - Day, Q1_Explain.pdf
  • Q3 Programming Graphics mode
  • Q4 OO sample: Library Program (link)
  • Q5 Day.previous
  • Q6 OO Programming from C++ to Java
  •    C++ Problem Explained.pdf
  •    Demo for writing Java Version A

If you use PCs in B7520, read Lab01.pdf page 1

 To students in Danger: Pls redo Q1 after class:
    Write Main + Day like this detail demo ⏩
   Learn and redo to digest ASAP!

[to be announced]

Lab01 Q1: Due 18-Jan 23:59

Lab01 Q2: Due 18-Jan 23:59

Lab01 Q3,4: Due 18-Jan 23:59

Lab01 Q5: Due 18-Jan 23:59

Lab01 Q6:
   [Java Version A] Due 25-Jan 23:59
   [Java Version B] Due 01-Feb 23:59

Lab02.pdf, Given files

  • Q1 Fixing a program (2D Arr)
  • Q2 Multiplication table
  • Q3-4 Max r/c sums (File, 2D Arr) Q3 Briefing+Demo
        Q3Q4 Ans
  • Q5 Attendance Checking (201617A Quiz 1)
  • Q6 Multiplication table framed (Optional)

Lab02 Q1-5: Due 25-Jan 23:59

Lab02 Q6: (Optional)

Did you learn from the exercises?
Study them and redo to practice.

Lab03.pdf, Given files

Lab03 Q1-2: Due 1-Feb 23:59

Lab03 Q3: Due 1-Feb 23:59

Before Q4, beginners pls redo Q3 carefully until each step is clear.

Lab03 Q4: Due 1-Feb 23:59

💰 Redo Q4 to digest and practice

Lab04.pdf, Given files

  • Small Recursion Exercises: Q1-11
  • - A quick track to improve coding skill
  • Lab04_guideQ2Q3Q4.pdf

  • We will talk about Q7-11 in lecture before due.

Lab04 Q1-11: Due 8-Feb 23:59

Reminder:
Learn from the teaching/video + redo to digest.

Lab05.pdf, Given files

Lab05 Q0: Due 22-Feb 23:59

Lab05 Q2-6 Due 22-Feb 23:59

Lab05 Q7: Due 22-Feb 23:59

Reminder:
Study and redo to practice.

Lab06.pdf, Given files, handwriting

  • Interface and State-Pattern
  • Q1 Generate team messages
  • Q2 Members with Roles
  • Q3 Add "Disappeared Member"
  • Q4 changeLeader
  • Q5 Search a member among teams

  • We will talk about Q4-5 in lecture before due.

Lab06 Q2-3: Due 1-Mar 23:59

Lab06 Q4-5: Due 8-Mar 23:59

Reminder:
Learn from the teaching + redo to digest.

Lab07.pdf, Given files

  • (Q1-Q6) Answer Key Things (ExplainQ1-6.pdf)
  • (Q7) Programming - Bank accounts

Lab07 Q1-6: Due 8-Mar 23:59

Lab07 Q7: Due 15-Mar 23:59

Reminder:
Study and redo to practice.

Lab08.pdf, Given files

Lab08 Q1-2: Due 15-Mar 23:59

Lab08 Q3-6: Due 22-Mar 23:59

Reminder:
Learn from the teaching + redo to digest.

Lab09.pdf, Given files

Lab09 Q1: Due 29-Mar 23:59

Lab09 Q2: Due 29-Mar 23:59

Lab09 Q3: Due 9-Nov 23:59

Reminder:
Study and redo to practice.

Lab10.pdf, Given files

  • Q1 Coding with Exception Handling
  • [Hints for Assignment Phase 1]
  • Q2 MCs on Exception Handling

Lab10 Q1: Due 29-Mar 23:59

Lab10 Q2: Due 29-Mar 23:59

Reminder:
Learn from the teaching + redo to digest.

Lab11.pdf, Given files 26/3 Lecture

  • Q0 Tracing
  • Q1(a) Course Sys: check classmate
       Q1(b) Course Sys: class listing
  • (UML and objects)

Lab11 Q1a: Due 05-Apr 23:59

Lab11 Q1b: Due 05-Apr 23:59

Reminder:
Study and redo to practice.

Lab12.pdf, Given files

  • Q1 Double Agent
  • Q2 Playables
  • Q3 Runnables
  • Q4 AddDropControllers

Lab12 Q1-3: Due 12-Apr 23:59

Lab12 Q4a,b: Due 12-Apr 23:59

Reminder:
Learn from the teaching + redo to digest.

Lab 13 Functional Programming

Lab13: Due 19-Apr 23:59


Assignment (Due Apr 24)
- Assignment.pdf
- Test cases and outputs
   (Added NEW Test cases for MARKING)

Note:
  Lab08 => Lab09 => Lab10 => Asg
  Lab10(Q1) is Coding with Exception



Quiz Redo (What is Quiz Redo) -  Deadline: 15-Feb
(1) Finish the coding question (Given files). Upload all .java on PASS; then
(2) Email to Helena the remaining questions using (the given template).

Midterm Redo ((Same purpose as Quiz Redo)),  Deadline: 12-Apr
(1) Finish the coding question (Given files). Upload all .java on PASS; then
(2) Email to Helena the remaining questions using (the given template).



Lab04(Q0-Q1).pdf, Given files

😎 Ask if you have questions: Piazza on Canvas

Remarks:


#1: For submissions of programs after the deadlines in PASS, please email me your programs as soon as possible: cshwong@cityu.edu.hk

#2: Lecture notes of all topics - Old Version in 2021 Feb (100 pages): here

#3: A general programming clinic for CS Courses: https://courses.cs.cityu.edu.hk/clinic/

#4: Environments:

#5: PASS: