公开预览版 · 按当前收录情况展示课程与学习资料;个人选课和毕业要求以学生本人的学校记录为准。

香港城市大学 · 课程

CS2311计算机程序设计

Computer Programming

2026/27 · 本科

课程代码
CS2311
学分
3
教学单位
计算机科学系
可阅学习资料
173 份

课程介绍与修读要求

先选择你要查的课程介绍学年,再看课程内容、修读条件和考核要求。

2026/27 · 官方课程目录版本

该 PDF 文件注明的生效学期为 Semester A 2025/26。

2026/27 开课安排尚未核对。选课前请在 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.
课程内容
• 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.

校方 PDF 第 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.

校方 PDF 第 5 页 · Keyword Syllabus

预期学习成果
查看学习成果表
CILO预期学习成果比重DEC
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

校方 PDF 第 2 页 · Course Intended Learning Outcomes (CILOs)

我能不能修这门课

先修、建议先备和并修要求分别查看;等同及互斥条件也会影响选课。and 表示同时满足,or 表示备选;组合条件按下方原文分组阅读。

先修条件
无(校方注明 Nil)
建议先备知识
CS1102 Introduction to Computer Studies or CS1302 Introduction to Computer Programming or equivalent
并修要求
该版官方课纲未列明该项。
其他修读要求
该版官方课纲未列明该项。
等同课程及条件
CS2310 Computer Programming CS2315 Computer Programming
互斥课程及条件
CS1315 Introduction to Computer Programming CS2313 Computer Programming CS2360 Java Programming

怎么考,怎样才算通过

考核方式
Continuous assessment: 40%; Examination: 60%; Examination duration: 2 hours

各项考核占多少分

考核项目比重生成式 AI 使用备注与限制
QuizCILO 1, 3, 420%否(No)Correctly explain the structure of an object-oriented computer program
AssignmentCILO 2, 3, 420%否(No)Select proper test cases to assess the correctness of a programStudents are required to work on assignments at least once every four weeks

校方 PDF 第 3–4 页 · Assessment Tasks / Activities (ATs)

查看校方原始考核表与使用要求
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
通过条件
For a student to pass the course, at least 30% of the maximum mark for the examination must be obtained.
学分、时长与版本信息
本版本课程名称
Computer Programming
本版本学分
3
修读时长
One Semester
课纲生效学期
Semester A 2025/26
课纲列明的级别
B1, B2, B3, B4 - Bachelor's Degree

核对官方原文件

可通过下方校方链接阅读或下载该版原始 PDF。 CS2311 · 打开校方原始 PDF ↗

来源 · 校方课程介绍 ↗ · 查阅 2026-10-18

课程资料

173 份可阅资料

按资料本身的学年和类型查找,往年资料仅作学习参考。

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

    作业 · 2023-2024 Semester A · 本机审阅资料 · 261 KB

  • CS2311-Lec03-condition

    课件 · 2023-2024 Semester A · 本机审阅资料 · 533 KB

    资料类型沿用原分类。

  • CS2311-Lec04-loop-fixed

    课件 · 2023-2024 Semester A · 本机审阅资料 · 488 KB

    资料类型沿用原分类。

  • CS2311-Lec05-function-fixed

    课件 · 2023-2024 Semester A · 本机审阅资料 · 465 KB

    资料类型沿用原分类。

  • CS2311-Lec06-array

    课件 · 2023-2024 Semester A · 本机审阅资料 · 1000 KB

    资料类型沿用原分类。

  • CS2311-Lec07-b-fileIO

    课件 · 2023-2024 Semester A · 本机审阅资料 · 240 KB

    资料类型沿用原分类。

  • CS2311-Lec08-pointer-I

    课件 · 2023-2024 Semester A · 本机审阅资料 · 390 KB

    资料类型沿用原分类。

  • CS2311-Lec08-pointer-II

    课件 · 2023-2024 Semester A · 本机审阅资料 · 295 KB

    资料类型沿用原分类。

  • CS2311-Lec09-struct

    课件 · 2023-2024 Semester A · 本机审阅资料 · 261 KB

    资料类型沿用原分类。

  • string

    课件 · 2023-2024 Semester A · 本机审阅资料 · 715 KB

    资料类型沿用原分类。

  • CS2311_Midterm_Solution(1)

    解答 · 2022-2023 Semester A · 本机审阅资料 · 135 KB

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

  • CS2311-Lec03-condition__2

    课件 · 2022-2023 Semester A · 本机审阅资料 · 529 KB

    资料类型沿用原分类。

  • CS2311-Lec04-loop

    课件 · 2022-2023 Semester A · 本机审阅资料 · 558 KB

    资料类型沿用原分类。

  • CS2311-Lec05-function

    课件 · 2022-2023 Semester A · 本机审阅资料 · 556 KB

    资料类型沿用原分类。

  • CS2311-Lec06-array__2

    课件 · 2022-2023 Semester A · 本机审阅资料 · 999 KB

    资料类型沿用原分类。

  • CS2311-Lec08-fileIO

    课件 · 2022-2023 Semester A · 本机审阅资料 · 171 KB

    资料类型沿用原分类。

  • CS2311-Lec10-pointer-II

    课件 · 2022-2023 Semester A · 本机审阅资料 · 295 KB

    资料类型沿用原分类。

  • CS2311-Lec12-oop-II

    课件 · 2022-2023 Semester A · 本机审阅资料 · 293 KB

    资料类型沿用原分类。

  • CS2311 2021-2022 SemB Final

    历年试卷 · 2021-2022 Semester B · 本机审阅资料 · 547 KB

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

  • CS2311_Revision (1)

    课件 · 2021-2022 Semester A · 本机审阅资料 · 722 KB

    资料类型沿用原分类。

  • CS2311-Lec01-Intro

    课件 · 2021-2022 Semester A · 本机审阅资料 · 2.8 MB

  • CS2311-Lec02-Variables

    课件 · 2021-2022 Semester A · 本机审阅资料 · 652 KB

    资料类型沿用原分类。

  • CS2311-Lec03-BasicIO

    课件 · 2021-2022 Semester A · 本机审阅资料 · 1.5 MB

    资料类型沿用原分类。

  • CS2311-Lec04-Conditional

    课件 · 2021-2022 Semester A · 本机审阅资料 · 1009 KB

    资料类型沿用原分类。

  • CS2311-Lec05-Loop

    课件 · 2021-2022 Semester A · 本机审阅资料 · 380 KB

    资料类型沿用原分类。

  • CS2311-Lec06-Array

    课件 · 2021-2022 Semester A · 本机审阅资料 · 1.2 MB

    资料类型沿用原分类。

  • CS2311-Lec07-Function

    课件 · 2021-2022 Semester A · 本机审阅资料 · 343 KB

    资料类型沿用原分类。

  • CS2311-Lec09-fileIO

    课件 · 2021-2022 Semester A · 本机审阅资料 · 1004 KB

    资料类型沿用原分类。

  • CS2311-Lec09-PionterI

    课件 · 2021-2022 Semester A · 本机审阅资料 · 289 KB

    资料类型沿用原分类。

  • CS2311-Lec10-PionterII

    课件 · 2021-2022 Semester A · 本机审阅资料 · 715 KB

    资料类型沿用原分类。

  • CS2311-Lec11-Class

    课件 · 2021-2022 Semester A · 本机审阅资料 · 205 KB

    资料类型沿用原分类。

  • cs231121a_asg03

    作业 · 2021-2022 Semester A · 本机审阅资料 · 299 KB

  • lab01_2021a

    实验 · 2021 Semester A (年份、学期沿用原文件夹标注) · 本机审阅资料 · 9.6 MB

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

    课件 · 2020-2021 学期不明 (年份沿用原文件夹标注) · 本机审阅资料 · 7.9 MB

    资料类型沿用原分类。

  • CS2311 2020-2021 SemB Final

    历年试卷 · 2020-2021 Semester B · 本机审阅资料 · 262 KB

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

  • cs231121a asg01

    作业 · 2020-2021 学期不明 (年份沿用原文件夹标注) · 本机审阅资料 · 94 KB

  • cs231121a asg02

    作业 · 2020-2021 学期不明 (年份沿用原文件夹标注) · 本机审阅资料 · 105 KB

  • cs231121a wk01 intro I

    课件 · 2020-2021 学期不明 (年份沿用原文件夹标注) · 本机审阅资料 · 2.9 MB

    资料类型沿用原分类。

  • cs231121a wk01 intro II

    课件 · 2020-2021 学期不明 (年份沿用原文件夹标注) · 本机审阅资料 · 1.2 MB

    资料类型沿用原分类。

  • cs231121a wk03 basic syntax II

    课件 · 2020-2021 学期不明 (年份沿用原文件夹标注) · 本机审阅资料 · 1.1 MB

    资料类型沿用原分类。

在哪些专业培养计划里

准备选这门课,接下来怎么做

  1. 核对学年与修读条件

    使用本页对应学年的介绍,逐项确认先修、并修及互斥条件。尚缺关键条件时,先通过本页校方来源核实。

  2. 对照自己的专业培养计划

    确认这门课计入哪类要求,以及是否需要在同组选课中二选一或选满指定学分。

  3. 到 AIMS 查看课节并确认选课结果

    查看当期实际可选课节、名额和时间。按选课流程提交后,再核对课程与课节是否成功加入;目录中的课程记录本身不代表已完成选课。

相关课程代码

等同关系保留原课程代码和适用年代,旧课件不自动视作当前课程内容。