Local review · Access to each material is reviewed separately. This is not a personal registration or degree audit.

City University of Hong Kong · Course

CS2311Computer Programming

2026/27 · Undergraduate

Course code
CS2311
Credit units
3
Academic unit
Department of Computer Science
Readable study materials
173 items

Course overview and requirements

Choose the outline year, then review the content, entry requirements and assessment.

2026/27 · Official catalogue edition

The effective term printed in this PDF is Semester A 2025/26。

Offering details for 2026/27 have not been checked. Confirm available sections in AIMS before registering.

What you will study

Course overview and aims
This course aims to equip the students with in-depth concepts and techniques of programming using a high-level object- oriented programming language and to develop practical skills in producing quality programs.
Course content
• Computers and programming Hardware/software hierarchy, the computer as a multi-level language machine. The software development process. Program development environments. • Programming techniques and the development of algorithms Algorithms, programming language, modular decomposition and procedural abstraction, automatic and dynamic variables, parameter-passing by reference and by value for atomic data, objects, and arrays, control structures, iteration, recursion, exception handling. • Data structures The concept of data types. Simple data types. Arrays. Strings. Files. Data abstraction: encapsulation, information hiding. Defining and using classes. The class library. Pointers. Dynamic data structures (eg. dynamic array, linked list). • Program development practice Professional programming styles. Program testing. Program documentation.

Official PDF, pages 5–6 · Syllabus

Keyword syllabus
Program design, development of algorithms, programming language, control structures, data types, multidimensional arrays, file I-O, recursion, pointers and dynamic data structures, object-based programming: data abstraction, classes, and the class library; programming style, program testing, exception handling.

Official PDF, page 5 · Keyword Syllabus

Intended learning outcomes
View learning outcomes
CILOIntended learning outcomeWeightDEC
1Explain the structure of an object-oriented computer program.10%DEC-A1, DEC-A2
2Analyze, test and debug computer programs.15%DEC-A1, DEC-A2
3Solve a task by applying effective programming techniques, which involve advanced skills like using recursion and dynamic data structures.60%DEC-A2
4Design and construct well-structured programs with good programming practices.15%DEC-A2, DEC-A3

Official PDF, page 2 · Course Intended Learning Outcomes (CILOs)

Before you take this course

Check prerequisites, precursors and corequisites separately, together with equivalence and exclusion conditions. “and” means conditions must be met together; “or” marks alternatives. Read combined conditions in the groupings shown in the original text below.

Prerequisites
Nil
Precursors
CS1102 Introduction to Computer Studies or CS1302 Introduction to Computer Programming or equivalent
Corequisites
This edition of the official syllabus does not state this item.
Additional course requirements
This edition of the official syllabus does not state this item.
Equivalent courses and conditions
CS2310 Computer Programming CS2315 Computer Programming
Exclusive courses and conditions
CS1315 Introduction to Computer Programming CS2313 Computer Programming CS2360 Java Programming

Assessment and passing the course

Assessment
Continuous assessment: 40%; Examination: 60%; Examination duration: 2 hours

Assessment breakdown

Assessment taskWeightGenerative AIRemarks and restrictions
QuizCILO 1, 3, 420%NoCorrectly explain the structure of an object-oriented computer program
AssignmentCILO 2, 3, 420%NoSelect proper test cases to assess the correctness of a programStudents are required to work on assignments at least once every four weeks

Official PDF, pages 3–4 · Assessment Tasks / Activities (ATs)

View the original assessment table and instructions
Assessment Tasks / Activities (ATs)
                    ATs               CILO No.             Weighting (%)        Remarks ("-" for   Allow Use of
                                                                                nil entry)         GenAI?
1                   Quiz              1, 3, 4              20                   Correctly explain  No
                                                                                the structure of
                                                                                an object-oriented
                                                                                computer program

2                       Assignment      2, 3, 4              20                  Select proper test    No
                                                                                 cases to assess the
                                                                                 correctness of a
                                                                                 programStudents
                                                                                 are required
                                                                                 to work on
                                                                                 assignments at
                                                                                 least once every
                                                                                 four weeks
Passing requirements
For a student to pass the course, at least 30% of the maximum mark for the examination must be obtained.
Credits, duration and edition details
Title in this edition
Computer Programming
Credits in this edition
3
Course duration
One Semester
Syllabus effective term
Semester A 2025/26
Levels printed in the syllabus
B1, B2, B3, B4 - Bachelor's Degree

Check the official document

Read or download this edition through the university link below. CS2311 · Open the original university PDF ↗

Source · University course information ↗ · Checked 2026-10-18

Study materials

173 readable items

Browse by the material’s own year and type. Historical materials are study references.

40 / 173 items
  • Assignment-3__内容不同_aaf728907b

    Assignments · 2023-2024 Semester A · Local review material · 261 KB

  • CS2311-Lec03-condition

    Lecture slides · 2023-2024 Semester A · Local review material · 533 KB

    Material type follows its original classification.

  • CS2311-Lec04-loop-fixed

    Lecture slides · 2023-2024 Semester A · Local review material · 488 KB

    Material type follows its original classification.

  • CS2311-Lec05-function-fixed

    Lecture slides · 2023-2024 Semester A · Local review material · 465 KB

    Material type follows its original classification.

  • CS2311-Lec06-array

    Lecture slides · 2023-2024 Semester A · Local review material · 1000 KB

    Material type follows its original classification.

  • CS2311-Lec07-b-fileIO

    Lecture slides · 2023-2024 Semester A · Local review material · 240 KB

    Material type follows its original classification.

  • CS2311-Lec08-pointer-I

    Lecture slides · 2023-2024 Semester A · Local review material · 390 KB

    Material type follows its original classification.

  • CS2311-Lec08-pointer-II

    Lecture slides · 2023-2024 Semester A · Local review material · 295 KB

    Material type follows its original classification.

  • CS2311-Lec09-struct

    Lecture slides · 2023-2024 Semester A · Local review material · 261 KB

    Material type follows its original classification.

  • string

    Lecture slides · 2023-2024 Semester A · Local review material · 715 KB

    Material type follows its original classification.

  • CS2311_Midterm_Solution(1)

    Solutions · 2022-2023 Semester A · Local review material · 135 KB

    文件标注 CS2311、2022-23 Sem A,包含期中题目及解答;按文件代码归档。

  • CS2311-Lec03-condition__2

    Lecture slides · 2022-2023 Semester A · Local review material · 529 KB

    Material type follows its original classification.

  • CS2311-Lec04-loop

    Lecture slides · 2022-2023 Semester A · Local review material · 558 KB

    Material type follows its original classification.

  • CS2311-Lec05-function

    Lecture slides · 2022-2023 Semester A · Local review material · 556 KB

    Material type follows its original classification.

  • CS2311-Lec06-array__2

    Lecture slides · 2022-2023 Semester A · Local review material · 999 KB

    Material type follows its original classification.

  • CS2311-Lec08-fileIO

    Lecture slides · 2022-2023 Semester A · Local review material · 171 KB

    Material type follows its original classification.

  • CS2311-Lec10-pointer-II

    Lecture slides · 2022-2023 Semester A · Local review material · 295 KB

    Material type follows its original classification.

  • CS2311-Lec12-oop-II

    Lecture slides · 2022-2023 Semester A · Local review material · 293 KB

    Material type follows its original classification.

  • CS2311 2021-2022 SemB Final

    Past papers · 2021-2022 Semester B · Local review material · 547 KB

    城大试卷封面明确标注 CS2311、Semester B 2021/22;按封面归档。

  • CS2311_Revision (1)

    Lecture slides · 2021-2022 Semester A · Local review material · 722 KB

    Material type follows its original classification.

  • CS2311-Lec01-Intro

    Lecture slides · 2021-2022 Semester A · Local review material · 2.8 MB

  • CS2311-Lec02-Variables

    Lecture slides · 2021-2022 Semester A · Local review material · 652 KB

    Material type follows its original classification.

  • CS2311-Lec03-BasicIO

    Lecture slides · 2021-2022 Semester A · Local review material · 1.5 MB

    Material type follows its original classification.

  • CS2311-Lec04-Conditional

    Lecture slides · 2021-2022 Semester A · Local review material · 1009 KB

    Material type follows its original classification.

  • CS2311-Lec05-Loop

    Lecture slides · 2021-2022 Semester A · Local review material · 380 KB

    Material type follows its original classification.

  • CS2311-Lec06-Array

    Lecture slides · 2021-2022 Semester A · Local review material · 1.2 MB

    Material type follows its original classification.

  • CS2311-Lec07-Function

    Lecture slides · 2021-2022 Semester A · Local review material · 343 KB

    Material type follows its original classification.

  • CS2311-Lec09-fileIO

    Lecture slides · 2021-2022 Semester A · Local review material · 1004 KB

    Material type follows its original classification.

  • CS2311-Lec09-PionterI

    Lecture slides · 2021-2022 Semester A · Local review material · 289 KB

    Material type follows its original classification.

  • CS2311-Lec10-PionterII

    Lecture slides · 2021-2022 Semester A · Local review material · 715 KB

    Material type follows its original classification.

  • CS2311-Lec11-Class

    Lecture slides · 2021-2022 Semester A · Local review material · 205 KB

    Material type follows its original classification.

  • cs231121a_asg03

    Assignments · 2021-2022 Semester A · Local review material · 299 KB

  • lab01_2021a

    Labs · 2021 Semester A (year and term from the original folder) · Local review material · 9.6 MB

  • C++ 基本语法:变量与常量

    Lecture slides · 2020-2021 Term unknown (year label from the original folder) · Local review material · 7.9 MB

    Material type follows its original classification.

  • CS2311 2020-2021 SemB Final

    Past papers · 2020-2021 Semester B · Local review material · 262 KB

    文件封面标注 CS2311,原库放在 CS2310;按文件代码及封面学年、学期归档。

  • cs231121a asg01

    Assignments · 2020-2021 Term unknown (year label from the original folder) · Local review material · 94 KB

  • cs231121a asg02

    Assignments · 2020-2021 Term unknown (year label from the original folder) · Local review material · 105 KB

  • cs231121a wk01 intro I

    Lecture slides · 2020-2021 Term unknown (year label from the original folder) · Local review material · 2.9 MB

    Material type follows its original classification.

  • cs231121a wk01 intro II

    Lecture slides · 2020-2021 Term unknown (year label from the original folder) · Local review material · 1.2 MB

    Material type follows its original classification.

  • cs231121a wk03 basic syntax II

    Lecture slides · 2020-2021 Term unknown (year label from the original folder) · Local review material · 1.1 MB

    Material type follows its original classification.

Related programme curricula

Ready to register for this course?

  1. Check the year and entry requirements

    Use the relevant outline year and check the prerequisites, corequisites and exclusions. Verify missing conditions through the official source linked on this page.

  2. Check your programme curriculum

    Confirm which requirement the course fulfils and any alternatives or credit requirements within its course group.

  3. Choose sections in AIMS and confirm the result

    Check the available sections, places and times for the term. After submitting through the registration process, confirm that the course and its sections have been added successfully.

Related course codes

Equivalences preserve original course codes and years; historical slides are not automatically current-course material.