Skip to content · ⁨Bỏ qua nội dung⁩
Subjects · ⁨Môn học⁩

GAC Computing · ⁨Tin học GAC⁩

Tips · ⁨Mẹo⁩

GAC Computing is a three-step ladder. GAC005 is about using computers for academic work, which means search literacy, collaborative writing, project management, presentations and video. GAC011 builds and publishes a real website with HTML, CSS and JavaScript. GAC017 goes behind it, into back-end programming, databases, SQL and a first look at data science.

Nothing here is answered on paper. Each module is judged on artefacts you produce, a set of slides, a website, a database with several tables, an analysis of a real dataset, so the work is done at a computer and submitted as files.

The three modules are cumulative in a literal sense. The site you design in GAC011 is the thing GAC017 gives a back end and a database, so a weak storyboard early costs time much later.

Presentation counts as much as code. Both design outcomes and communication outcomes are named in the modules, and marks are lost for a working page that nobody can navigate.

You can run the HTML, CSS, JavaScript and SQL exercises directly in this site's code playground, then take the same techniques into your own assessed project.

  • 1

    GAC005 Computing I: Introduction to Computing for Academic Study · ⁨GAC005 Tin học I: Giới thiệu Tin học cho Học thuật⁩

    1.1

    What this module is, and how it is marked · ⁨Mô-đun này là gì và cách chấm điểm⁩

    English

    GAC005 is not a programming course. It is about using a computer to do academic work well: finding sources you can trust, writing with other people, running a small project, and presenting the result.

    Everything is assessed on what you produce. A typical set is a search and writing task, a group project 小组项目 with a presentation, a video 视频, and ongoing coursework 平时作业. There is no written examination, so the files you submit are the whole mark.

    • Work is judged on the artefact and on the process. Keep drafts and notes; a group project is marked partly on your contribution to it.
    • ⚠ Academic integrity 学术诚信 applies to media as much as to text. An image, a chart or a clip taken from the web needs a source, and a licence that allows the use.
    Tiếng Việt

    GAC005 không phải là khóa học lập trình. Nó tập trung vào việc sử dụng máy tính để thực hiện công việc học thuật hiệu quả: tìm kiếm nguồn tin đáng tin cậy, viết bài cùng người khác, quản lý một dự án nhỏ, và trình bày kết quả.

    Tất cả đều được đánh giá dựa trên những gì bạn tạo ra. Một bài tập điển hình là nhiệm vụ tìm kiếm và viết lách, một dự án nhóm với phần thuyết trình, một video, và các bài tập thực hành liên tục . Không có bài kiểm tra viết, vì vậy các tài liệu bạn nộp chính là toàn bộ điểm số.

    • Công việc được đánh giá dựa trên sản phẩm cuối cùng và quy trình thực hiện. Giữ lại bản nháp và ghi chú; một dự án nhóm được chấm điểm một phần dựa trên đóng góp của bạn vào đó.
    • ⚠ Đạo đức học thuật áp dụng cho phương tiện truyền thông cũng như văn bản. Một hình ảnh, biểu đồ hay đoạn video lấy từ web cần nguồn gốc, và giấy phép cho phép sử dụng.
    Vocabulary · ⁨Từ vựng⁩ Train · ⁨Luyện tập⁩
    English Tiếng Việt
    group project/ɡruːp ˈprɒdʒekt/ dự án nhóm
    video/ˈvɪdɪəʊ/ video
    coursework/ˈkɔːsjuːɜːk/ bài tập trên lớp
    Academic integrity/ˌækəˈdemɪk ɪnˈteɡrɪti/ Tính trung thực học thuật
    keywords/ˈkiːwɜːdz/ từ khóa
    Operators/ˈɒpəreɪtəz/ Toán tử
    Authority/əˈθɒrɪti/ Quyền lực
    currency/ˈkʌrənsi/ tiền tệ
    bias/ˈbaɪəs/ sự thiên lệch
    primary source/ˈpraɪməri sɔːs/ nguồn gốc
    secondary source/ˈsekəndəri sɔːs/ nguồn thứ cấp
    cloud document/klaʊd ˈdɒkjuːmənt/ tài liệu đám mây
    Version history/ˈvɜːʃn ˈhɪstəri/ Lịch sử phiên bản
    Comments/ˈkɒments/ Bình luận
    suggestions/səˈdʒestʃnz/ gợi ý
    structure/ˈstrʌktʃə/ cấu trúc
    style/staɪl/ 柱头
    scope/skəʊp/ phạm vi
    Milestones/ˈmaɪlstəʊnz/ Cột mốc
    roles/rəʊlz/ vai trò
    team contract/tiːm ˈkɒntrækt/ hợp đồng nhóm
    dependencies/dɪˈpendənsiz/ sự phụ thuộc
    message/ˈmesɪdʒ/ thông điệp
    Bullet points/ˈbʊlɪt pɔɪnts/ danh sách gạch đầu dòng
    Contrast/ˈkɒntræst/ Tương phản
    1.1

    Search literacy · ⁨Kỹ năng tìm kiếm⁩

    Syllabus · ⁨Chương trình⁩
    English

    Unit 1 of 6 in GAC005 Computing I: Introduction to Computing for Academic Study (Level I). The module is taught over about 40 class hours plus 20 hours of independent study, and is assessed at the teaching centre and moderated by ACT — there is no external exam.

    Module purpose: On completion of this module, students should be able to confidently and ethically use information technologies for individual and collaborative formal writing; and use the Internet effectively for academic study. More specifically, students will be able to access, navigate and download information from the Internet in order to enhance academic research, writing and presentation skills.

    The module outcomes this unit works towards:

    Learning Objective GAC005.1: Understand, evaluate and discriminate between available and emerging technologies to use, store and protect information.

    Learning Objective GAC005.2: Use the Internet to research, interpret and interactively and ethically manage academic projects.

    Tiếng Việt

    Đơn vị 1 trong 6 đơn vị của GAC005 Computing I: Introduction to Computing for Academic Study (Level I). Mô-đun được giảng dạy trong khoảng 40 giờ học trên lớp cộng thêm 20 giờ tự học, và được đánh giá tại trung tâm giảng dạy với sự giám sát bởi ACT — không có kỳ thi ngoài.

    Mục đích mô-đun: Sau khi hoàn thành mô-đun này, sinh viên nên có thể tự tin và có đạo đức sử dụng công nghệ thông tin cho việc viết chính thức cá nhân và nhóm; và sử dụng Internet hiệu quả cho mục đích học thuật. Cụ thể hơn, sinh viên sẽ có khả năng truy cập, duyệt web và tải xuống thông tin từ Internet nhằm nâng cao kỹ năng nghiên cứu, viết lách và thuyết trình học thuật.

    Các kết quả học tập mà đơn vị này hướng tới:

    Mục tiêu học tập GAC005.1: Hiểu, đánh giá và phân biệt giữa các công nghệ hiện có và mới nổi để sử dụng, lưu trữ và bảo vệ thông tin.

    Mục tiêu học tập GAC005.2: Sử dụng Internet để nghiên cứu, diễn giải và quản lý các dự án học thuật một cách tương tác và có đạo đức.

    Source: Cambridge International syllabus · ⁨Nguồn: Chương trình Cambridge International⁩

    English

    Anyone can find a page. The skill being assessed is finding a source you can defend.

    • Search with keywords 关键词, not sentences. Pick the nouns that must appear in a good answer and drop everything else.
    • Operators 运算符 narrow a search: quotation marks force an exact phrase, a minus sign excludes a word, and site: restricts results to one domain.
    • Judge a source before you use it. Authority 权威性 asks who wrote it and what they know; currency 时效性 asks how old it is; bias 偏见 asks what the author wants you to think.
    • A primary source 一手资料 is original material, such as the report of an experiment. A secondary source 二手资料 describes or interprets it, such as a news article about that report.
    • Search results are ranked, not verified — position on the page says nothing about accuracy.

    Worked example. The question is whether electric cars produce less carbon dioxide overall than petrol cars. A search for the sentence returns opinion pages. A search for the keywords lifecycle emissions electric vehicle comparison returns studies, and adding site:gov narrows it to government reports whose authors and methods are stated. The second search is not cleverer, it is more specific about what a usable answer looks like.

    Tiếng Việt

    Bất kỳ ai cũng có thể tìm thấy một trang web. Kỹ năng được đánh giá là khả năng tìm ra nguồn tin mà bạn có thể bảo vệ tính hợp lý của nó.

    • Tìm kiếm bằng từ khóa, không phải câu hoàn chỉnh. Chọn các danh từ bắt buộc phải xuất hiện trong một câu trả lời tốt và loại bỏ tất cả những phần còn lại.
    • Toán tử thu hẹp phạm vi tìm kiếm: dấu ngoặc kép ép một cụm từ chính xác, dấu trừ loại bỏ một từ, và site: giới hạn kết quả trong một tên miền cụ thể.
    • Đánh giá nguồn tin trước khi sử dụng. Uy tín hỏi ai đã viết và họ biết gì; tính cập nhật hỏi độ tuổi của nó; thiên kiến hỏi tác giả muốn bạn nghĩ gì.
    • Nguồn sơ cấp là tài liệu gốc, chẳng hạn như báo cáo về một thí nghiệm. Một nguồn thứ cấp mô tả hoặc diễn giải lại nó, chẳng hạn như một bài báo tin tức về báo cáo đó báo cáo.
    • Kết quả tìm kiếm được xếp hạng, không được xác minh — vị trí trên trang không nói lên điều gì về độ chính xác.

    Ví dụ minh họa. Câu hỏi là xe điện có sản sinh ít carbon dioxide tổng thể hơn so với xe chạy xăng hay không. Một cuộc tìm kiếm theo câu trả lời sẽ dẫn đến các trang ý kiến. Một cuộc tìm kiếm theo các từ khóa lifecycle emissions electric vehicle comparison sẽ trả về các nghiên cứu, và thêm phát thải vòng đời xe điện so sánh trả về các nghiên cứu, và thêm site:gov thu hẹp kết quả xuống các báo cáo chính phủ có nêu rõ tác giả và phương pháp. Thứ hai cuộc tìm kiếm là một báo cáo chính phủ mà tác giả và phương pháp được nêu rõ. Cuộc tìm kiếm thứ hai không thông minh hơn, mà chỉ cụ thể hơn về việc một câu trả lời khả thi trông như thế nào.

    1.2

    Collaborative writing · ⁨Viết lách hợp tác⁩

    Syllabus · ⁨Chương trình⁩
    English

    Unit 2 of 6 in GAC005 Computing I: Introduction to Computing for Academic Study (Level I). The module is taught over about 40 class hours plus 20 hours of independent study, and is assessed at the teaching centre and moderated by ACT — there is no external exam.

    The module outcomes this unit works towards:

    Learning Objective GAC005.3: Create, revise and publish academic documents using a word processing program.

    Learning Objective GAC005.5: Use open source platforms to collaboratively create and share academic documents.

    Tiếng Việt

    Đơn vị 2 trong 6 đơn vị của GAC005 Computing I: Introduction to Computing for Academic Study (Level I). Mô-đun được giảng dạy trong khoảng 40 giờ học trên lớp cộng thêm 20 giờ tự học, và được đánh giá tại trung tâm giảng dạy với sự giám sát bởi ACT — không có kỳ thi ngoài.

    Các kết quả học tập mà đơn vị này hướng tới:

    Mục tiêu học tập GAC005.3: Tạo, chỉnh sửa và xuất bản tài liệu học thuật bằng phần mềm xử lý văn bản.

    Mục tiêu học tập GAC005.5: Sử dụng các nền tảng mã nguồn mở để cùng nhau tạo và chia sẻ tài liệu học thuật.

    Source: Cambridge International syllabus · ⁨Nguồn: Chương trình Cambridge International⁩

    English

    Writing together is a normal way to work, and the module assesses how you do it.

    • A cloud document 云端文档 holds one live copy that everyone edits, which removes the "final_v3_really_final" problem entirely.
    • Version history 版本历史 records who changed what and when. It protects you: your contribution is visible even when a file looks like one voice.
    • Comments 批注 propose a change without making it; suggestions 建议模式 make a change the owner can accept or reject. Use them instead of overwriting someone's paragraph.
    • Agree the structure 结构 before anyone writes. Splitting a document by section works; splitting it by sentence does not.
    • Keep one style 文体: decide on person, tense and spelling at the start, and give one person the final read.
    Tiếng Việt

    Viết chung là một cách làm việc bình thường, và mô-đun này đánh giá cách bạn thực hiện điều đó.

    • Một tài liệu đám mây giữ một bản sống duy nhất mà mọi người cùng chỉnh sửa, giúp loại bỏ hoàn toàn vấn đề "final_v3_really_final".
    • Ghi chú đề xuất một sự thay đổi mà không thực hiện nó; gợi ý đưa ra một sự thay đổi mà chủ sở hữu có thể chấp nhận hoặc từ chối. Hãy sử dụng chúng thay vì ghi đè lên đoạn văn của ai đó. đóng góp vẫn được hiển thị ngay cả khi file trông giống như chỉ do một người viết.
    • Nhận xét đề xuất thay đổi mà không thực hiện nó; gợi ý sẽ tạo ra thay đổi chủ sở hữu có thể chấp nhận hoặc từ chối. Hãy sử dụng chúng thay vì ghi đè lên đoạn văn của ai đó.
    • Đồng thuận về cấu trúc trước khi bất kỳ ai bắt đầu viết. Chia tài liệu theo phần là cách hiệu quả; Một dự án nhóm thất bại do tổ chức kém nhiều hơn là do năng lực kém.
    • Một tuyên bố phạm vi nói rõ dự án sẽ và sẽ không làm gì. Hầu hết các trường hợp vượt ngân sách bắt đầu từ những yêu cầu thêm không được viết ra. người đọc cuối cùng.
    1.3

    Project management · ⁨Quản lý dự án⁩

    Syllabus · ⁨Chương trình⁩
    English

    Unit 3 of 6 in GAC005 Computing I: Introduction to Computing for Academic Study (Level I). The module is taught over about 40 class hours plus 20 hours of independent study, and is assessed at the teaching centre and moderated by ACT — there is no external exam.

    The module outcomes this unit works towards:

    Learning Objective GAC005.2: Use the Internet to research, interpret and interactively and ethically manage academic projects.

    Learning Objective GAC005.5: Use open source platforms to collaboratively create and share academic documents.

    Tiếng Việt

    Đơn vị 3 trong 6 đơn vị của GAC005 Computing I: Introduction to Computing for Academic Study (Level I). Mô-đun được giảng dạy trong khoảng 40 giờ học trên lớp cộng thêm 20 giờ tự học, và được đánh giá tại trung tâm giảng dạy với sự giám sát bởi ACT — không có kỳ thi ngoài.

    Các kết quả học tập mà đơn vị này hướng tới:

    Mục tiêu học tập GAC005.2: Sử dụng Internet để nghiên cứu, diễn giải và quản lý các dự án học thuật một cách tương tác và có đạo đức.

    Mục tiêu học tập GAC005.5: Sử dụng các nền tảng mã nguồn mở để cùng nhau tạo và chia sẻ tài liệu học thuật.

    Source: Cambridge International syllabus · ⁨Nguồn: Chương trình Cambridge International⁩

    English

    A group project fails on organisation far more often than on ability.

    • A scope 范围 statement says what the project will and will not do. Most overrun starts as an unwritten extra.
    • Milestones 里程碑 are checkpoints with dates. They convert "we have three weeks" into something you can be behind on early enough to fix.
    • Assign roles 分工 to people, not tasks to the group. A task owned by everyone is owned by nobody.
    • A team contract 团队协议 records how the group will meet, decide, and handle a member who does not deliver. Writing it while everyone is friendly is the point.
    • Track dependencies 依赖关系: the slide deck cannot be finished before the data is collected, so the data has the earlier deadline.

    Worked example. A four-person project to survey and present student transport habits, due in week 6. Working backwards: rehearse in week 6, build slides in week 5, analyse in week 4, collect responses in weeks 2 to 3, write the questions in week 1. The questions are the riskiest item because everything downstream depends on them, so they get reviewed by the whole group and nothing else in week 1 does.

    Tiếng Việt

    Một dự án nhóm thất bại do tổ chức kém thường xuyên hơn là do năng lực yếu kém.

    • Theo dõi sự phụ thuộc: bộ slide không thể hoàn thành trước khi dữ liệu được thu thập, vì vậy dữ liệu có hạn chót sớm hơn. một yêu cầu phụ không được ghi thành văn bản.
    • Mốc thời gian là các điểm kiểm tra có ngày tháng cụ thể. Chúng biến câu nói "chúng ta có ba tuần" thành điều gì đó mà bạn có thể bị chậm trễ đủ sớm để kịp khắc phục.
    • Phân công vai trò cho từng cá nhân, không giao nhiệm vụ chung cho cả nhóm. Một nhiệm vụ do tất cả mọi người đảm nhiệm thì thực chất là không ai làm. không mang lại kết quả. Việc viết ra trong lúc mọi người vẫn thân thiện chính là mục đích cần thiết.
    • Slide hỗ trợ người thuyết trình. Danh sách gạch đầu dòng là gợi ý, không phải kịch bản, và đọc to chúng là cách phổ biến nhất để mất điểm. đã thu thập xong, nên dữ liệu phải tuân theo hạn chót ban đầu.
    • Sử dụng biểu đồ khi dạng hình của dữ liệu là trọng tâm, và bảng khi cần giá trị chính xác. Biểu đồ luôn cần nhãn trục và đơn vị đo lường. Ví dụ minh họa. Một dự án gồm bốn người khảo sát và trình bày thói quen di chuyển của sinh viên, deadline

    Ví dụ minh họa. Một dự án bốn người khảo sát và báo cáo thói quen di chuyển của học sinh, hạn chót vào tuần 6. Làm ngược lại: tập luyện vào tuần 6, dựng slide vào tuần 5, phân tích vào tuần 4, thu thập phản hồi trong các tuần 2 đến 3, viết câu hỏi vào tuần 1. Các câu hỏi là mục rủi ro nhất vì mọi thứ sau đó đều phụ thuộc vào chúng, nên chúng được xem xét bởi toàn bộ nhóm và không có gì khác trong tuần 1 làm.

    1.4

    Creating effective presentations · ⁨Tạo bài thuyết trình hiệu quả⁩

    Syllabus · ⁨Chương trình⁩
    English

    Unit 4 of 6 in GAC005 Computing I: Introduction to Computing for Academic Study (Level I). The module is taught over about 40 class hours plus 20 hours of independent study, and is assessed at the teaching centre and moderated by ACT — there is no external exam.

    The module outcomes this unit works towards:

    Learning Objective GAC005.4: Create an academic oral presentation using a presentation software program.

    Tiếng Việt

    Đơn vị 4 trong 6 đơn vị của GAC005 Computing I: Introduction to Computing for Academic Study (Level I). Mô-đun được giảng dạy trong khoảng 40 giờ học trên lớp cộng thêm 20 giờ tự học, và được đánh giá tại trung tâm giảng dạy với sự giám sát bởi ACT — không có kỳ thi ngoài.

    Các kết quả học tập mà đơn vị này hướng tới:

    Mục tiêu học tập GAC005.4: Tạo bài thuyết trình bằng miệng mang tính học thuật sử dụng phần mềm trình chiếu.

    Source: Cambridge International syllabus · ⁨Nguồn: Chương trình Cambridge International⁩

    English

    A presentation is judged on whether the audience understands, not on how much is on screen.

    • One message 信息 per slide. If a slide needs two sentences to summarise, it is two slides.
    • Slides support the speaker. Bullet points 要点 are prompts, not a script, and reading them aloud is the most common way to lose marks.
    • Contrast 对比度 and size decide whether the back row can read it: dark text on light, at least 24 point, and a sans-serif 无衬线 typeface.
    • Use a chart 图表 when the shape of the data is the point, and a table 表格 when exact values are. A chart needs axis labels and units, always.
    • Cite sources on the slide where the material appears, and keep a full reference list 参考文献列表 at the end.
    Tiếng Việt

    Một bài thuyết trình được đánh giá dựa trên việc khán giả có hiểu hay không, chứ không phải dựa vào lượng nội dung hiển thị trên màn hình.

    • Một thông điệp cho mỗi slide. Nếu một slide cần hai câu để tóm tắt, thì đó là hai slide.
    • Slide hỗ trợ người thuyết trình. Danh sách gạch đầu dòng chỉ là gợi ý, không phải kịch bản, và đọc chúng Everything else distracts. Everything else distracts. Everything else distracts.
    • Độ tương phản và kích thước quyết định hàng ghế sau có đọc được hay không: chữ tối trên nền sáng, ít nhất 24 điểm, và phông chữ không chân (sans-serif).
    • Sử dụng biểu đồ khi hình dạng của dữ liệu là trọng tâm, và bảng khi độ chính xác Everything else distracts. Everything else distracts. Everything else distracts.
    • Trích dẫn nguồn trên slide nơi tài liệu xuất hiện, và giữ lại danh mục tham khảo đầy đủ Everything else distracts. Everything else distracts. Everything else distracts.
    Vocabulary · ⁨Từ vựng⁩ Train · ⁨Luyện tập⁩
    English Tiếng Việt
    sans-serif/sænz ˈserɪf/ không chân (font chữ)
    chart/tʃɑːt/ chức
    table/ˈteɪbl/ bảng
    reference list/ˈrefrəns lɪst/ danh mục tham khảo
    aloud/əˈlaʊd/ đọc to
    Signposting/ˈsaɪnpəʊstɪŋ/ Dẫn dắt mạch nói
    Eye contact/aɪ ˈkɒntækt/ Giao tiếp bằng mắt
    questions/ˈkwestʃnz/ câu hỏi
    Animation/ˌænɪˈmeɪʃn/ Hoạt hình
    1.5

    Enhancing your presentation · ⁨Nâng cao bài thuyết trình của bạn⁩

    Syllabus · ⁨Chương trình⁩
    English

    Unit 5 of 6 in GAC005 Computing I: Introduction to Computing for Academic Study (Level I). The module is taught over about 40 class hours plus 20 hours of independent study, and is assessed at the teaching centre and moderated by ACT — there is no external exam.

    The module outcomes this unit works towards:

    Learning Objective GAC005.4: Create an academic oral presentation using a presentation software program.

    Tiếng Việt

    Đơn vị 5 trong số 6 đơn vị của GAC005 Computing I: Introduction to Computing for Academic Study (Level I). Mô-đun được giảng dạy trong khoảng 40 giờ học trên lớp cộng thêm 20 giờ tự học, và được đánh giá tại trung tâm giảng dạy với sự giám sát của ACT — không có kỳ thi bên ngoài.

    Các kết quả học tập mà đơn vị này hướng tới:

    Mục tiêu học tập GAC005.4: Tạo bài thuyết trình bằng miệng mang tính học thuật sử dụng phần mềm trình chiếu.

    Source: Cambridge International syllabus · ⁨Nguồn: Chương trình Cambridge International⁩

    English

    Once the content is right, delivery is what remains.

    • Rehearse aloud 出声, standing, with a timer. Reading silently hides every sentence you cannot actually say.
    • Signposting 提示语 tells the audience where they are: "first", "the reason for this", "to sum up". In a second language it does more work than any slide animation.
    • Eye contact 眼神交流 and pace matter more than vocabulary. Slower is almost always better.
    • Prepare for questions 提问 by listing the three you would least like to be asked, and answering them.
    • Animation 动画 has one legitimate use: revealing a complex diagram one part at a time. Everything else distracts.
    Tiếng Việt

    Everything else distracts. Everything else distracts. Everything else distracts.

    • Luyện tập lên tiếng, đứng thẳng, với bộ đếm thời gian. Đọc thầm sẽ che giấu từng câu bạn Everything else distracts. Everything else distracts. Everything else distracts.
    • Chỉ báo hướng dẫn cho biết khán giả đang ở đâu: "đầu tiên", "lý do cho điều này", Everything else distracts. Everything else distracts. Everything else distracts.
    • Giao tiếp bằng mắt và tốc độ quan trọng hơn từ vựng. Chậm lại hầu như luôn tốt hơn.
    • Chuẩn bị cho câu hỏi bằng cách liệt kê ba câu mà bạn muốn tránh nhất bị hỏi, và Everything else distracts. Everything else distracts. Everything else distracts.
    • Hoạt ảnh chỉ có một công dụng hợp lệ: tiết lộ từng phần của sơ đồ phức tạp. Everything else distracts. Everything else distracts. Everything else distracts.
    1.6

    The making of a video · ⁨Sự hình thành của video⁩

    Syllabus · ⁨Chương trình⁩
    English

    Unit 6 of 6 in GAC005 Computing I: Introduction to Computing for Academic Study (Level I). The module is taught over about 40 class hours plus 20 hours of independent study, and is assessed at the teaching centre and moderated by ACT — there is no external exam.

    The module outcomes this unit works towards:

    Learning Objective GAC005.1: Understand, evaluate and discriminate between available and emerging technologies to use, store and protect information.

    Learning Objective GAC005.4: Create an academic oral presentation using a presentation software program.

    Tiếng Việt

    Đơn vị 6 trong số 6 đơn vị của GAC005 Computing I: Introduction to Computing for Academic Study (Level I). Mô-đun được giảng dạy trong khoảng 40 giờ học trên lớp cộng thêm 20 giờ tự học, và được đánh giá tại trung tâm giảng dạy với sự giám sát của ACT — không có kỳ thi bên ngoài.

    Các kết quả học tập mà đơn vị này hướng tới:

    Mục tiêu học tập GAC005.1: Hiểu, đánh giá và phân biệt giữa các công nghệ hiện có và mới nổi để sử dụng, lưu trữ và bảo vệ thông tin.

    Mục tiêu học tập GAC005.4: Tạo bài thuyết trình bằng miệng mang tính học thuật sử dụng phần mềm trình chiếu.

    Source: Cambridge International syllabus · ⁨Nguồn: Chương trình Cambridge International⁩

    English

    A short video is assessed like any other academic product: planned, sourced and edited.

    • A storyboard 分镜脚本 plans each shot before recording: what is on screen, what is said, how long it lasts. It is the difference between an hour of editing and five.
    • A script 脚本 keeps a two-minute video to two minutes. Speaking unscripted takes three times as long and says less.
    • Audio quality 音质 matters more than picture quality. A quiet room beats an expensive camera, every time.
    • Use licensed 授权 material only: images and music released under a licence that permits reuse, credited on screen or in the description.
    • Export 导出 to a common format at a sensible size, and check that it plays on a machine that is not yours before you submit it.

    Worked example. A two-minute explainer on plastic recycling. The storyboard has eight shots of about fifteen seconds. Shot 3 is a chart of what a city actually recycles, on screen for twelve seconds with one spoken sentence, credited to the source in the corner. Because the storyboard fixed the length first, the script was written to fit the time, rather than the video being cut to fit a script that was already too long.

    Tiếng Việt

    Everything else distracts. Everything else distracts. Everything else distracts.

    • Một storyboard lên kế hoạch cho từng cảnh quay trước khi ghi hình: những gì xuất hiện trên màn hình, lời nói nào, thời lượng của nó. Sự khác biệt nằm ở việc một giờ chỉnh sửa so với năm giờ.
    • Một kịch bản giữ cho video hai phút không vượt quá hai phút. Nói mà không theo kịch bản tốn ba lần thời gian hơn và truyền tải ít thông tin hơn.
    • Chất lượng âm thanh quan trọng hơn chất lượng hình ảnh. Một căn phòng yên tĩnh luôn tốt hơn một chiếc máy ảnh đắt tiền, bất kể lúc nào.
    • Chỉ sử dụng tài liệu được cấp phép: hình ảnh và nhạc phát hành dưới giấy phép cho phép tái sử dụng, có ghi rõ nguồn gốc trên màn hình hoặc trong phần mô tả.
    • Xuất sang định dạng phổ biến với kích thước hợp lý, và kiểm tra xem nó có phát được trên một thiết bị không thuộc sở hữu của bạn trước khi nộp bài.

    Ví dụ minh họa. Video giải thích hai phút về tái chế nhựa. Storyboard bao gồm tám cảnh dài khoảng mười lăm giây. Cảnh 3 là biểu đồ thể hiện thành phố thực tế đã tái chế những gì, hiển thị trên màn hình trong mười hai giây với một câu thoại, ghi rõ nguồn gốc ở góc. Vì storyboard đã cố định độ dài từ đầu, kịch bản được viết để phù hợp với thời gian đó, thay vì video bị cắt gọt để vừa với một kịch bản vốn đã quá dài.

    Vocabulary · ⁨Từ vựng⁩ Train · ⁨Luyện tập⁩
    English Tiếng Việt
    storyboard/ˈstɔːribɔːd/ bản phác thảo
    script/skrɪpt/ kịch bản
    Audio quality/ˈɔːdɪəʊ ˈkwɒlɪti/ Chất lượng âm thanh
    licensed/ˈlaɪsənst/ có giấy phép
    Export/ˈekspɔːt/ Xuất khẩu
    Additional notes PDF

    Choose tools for the actual academic task

    Your group researches school transport. One member uses a phone. Another works offline. A third needs large text. The newest app may not suit them.

    These additional notes teach practical GAC005 skills. Keep the original handout beside them. Follow your centre's current task, required software and submission rules.

    A word processor 文字处理软件 helps you create and revise a formatted document. A shared editor can support joint writing. Presentation software organises visual support for a talk. Video software combines recorded sound and images. Choose tools by the task, rather than using one tool for everything.

    Compare access, formats, cost, privacy, offline use and helpful reading features. Test headings, tables and comments on the actual devices, including after conversion.

    For a new or emerging technology 新兴技术, first test a small, non-sensitive task. Check who runs it, what information it stores and what you can export. Keep a usable copy outside the tool. A fluent-looking automatic answer still needs source checking. Follow the centre's rules on permitted assistance and acknowledgement.

    Store, protect and recover your information

    Put related files in a clearly named project folder. Separate sources, working drafts and submission copies. Names such as transport_report_2026-10-02.odt are clearer than new_final_final.doc. Use the same naming system throughout the group.

    Access permission 访问权限 controls who can read or change information. Give editing access only to people who need it. A public link can reach people outside the group. Check the sharing list before sending a file. Store participant details separately from a report, under the centre's rules. Do not collect identifying information just because a form allows it.

    Use a strong, unique password and multi-factor authentication 多因素认证 where available. This uses more than one kind of evidence to confirm your identity. A password and a code from another device are one example. Do not share sign-in details to share a document. Verify an unexpected message before opening its sign-in link. Update supported software and lock a device when you leave it.

    Synchronisation 同步 keeps copies aligned. A backup 备份 gives a separate recovery copy. They are different: synchronisation may copy an accidental deletion too. Keep a separate, permitted backup and test that you can restore a harmless sample file. Version history may help recover changes, but its retention and detail depend on the service.

    Worked case. Mei deletes a paragraph, and the change reaches everyone's device. Repeatedly downloading the current document keeps the deletion. The group checks version history, restores the correct paragraph and verifies the result. If that history is unavailable, a separate earlier backup may help. Neither method excuses checking the final file.

    Create and revise an academic document

    Start with the centre's report structure. For this practice task, use a title, research question, method, findings, discussion and references. Create a short outline before adding paragraphs. Keep a source record while researching: author, title, date, location and the claim it supports.

    A paragraph style 段落样式 applies a named set of formatting choices. Use Heading 1 for main sections and Heading 2 for subsections. Use the normal text style for paragraphs. Large bold text alone may look like a heading without being recognised as one. Do not skip heading levels just to get a smaller font.

    For example, LibreOffice Writer offers paragraph styles. Place the cursor in a heading paragraph and apply its named heading style. Change the style when you want every heading of that level to change. Page styles control page layout, including margins, headers and footers. Menu names may differ by version or language; use the installed program's Help.

    Add a small table through the table tool. Give each column a clear heading and include units where needed. Enter data in cells, rather than aligning it with repeated spaces. Put a figure close to the text that explains it. Add a meaningful caption and its source where required. A table does not need a chart unless the chart helps explain the data.

    Use page breaks when a new section must start on a new page. Do not press Enter repeatedly to push text down. Add page numbers using the program's page-number field. If the brief needs a contents list, create it from heading styles and update it after editing.

    Revise meaning before appearance. Check whether each claim has evidence, whether the methods answer the question and whether limits are clear. Then check spelling, names, units and references. An automatic spelling suggestion can change a technical term incorrectly. Read the corrected sentence yourself.

    Collaborate on an open-source platform

    Open source 开源 means the software's source code is available under a licence allowing specified use, study and changes. It does not mean every hosted service is free, private or open to everyone. An online tool is not automatically open source.

    LibreOffice Writer is an open-source desktop word processor. It is useful for individual document work. For joint browser editing, a centre can provide a suitably configured Nextcloud service with an office editor. Nextcloud's documentation describes collaborative office editing and the required document-server integration. Use the editor actually enabled by your centre; do not assume any Nextcloud installation includes it.

    Practise with non-sensitive sample text. Each group member signs in with their own account. The owner creates one shared working document and gives the group suitable permissions. Agree an outline, roles and dates. Add a comment explaining a proposed change. Another member responds. Use a review or suggestion feature if the installed editor supports it; otherwise record proposals in comments.

    Review the content together before accepting changes. Check the current document, comments and available history. Keep a short decision record: what changed, why, who checked it and what remains unfinished. History helps show activity, but the group must still explain each member's actual work.

    If offline edits create two copies, do not silently choose the newest file. Compare the changed sections and merge the intended work. Confirm that no member's paragraph or source record disappeared. Then agree which shared copy is current.

    Export, check and share a submission copy

    Keep an editable file 可编辑文件 for future corrections. A PDF 便携式文档格式 is often useful for sharing a stable page layout. Exporting a PDF does not replace the editable source. Use the formats required by the centre.

    Check headings, font size, contrast, table headings and useful image descriptions. Run an accessibility check where available, then read the document yourself.

    Export a sample PDF and open that exported file. Check every page: missing text, broken characters, empty pages, clipped tables and correct page numbers. Search for an expected sentence to test that text is present. Ask a group member to open the submission copy on their device. A file that works only on your computer is not ready.

    Share the correct submission copy with the intended audience. Check access using the actual recipient's permitted account or the centre's approved procedure. Keep private drafts separate. Record the submitted filename and date. Correcting the source later does not change a PDF already sent.

    Practise a complete academic workflow

    Original practice brief. Prepare a short group report and a three-minute talk on school transport. Use approved existing information, or gather new responses only with the required permission. This practice brief is not an official assessment.

    1. Define the question and group you can study. Record sources and their limits.
    2. Test tools, headings, tables and shared comments. Set suitable permissions.
    3. Agree roles and dates. Draft a report with headings, evidence and references.
    4. Revise together and record decisions. Keep the editable file and test recovery.
    5. Build slides with clear messages. Explain evidence and limits aloud.
    6. Rehearse with a timer. If video is required, check shots, sound and media permissions.
    7. Inspect exports on another device. Submit the required files and preserve the group record.

    Finishing the notes is preparation, not evidence that you have completed these practical tasks. Keep the actual files and revision evidence required by your centre.

    Practice and explained answers

    Questions. 1. A phone-only member cannot edit the format. What should you test? 2. Why is synchronisation insufficient recovery protection? 3. Why use heading styles? 4. Does online editing prove open-source software? 5. Two offline drafts contain different new paragraphs. What should happen? 6. Does fixing the source change a PDF already sent? 7. What evidence shows a completed workflow?

    Explained answers. 1. Test editing, conversion and sharing on the actual device. 2. Deletions may spread; use a separate permitted backup and test recovery. 3. Named styles give recognised structure and consistent revision; they can support navigation and a contents list. 4. No; check the licence and source availability. 5. Compare and merge intended changes, then agree the current copy. The latest timestamp alone is insufficient. 6. No; export and check a corrected PDF, then follow the correction procedure. 7. Show the source record, editable report, revisions, access check, tested recovery copy, final exports and rehearsed presentation.

  • 2

    GAC011 Computing II: Web Development · ⁨GAC011 Tin học II: Phát triển Web⁩

    2.1

    What this module is, and how it is marked · ⁨Mô-đun này là gì và cách chấm điểm⁩

    English

    GAC011 is where you build and publish a real website. Six units take you from a design on paper through HTML, CSS and JavaScript to a launched site and a plan for promoting it.

    Everything is assessed on what you produce: a storyboard 分镜脚本 and design, the site itself, and a social media strategy 社交媒体策略, plus coursework. There is no written exam.

    • Design counts as much as code. The module's outcomes name aesthetics, layout, navigation and usability alongside the scripting.
    • ⚠ The site you design here is the thing GAC017 gives a back end and a database. A weak plan now costs time in the next module.

    You can run every example in this module in the site's own code playground, and the HTML, CSS and JavaScript references there go deeper than these notes do.

    Tiếng Việt

    GAC011 là nơi bạn xây dựng và công bố một trang web thực tế. Sáu đơn vị học tập dẫn dắt bạn từ thiết kế trên giấy thông qua HTML, CSS và JavaScript đến một trang web đã ra mắt và kế hoạch tiếp thị cho nó.

    Mọi thứ đều được đánh giá dựa trên những gì bạn tạo ra: một storyboard và thiết kế, chính trang web, cùng một chiến lược mạng xã hội, và bài tập lớn. Không có bài thi viết.

    • Thiết kế quan trọng không kém mã code. Các kết quả đầu ra của module nêu rõ thẩm mỹ, bố cục, điều hướng và tính dễ sử dụng bên cạnh việc lập trình.
    • ⚠ Trang web bạn thiết kế ở đây sẽ là nền tảng mà GAC017 cung cấp backend và cơ sở dữ liệu. Một kế hoạch yếu kém nay sẽ tốn thời gian ở module tiếp theo.

    Bạn có thể chạy mọi ví dụ trong module này trong sân chơi mã code riêng của trang web, và các tham chiếu HTML, CSS và JavaScript tại đó đi sâu hơn nhiều so với những ghi chú này.

    Vocabulary · ⁨Từ vựng⁩ Train · ⁨Luyện tập⁩
    English Tiếng Việt
    storyboard/ˈstɔːribɔːd/ bản phác thảo
    social media strategy/ˈsəʊʃl ˈmiːdiːə ˈstrætədʒi/ chiến lược truyền thông xã hội
    HTML/ˌeɪtʃ tiː em ˈel/ HTML
    CSS/ˌsiː es ˈes/ CSS
    selector/sɪˈlektə/ bộ chọn
    declaration/ˌdekləˈreɪʃn/ khai báo
    2.1

    Designing a website · ⁨Thiết kế trang web⁩

    Syllabus · ⁨Chương trình⁩
    English

    Unit 1 of 6 in GAC011 Computing II: Web Development (Level II). The module is taught over about 40 class hours plus 20 hours of independent study, and is assessed at the teaching centre and moderated by ACT — there is no external exam.

    Module purpose: On completion of this module, students should be able to design and create a basic website by applying knowledge of website development languages. They will also start coding to create basic dynamic content in a website. Furthermore, they will create a strategy to promote their website with social media.

    The module outcomes this unit works towards:

    Learning Objective GAC011.1: Design effective websites using aesthetics and formal concepts of layout and organization to communicate effectively using visual components.

    Learning Objective GAC011.3: Incorporate best practices in navigation, usability, and written content to design websites that give users easy access to the information they seek.

    Tiếng Việt

    Đơn vị 1 trong số 6 đơn vị của GAC011 Computing II: Web Development (Level II). Mô-đun được giảng dạy trong khoảng 40 giờ học trên lớp cộng thêm 20 giờ tự học, và được đánh giá tại trung tâm giảng dạy với sự giám sát của ACT — không có kỳ thi bên ngoài.

    Mục đích mô-đun: Sau khi hoàn thành mô-đun này, sinh viên sẽ có khả năng thiết kế và tạo một website cơ bản bằng cách áp dụng kiến thức về ngôn ngữ phát triển website. Họ cũng sẽ bắt đầu viết code để tạo nội dung động cơ bản cho website. Ngoài ra, họ sẽ xây dựng chiến lược quảng bá website của mình thông qua mạng xã hội.

    Các kết quả học tập mà đơn vị này hướng tới:

    Mục tiêu học tập GAC011.1: Thiết kế các website hiệu quả sử dụng thẩm mỹ và các khái niệm chính thức về bố cục và tổ chức để truyền đạt hiệu quả thông qua các thành phần trực quan.

    Mục tiêu học tập GAC011.3: Áp dụng các thực hành tốt nhất trong điều hướng, tính thân thiện và nội dung văn bản để thiết kế các website giúp người dùng dễ dàng truy cập thông tin mà họ đang tìm kiếm.

    Source: Cambridge International syllabus · ⁨Nguồn: Chương trình Cambridge International⁩

    English
    • Start on paper. A wireframe 线框图 shows structure without colour, which is the only way to argue about structure.
    • Information architecture 信息架构 is what goes where: the pages, and the path a visitor takes between them.
    • Visual hierarchy 视觉层次 tells the eye what matters — through size, weight, spacing and contrast, not through decoration.
    • Design for the audience, and say who they are before you choose anything.
    Tiếng Việt
    • Bắt đầu trên giấy. Một wireframe (bản phác thảo) thể hiện cấu trúc mà không dùng màu sắc, đây là cách duy nhất để tranh luận về cấu trúc.
    • Kiến trúc thông tin xác định nội dung đặt ở đâu: các trang web, và đường đi mà khách truy cập đi qua giữa chúng.
    • Cấp bậc trực quan chỉ cho mắt thấy điều gì quan trọng — thông qua kích thước, độ đậm, khoảng cách và độ tương phản, chứ không phải qua trang trí.
    • Thiết kế cho đối tượng mục tiêu, và xác định họ là ai trước khi chọn bất kỳ yếu tố nào.
    Vocabulary · ⁨Từ vựng⁩ Train · ⁨Luyện tập⁩
    English Tiếng Việt
    wireframe/ˈwaɪəfreɪm/ bản vẽ khung wireframe
    Information architecture/ˌɪnfəˈmeɪʃn ˈɑːkɪtektʃə/ Kiến trúc thông tin
    Visual hierarchy/ˈvɪʒuːəl ˈhaɪərɑːki/ Bậc thang thị giác
    2.2

    Creating a website using HTML · ⁨Tạo trang web bằng HTML⁩

    Syllabus · ⁨Chương trình⁩
    English

    Unit 2 of 6 in GAC011 Computing II: Web Development (Level II). The module is taught over about 40 class hours plus 20 hours of independent study, and is assessed at the teaching centre and moderated by ACT — there is no external exam.

    The module outcomes this unit works towards:

    Learning Objective GAC011.2: Create and publish a website using scripting languages to add interactive components.

    Tiếng Việt

    Đơn vị 2 trong số 6 đơn vị của GAC011 Computing II: Web Development (Level II). Mô-đun được giảng dạy trong khoảng 40 giờ học trên lớp cộng thêm 20 giờ tự học, và được đánh giá tại trung tâm giảng dạy với sự giám sát của ACT — không có kỳ thi bên ngoài.

    Các kết quả học tập mà đơn vị này hướng tới:

    Mục tiêu học tập GAC011.2: Tạo và xuất bản một website sử dụng ngôn ngữ lập trình script để thêm các thành phần tương tác.

    Source: Cambridge International syllabus · ⁨Nguồn: Chương trình Cambridge International⁩

    English
    • HTML 超文本标记语言 marks up meaning, not appearance. A heading is <h1> because it is a heading.
    • An element 元素 has an opening tag, content and a closing tag; an attribute 属性 goes in the opening tag.
    • Semantic elements 语义化元素 — <header>, <nav>, <main>, <article>, <footer> — tell a browser, a search engine and a screen reader what a region is.
    • Every image needs alt text 替代文本. It is what a blind visitor hears and what a search engine reads.
    Tiếng Việt
    • HTML đánh dấu ý nghĩa, không phải ngoại hình. Một tiêu đề là <h1> vì nó là một tiêu đề.
    • Một thẻ (element) có thẻ mở, nội dung và thẻ đóng; một thuộc tính (attribute) nằm trong thẻ mở.
    • Các thẻ ngữ nghĩa — <header>, <nav>, <main>, <article>, <footer> — báo cho trình duyệt, công cụ tìm kiếm và trình đọc màn hình biết vùng nội dung đó là gì.
    • Mọi hình ảnh đều cần văn bản thay thế. Đó là những gì người khiếm thị nghe thấy và công cụ tìm kiếm đọc được.
    Vocabulary · ⁨Từ vựng⁩ Train · ⁨Luyện tập⁩
    English Tiếng Việt
    element/ˈelɪmənt/ nguyên tố
    attribute/ˈætrɪbjuːt/ thuộc tính
    Semantic elements/səˈmæntɪk ˈelɪmənts/ Phần tử ngữ nghĩa
    alt text/ɒlt tekst/ văn bản thay thế (alt text)
    2.3

    Using CSS to enhance your website · ⁨Sử dụng CSS để nâng cấp trang web của bạn⁩

    Syllabus · ⁨Chương trình⁩
    English

    Unit 3 of 6 in GAC011 Computing II: Web Development (Level II). The module is taught over about 40 class hours plus 20 hours of independent study, and is assessed at the teaching centre and moderated by ACT — there is no external exam.

    The module outcomes this unit works towards:

    Learning Objective GAC011.1: Design effective websites using aesthetics and formal concepts of layout and organization to communicate effectively using visual components.

    Learning Objective GAC011.2: Create and publish a website using scripting languages to add interactive components.

    Tiếng Việt

    Đơn vị 3 trong số 6 đơn vị của GAC011 Computing II: Web Development (Level II). Mô-đun được giảng dạy trong khoảng 40 giờ học trên lớp cộng thêm 20 giờ tự học, và được đánh giá tại trung tâm giảng dạy với sự giám sát của ACT — không có kỳ thi bên ngoài.

    Các kết quả học tập mà đơn vị này hướng tới:

    Mục tiêu học tập GAC011.1: Thiết kế các website hiệu quả sử dụng thẩm mỹ và các khái niệm chính thức về bố cục và tổ chức để truyền đạt hiệu quả thông qua các thành phần trực quan.

    Mục tiêu học tập GAC011.2: Tạo và xuất bản một website sử dụng ngôn ngữ lập trình script để thêm các thành phần tương tác.

    Source: Cambridge International syllabus · ⁨Nguồn: Chương trình Cambridge International⁩

    English
    • CSS 层叠样式表 controls appearance, and keeping it out of the HTML is the whole point of the separation.
    • A selector 选择器 chooses elements; a declaration 声明 sets a property to a value.
    • The box model 盒模型 explains layout: content, then padding, then border, then margin.
    • Responsive design 响应式设计 makes one page work on a phone and a laptop, usually with flexible widths and a media query 媒体查询.

    Worked example. A card that is too wide on a phone.

    The fix is not a fixed pixel width. Set max-width so the card never exceeds the screen, let it shrink below that, and add a media query only for the change that a smaller screen genuinely needs, such as stacking two columns into one.

    Designing the flexible case first, and treating the media query as the exception, is what "responsive" means.

    Tiếng Việt
    • CSS điều khiển ngoại hình, và việc giữ nó tách rời khỏi HTML chính là mục đích cốt lõi của sự phân tách. sự phân tách.
    • Mô hình hộp (box model) giải thích cách bố trí: nội dung, sau đó là padding (đệm), rồi border (viền), cuối cùng là margin (khoảng cách).
    • Thiết kế responsive (phân phối linh hoạt) khiến một trang web hoạt động trên cả điện thoại và laptop, thường với
    • Thiết kế thích ứng giúp một trang web hoạt động trên điện thoại và laptop, thường với Ví dụ minh họa. Một thẻ (card) quá rộng trên điện thoại.

    Ví dụ minh họa. Một thẻ (card) quá rộng trên điện thoại.

    Giải pháp không phải là cố định độ rộng theo pixel. Đặt max-width để thẻ không bao giờ vượt quá màn hình, hãy để nó "Responsive" nghĩa là thiết kế trường hợp linh hoạt trước, và coi media query là ngoại lệ. nhu cầu, chẳng hạn như gộp hai cột thành một.

    Thiết kế trường hợp linh hoạt trước, và xem truy vấn phương tiện (media query) là ngoại lệ, chính là điều "responsive" có nghĩa.

    Vocabulary · ⁨Từ vựng⁩ Train · ⁨Luyện tập⁩
    English Tiếng Việt
    box model/bɒks ˈmɒdl/ mô hình hộp
    Responsive design/rɪˈspɒnsɪv dɪˈzaɪn/ Thiết kế responsive
    media query/ˈmiːdiːə ˈkwɪərɪ/ truy vấn phương tiện
    2.4

    Adding interactivity with JavaScript · ⁨Thêm tương tác với JavaScript⁩

    Syllabus · ⁨Chương trình⁩
    English

    Unit 4 of 6 in GAC011 Computing II: Web Development (Level II). The module is taught over about 40 class hours plus 20 hours of independent study, and is assessed at the teaching centre and moderated by ACT — there is no external exam.

    The module outcomes this unit works towards:

    Learning Objective GAC011.2: Create and publish a website using scripting languages to add interactive components.

    Tiếng Việt

    Đơn vị 4 trong số 6 đơn vị của GAC011 Computing II: Web Development (Level II). Mô-đun được giảng dạy trong khoảng 40 giờ học trên lớp cộng thêm 20 giờ tự học, và được đánh giá tại trung tâm giảng dạy với sự giám sát của ACT — không có kỳ thi bên ngoài.

    Các kết quả học tập mà đơn vị này hướng tới:

    Mục tiêu học tập GAC011.2: Tạo và xuất bản một website sử dụng ngôn ngữ lập trình script để thêm các thành phần tương tác.

    Source: Cambridge International syllabus · ⁨Nguồn: Chương trình Cambridge International⁩

    English
    • JavaScript runs in the browser and changes the page after it has loaded.
    • The DOM 文档对象模型 is the page as a tree of objects your code can read and change.
    • An event 事件 — a click, a submit, a key press — triggers a function 函数 you wrote.
    • Keep it small at this level: validate a form, toggle a menu, filter a list. A site that fails when JavaScript fails is a design error, not a coding one.
    Tiếng Việt
    • Giữ cho nó đơn giản ở mức độ này: xác thực biểu mẫu, bật/tắt menu, lọc danh sách. Một trang web bị hỏng
    • DOM là trang web dưới dạng cây đối tượng mà mã của bạn có thể đọc và thay đổi.
    • Một sự kiện — như nhấp chuột, gửi biểu mẫu, nhấn phím — sẽ kích hoạt một hàm do bạn viết ra.
    • Hosting (lưu trữ) đặt file của bạn trên máy chủ; một tên miền (domain name) dẫn khách truy cập đến đó. khi JavaScript thất bại là lỗi thiết kế, không phải lỗi lập trình.
    Vocabulary · ⁨Từ vựng⁩ Train · ⁨Luyện tập⁩
    English Tiếng Việt
    DOM/dɒm/ DOM
    event/ɪˈvent/ sự kiện
    function/ˈfʌŋkʃn/ hàm
    Hosting/ˈhəʊstɪŋ/ Lưu trữ web
    domain name/dəˈmeɪn neɪm/ tên miền
    Accessibility/ækˌsesəˈbɪlɪti/ Khả năng truy cập
    content plan/ˈkɒntent plæn/ kế hoạch nội dung
    2.5

    Launching your website · ⁨Ra mắt website của bạn⁩

    Syllabus · ⁨Chương trình⁩
    English

    Unit 5 of 6 in GAC011 Computing II: Web Development (Level II). The module is taught over about 40 class hours plus 20 hours of independent study, and is assessed at the teaching centre and moderated by ACT — there is no external exam.

    The module outcomes this unit works towards:

    Learning Objective GAC011.3: Incorporate best practices in navigation, usability, and written content to design websites that give users easy access to the information they seek.

    Learning Objective GAC011.4: Use the website to complement academic work conducted in other media.

    Tiếng Việt

    Đơn vị 5 trong số 6 đơn vị của GAC011 Computing II: Web Development (Level II). Mô-đun được giảng dạy trong khoảng 40 giờ học trên lớp cộng thêm 20 giờ tự học, và được đánh giá tại trung tâm giảng dạy với sự giám sát của ACT — không có kỳ thi bên ngoài.

    Các kết quả học tập mà đơn vị này hướng tới:

    Mục tiêu học tập GAC011.3: Áp dụng các thực hành tốt nhất trong điều hướng, tính thân thiện và nội dung văn bản để thiết kế các website giúp người dùng dễ dàng truy cập thông tin mà họ đang tìm kiếm.

    Mục tiêu học tập GAC011.4: Sử dụng website để bổ trợ cho công việc học thuật được thực hiện trên các phương tiện khác.

    Source: Cambridge International syllabus · ⁨Nguồn: Chương trình Cambridge International⁩

    English
    • Hosting 托管 puts your files on a server; a domain name 域名 points visitors at them.
    • Test before you launch: every link, on a phone, on a browser that is not yours.
    • Accessibility 无障碍 is not optional — contrast, alt text, keyboard navigation, and text that resizes.
    • ⚠ Check what you are allowed to publish. An image or a font on your site needs a licence that permits it, exactly as a quotation in an essay needs a citation.
    Tiếng Việt
    • ⚠ Kiểm tra những gì bạn được phép công bố. Một hình ảnh hoặc font chữ trên trang web cần giấy phép cho phép sử dụng, đúng như một trích dẫn trong bài luận cần trích nguồn.
    • Kiểm tra trước khi ra mắt: mọi liên kết, trên điện thoại, trên trình duyệt không phải của bạn.
    • Quyết định đối tượng mục tiêu và mục tiêu trước khi chọn nền tảng. "Có mặt trên mạng xã hội" không phải là một mục tiêu.
    • Chỉ số đo lường (metrics) phải gắn liền với mục tiêu: phạm vi tiếp cận, sự tương tác, và tỷ lệ nhấp vào trang web của bạn là những thứ khác nhau, và chỉ một trong số đó là lưu lượng truy cập. cho phép nó, giống hệt như một câu trích dẫn trong bài luận cần được ghi nguồn.
    Vocabulary · ⁨Từ vựng⁩ Train · ⁨Luyện tập⁩
    English Tiếng Việt
    Metrics/ˈmetrɪks/ Chỉ số đo lường
    2.6

    Social media marketing · ⁨Tiếp thị mạng xã hội⁩

    Syllabus · ⁨Chương trình⁩
    English

    Unit 6 of 6 in GAC011 Computing II: Web Development (Level II). The module is taught over about 40 class hours plus 20 hours of independent study, and is assessed at the teaching centre and moderated by ACT — there is no external exam.

    The module outcomes this unit works towards:

    Learning Objective GAC011.5: Use social media to promote or find a website.

    Tiếng Việt

    Đơn vị 6 trong số 6 đơn vị của GAC011 Computing II: Web Development (Level II). Mô-đun được giảng dạy trong khoảng 40 giờ học trên lớp cộng thêm 20 giờ tự học, và được đánh giá tại trung tâm giảng dạy với sự giám sát của ACT — không có kỳ thi bên ngoài.

    Các kết quả học tập mà đơn vị này hướng tới:

    Mục tiêu học tập GAC011.5: Sử dụng mạng xã hội để quảng bá hoặc tìm kiếm một website.

    Source: Cambridge International syllabus · ⁨Nguồn: Chương trình Cambridge International⁩

    English
    • Decide the audience and the objective before choosing a platform. "Be on social media" is not an objective.
    • A content plan 内容计划 says what you will post, how often, and who writes it.
    • Metrics 指标 must connect to the objective: reach, engagement, and click-through to your site are different things, and only one of them is traffic.
    • Measure, then change one thing. Changing everything at once teaches you nothing about which change worked.
    Tiếng Việt
    • Xác định đối tượng khách hàng và mục tiêu trước khi chọn nền tảng. "Có mặt trên mạng xã hội" Đánh giá hoàn toàn mang tính thực hành — một cơ sở dữ liệu bạn thiết kế và xây dựng, một **ứng dụng web
    • Kế hoạch nội dung nêu rõ bạn sẽ đăng gì, tần suất ra sao và ai là người viết.
    • Chỉ số đo lường phải liên quan đến mục tiêu: phạm vi tiếp cận, mức độ tương tác, và tỷ lệ nhấp vào website của bạn là những thứ khác nhau, và chỉ có một trong số đó là lưu lượng truy cập. website của bạn là những thứ khác nhau, và chỉ có một trong số chúng là lưu lượng truy cập.
    • Đo lường, sau đó thay đổi một yếu tố. Thay đổi tất cả cùng lúc sẽ không dạy cho bạn điều gì về việc thay đổi nào đã hiệu quả. thay đổi nào đã hoạt động.
    Additional notes PDF

    A website should help its intended reader

    A school-transport report may contain detailed methods and tables. Its website can give classmates a short overview. The page should help them find the main result, inspect the method and reach the approved full report.

    These separate notes add practical GAC011 work. Preserve the original handout beside them. Follow your current centre brief for required tools, depth and submission evidence.

    Original practice brief. Build one readable page for classmates using invented transport counts. Add navigation, a table and a category filter. Plan how the page supports a report and a short talk. No real responses are collected. Local preview is practice; it is not public publication.

    Draw a wireframe with a title, introduction, section links, findings, method and footer. Give each area a clear purpose. Visitors should not have to guess whether a button changes the page or opens another document. Use meaningful text such as “Method and limits”, rather than “Click here”.

    Build a complete HTML page

    Character encoding 字符编码 tells the browser how to read the file's text. UTF-8 supports many writing systems. The viewport setting helps mobile browsers use the device width. A descriptive title helps people identify the page in a tab.

    Save the following complete example as transport.html. Open that file in a browser. It works without a library, account or network request. The built-in style block keeps this first exercise in one file. A later project can move those styles into a separate CSS file and link it from the head.

    <!doctype html>
    <html lang="en">
    <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>School transport: practice report</title>
    <style>
    :root { --page: #ffffff; --text: #172033; --line: #637083; --link: #164db2; }
    body.dark { --page: #080d17; --text: #e9eef7; --line: #8392a8; --link: #a8d2ff; }
    * { box-sizing: border-box; }
    body { margin: 0; background: var(--page); color: var(--text); font: 1.1rem/1.6 sans-serif; }
    header, main, footer { max-width: 48rem; margin: auto; padding: 1rem; }
    a { color: var(--link); }
    nav { display: flex; flex-wrap: wrap; gap: 1rem; }
    section { margin-block: 2rem; padding-block: 1rem; border-top: 1px solid var(--line); }
    button, select { font: inherit; padding: .4rem; background: var(--page); color: var(--text); border: 1px solid var(--line); }
    :focus-visible { outline: 3px solid var(--link); outline-offset: 3px; }
    table { width: 100%; border-collapse: collapse; }
    caption { text-align: left; margin-block: .5rem; }
    th, td { text-align: left; padding: .5rem; border-bottom: 1px solid var(--line); }
    [hidden] { display: none !important; }
    </style>
    </head>
    <body>
    <header>
    <h1>School transport</h1>
    <p>An original practice example. All counts are invented.</p>
    <nav aria-label="Report sections">
    <a href="#findings">Findings</a>
    <a href="#method">Method and limits</a>
    </nav>
    <div id="controls" hidden>
    <button id="theme" type="button">Use dark theme</button>
    <label for="mode">Show transport category</label>
    <select id="mode">
    <option value="all">All categories</option>
    <option value="walk">Walking</option>
    <option value="bus">Bus</option>
    <option value="cycle">Cycling</option>
    </select>
    </div>
    </header>
    <main>
    <section id="findings" aria-labelledby="findings-title">
    <h2 id="findings-title">Findings</h2>
    <p>In this invented group of 36 responses, bus travel has the largest count.</p>
    <table>
    <caption>Practice counts, not research findings</caption>
    <thead><tr><th scope="col">Main mode</th><th scope="col">Responses</th></tr></thead>
    <tbody>
    <tr data-mode="walk"><th scope="row">Walking</th><td>12</td></tr>
    <tr data-mode="bus"><th scope="row">Bus</th><td>18</td></tr>
    <tr data-mode="cycle"><th scope="row">Cycling</th><td>6</td></tr>
    </tbody>
    </table>
    <p id="status" role="status">3 transport categories shown.</p>
    </section>
    <section id="method" aria-labelledby="method-title">
    <h2 id="method-title">Method and limits</h2>
    <p>Each invented response has one main mode. The counts sum to 36.</p>
    <p>The table does not explain choices, travel distance or the whole school's habits.</p>
    <p>This page is a short companion to a report and oral presentation. An actual project should link its approved report and sources here.</p>
    </section>
    </main>
    <footer><p>GAC011 practice: no responses are collected or sent.</p></footer>
    <script>
    const controls = document.querySelector("#controls");
    const mode = document.querySelector("#mode");
    const rows = [...document.querySelectorAll("tbody tr")];
    const status = document.querySelector("#status");
    const theme = document.querySelector("#theme");
    mode.addEventListener("change", () => {
      let shown = 0;
      rows.forEach(row => {
        row.hidden = mode.value !== "all" && row.dataset.mode !== mode.value;
        if (!row.hidden) shown += 1;
      });
      status.textContent = `${shown} transport ${shown === 1 ? "category" : "categories"} shown.`;
    });
    theme.addEventListener("click", () => {
      const dark = document.body.classList.toggle("dark");
      theme.textContent = dark ? "Use light theme" : "Use dark theme";
    });
    controls.hidden = false;
    </script>
    </body>
    </html>
    

    The HTML provides readable content before JavaScript runs. The href="#method" link points to the element with id="method". IDs must be unique on the page. A wrong ID breaks that link even if the label looks correct.

    The table's caption states what its numbers mean. Column and row headings describe the cells. The invented values are 12, 18 and 6, giving 36 responses. Bus has the largest count. Those counts do not tell us why people choose a mode.

    Explain and adapt the CSS

    A CSS custom property 自定义属性 stores a reusable value, such as a colour. The example uses shared page, text, border and link colours. The dark class changes those values together. Text areas and controls use the same page colour in dark mode. Borders and space separate sections.

    The universal box-sizing rule makes specified sizes include padding and borders. The reading area grows with the window but stops at 48rem. The navigation can wrap when space is limited. A flexible width often solves the first layout problem without a media query.

    The :focus-visible outline helps keyboard users find the current control. Do not remove it just because it is visible. Links retain underlines. Table headings and sufficient contrast help readers understand the data. An actual image needs text suited to its purpose: meaningful information needs a useful description; a purely decorative image can use empty alt text.

    Adaptation. Change the page title and introduction for another approved academic topic. Keep a clear heading order. Try a narrow window and enlarged text. If you later add two columns, decide where they should stack and test a suitable media query. Do not add a fixed width that makes the phone scroll sideways.

    Trace the JavaScript interaction

    An event listener 事件监听器 runs code when its event occurs. The example listens for a changed selection. mode.value gives the selected value. Each row's data-mode attribute becomes row.dataset.mode in JavaScript.

    A row is hidden when a specific category is selected and the row does not match. Selecting all makes every row visible. The counter starts at zero for each change. It increases once for each visible category, not once per response. Therefore selecting Bus shows one category, not eighteen categories.

    Trace. Select Bus. Walking and Cycling become hidden. Bus remains visible and the status says “1 transport category shown.” Select All categories. The hidden condition is false for every row, so the status returns to three categories.

    The theme button adds or removes the dark class. Its label describes the next action. Updating textContent changes text; it does not treat that text as HTML. The status region can announce the changed count to assistive software. Check actual behaviour with the tools available at your centre.

    Progressive enhancement 渐进增强 means that useful basic content works before extra features are added. The example keeps interactive controls hidden until their listeners are attached. Without JavaScript, the full table, methods and section links still work. A filter changes the view, not the underlying counts or study limits.

    Check, publish and maintain the site

    Before any authorised launch, record results of practical checks. Open every link, use the keyboard, enlarge text and try phone-sized layouts. Check both themes and a second browser or device. Verify the complete content still works if the optional script is unavailable. Read errors rather than hiding them.

    Relative path 相对路径 means a file location described from another location. For an approved report saved beside your page as report.pdf, an HTML link can use href="report.pdf". Use a meaningful label and identify the PDF. Add the actual report only when you have it; do not leave a broken sample link. Check filenames and upper/lower case on the host.

    A static site 静态网站 can serve stored HTML, CSS, scripts and images. The browser can still run interactive JavaScript. A domain name 域名 is an address people use; hosting provides the service that delivers files. A domain alone does not upload your site.

    Use your centre's approved publishing process. Check media permission and remove private drafts or participant information. Upload the required files together. Open the actual public URL and verify paths, display and controls there. A successful local preview is not proof of a successful launch.

    Keep editable source files and a known working copy. When you revise, check the change and its affected links. Record the version and date. Correcting your local file does not update a hosted copy until the approved publishing process delivers it.

    Connect the website to academic work and promotion

    The website should complement your report and talk. Its overview gives a clear question, one useful result and the study's limits. The full report carries detailed evidence and references. A slide in the talk can show the page address or an approved QR code. Check that the link reaches the intended version. Do not claim that the practice counts are real findings.

    For promotion, define an audience and objective first. For example: help classmates find the approved report during project week. Plan a permitted post with a short accurate description, meaningful link text and a named owner. Follow centre rules and platform requirements. Planning a post does not show that promotion actually happened.

    Impressions 展示次数 count displays under the platform's definition. Reach usually refers to distinct accounts under its definition. Neither is automatically the number of people who read the report. Click-through rate 点击率 needs a stated numerator and denominator.

    Invented example. Post A receives 400 impressions and 20 link clicks. Post B receives 250 impressions and 25 link clicks. Using link clicks divided by impressions, A has $20/400=5\%$ and B has $25/250=10\%$. B has more link clicks despite fewer impressions.

    These numbers do not prove B's wording caused the difference. Timing, audience and repeated clicks may differ. Link clicks also do not prove the report loaded or was read. Choose a change, record its context and compare a measure that matches the objective. Keep unnecessary personal tracking out of the task.

    Practice and explained answers

    Questions. 1. Which element does the Method link reach? 2. What should the filter display for Cycling? 3. Does filtering change the original total of 36? 4. What remains usable without JavaScript? 5. Why is a domain purchase insufficient for launch? 6. Post C has 600 impressions and 24 link clicks. Find its rate. 7. Does B's higher rate prove its wording is better? 8. Name evidence of a completed website task.

    Explained answers. 1. The element whose ID is method; the fragment and ID must match. 2. Only Cycling's row, with six responses and one category shown. 3. No; it changes visible rows, not the original dataset. 4. The text, full table, method and section links; optional controls remain hidden. 5. Files still need approved hosting and delivery, then checks at the actual URL. 6. $24/600=4\%$. 7. No; other differences and measurement limits remain. 8. Show your plan, sources, working page, checks and required publishing, academic and promotion evidence.

  • 3

    GAC017 Computing III: Data Science and Web Apps · ⁨GAC017 Tin học III: Khoa học Dữ liệu và Ứng dụng Web⁩

    3.1

    What this module is, and how it is marked · ⁨Mô-đun này là gì và cách chấm điểm⁩

    English

    GAC017 is the Level III computing module: what sits behind a website. Six units cover back-end JavaScript, databases, SQL, connecting the two, and a first look at data science.

    Assessment is entirely practical — a database 数据库 you design and build, a web app 网络应用 that talks to it, a data analysis project 数据分析项目, and coursework — usually spread across most of the semester rather than concentrated at the end.

    • The work is judged on whether it runs and answers a question, not on how much code there is.
    • ⚠ Design the database before you write a query. Almost every problem later is a table problem wearing a query's clothes.

    Every SQL example here runs in the site's own code playground, and the SQL reference there is the fuller version of these notes.

    Tiếng Việt

    GAC017 là mô-đun máy tính cấp III: những gì nằm phía sau một trang web. Sáu đơn vị học phần bao gồm back-end, JavaScript, cơ sở dữ liệu, SQL, kết nối hai loại này, và cái nhìn đầu tiên về khoa học dữ liệu.

    Đánh giá hoàn toàn mang tính thực hành — một cơ sở dữ liệu bạn thiết kế và xây dựng, một ứng dụng web giao tiếp với nó, một dự án phân tích dữ liệu, và bài tập trên lớp — thường là phân bổ trong suốt hầu hết học kỳ thay vì tập trung vào cuối khóa.

    • Công việc được đánh giá dựa trên việc nó chạy được và trả lời được câu hỏi, không phải dựa vào lượng code có bao nhiêu.
    • ⚠ Thiết kế cơ sở dữ liệu trước khi viết truy vấn. Hầu như mọi vấn đề sau này đều là vấn đề về bảng. đang mặc bộ quần áo của một truy vấn.

    Mỗi ví dụ SQL ở đây đều chạy trong sân chơi code riêng của trang web, và tài tham khảo SQL tại đó là phiên bản đầy đủ hơn của những ghi chú này.

    Vocabulary · ⁨Từ vựng⁩ Train · ⁨Luyện tập⁩
    English Tiếng Việt
    database/ˈdeɪtəbeɪs/ cơ sở dữ liệu
    web app/web æp/ ứng dụng web
    data analysis project/ˈdeɪtə əˈnæləsɪs ˈprɒdʒekt/ dự án phân tích dữ liệu
    front end/frʌnt end/ giao diện trước
    back end/bæk end/ backend
    SQL/ˌes kjuː ˈel/ SQL
    3.1

    JavaScript for a web app's back end · ⁨JavaScript cho phần máy chủ của ứng dụng web⁩

    Syllabus · ⁨Chương trình⁩
    English

    Unit 1 of 6 in GAC017 Computing III: Data Science and Web Apps (Level III). The module is taught over about 40 class hours plus 20 hours of independent study, and is assessed at the teaching centre and moderated by ACT — there is no external exam.

    Module purpose: On completion of this module, students should be able to create a web app. Students will learn about back- end programming and how to create a dynamic website. They will be able to use SQL to analyze data from multiple tables in order to make informed decisions.

    The module outcomes this unit works towards:

    Learning Objective GAC017.1: Understand the basic components of a Web Application.

    Tiếng Việt

    Đơn vị 1 trong số 6 đơn vị của GAC017 Computing III: Data Science and Web Apps (Level III). Mô-đun được giảng dạy trong khoảng 40 giờ học trên lớp cộng thêm 20 giờ tự học, và được đánh giá tại trung tâm giảng dạy với sự giám sát của ACT — không có kỳ thi bên ngoài.

    Mục đích mô-đun: Sau khi hoàn thành mô-đun này, sinh viên sẽ có khả năng tạo một ứng dụng web. Sinh viên sẽ tìm hiểu về lập trình back-end và cách tạo một website động. Họ sẽ có thể sử dụng SQL để phân tích dữ liệu từ nhiều bảng nhằm đưa ra các quyết định sáng suốt.

    Các kết quả học tập mà đơn vị này hướng tới:

    Mục tiêu học tập GAC017.1: Hiểu các thành phần cơ bản của Ứng dụng Web.

    Source: Cambridge International syllabus · ⁨Nguồn: Chương trình Cambridge International⁩

    English
    • The front end 前端 runs in the browser; the back end 后端 runs on a server and holds what the browser must not.
    • A server 服务器 receives a request 请求 and returns a response 响应. That loop is the whole architecture.
    • An API 应用程序接口 is the agreed shape of those requests and responses.
    • ⚠ Anything secret — a password, a key — belongs on the back end only. Code in a browser is readable by everyone who visits.
    Tiếng Việt
    • Phần client chạy trên trình duyệt; phần server chạy trên máy chủ và lưu giữ những gì trình duyệt cần.
    • Một máy chủ nhận một yêu cầu và trả về một phản hồi. Chu trình lặp đó chính là toàn bộ kiến trúc.
    • Một API là định dạng thống nhất của các yêu cầu và phản hồi đó.
    • ⚠ Mọi thứ bí mật — mật khẩu, khóa — chỉ nên nằm ở phần máy chủ. Code trong trình duyệt là có thể đọc được bởi tất cả mọi người truy cập.
    Vocabulary · ⁨Từ vựng⁩ Train · ⁨Luyện tập⁩
    English Tiếng Việt
    server/ˈsɜːvə/ máy chủ
    request/rɪˈkwest/ yêu cầu
    response/rɪˈspɒns/ phản ứng
    API/ˌeɪ piː ˈaɪ/ API
    3.2

    Back-end programming · ⁨Lập trình phần máy chủ⁩

    Syllabus · ⁨Chương trình⁩
    English

    Unit 2 of 6 in GAC017 Computing III: Data Science and Web Apps (Level III). The module is taught over about 40 class hours plus 20 hours of independent study, and is assessed at the teaching centre and moderated by ACT — there is no external exam.

    The module outcomes this unit works towards:

    Learning Objective GAC017.2: Adapt a back-end application using scripting languages to interact with databases.

    Tiếng Việt

    Đơn vị 2 trong số 6 đơn vị của GAC017 Computing III: Data Science and Web Apps (Level III). Mô-đun được giảng dạy trong khoảng 40 giờ học trên lớp cộng thêm 20 giờ tự học, và được đánh giá tại trung tâm giảng dạy với sự giám sát của ACT — không có kỳ thi bên ngoài.

    Các kết quả học tập mà đơn vị này hướng tới:

    Mục tiêu học tập GAC017.2: Tùy chỉnh ứng dụng back-end sử dụng ngôn ngữ lập trình script để tương tác với cơ sở dữ liệu.

    Source: Cambridge International syllabus · ⁨Nguồn: Chương trình Cambridge International⁩

    English
    • A route 路由 maps a URL to code that runs when that URL is requested.
    • Validate input 校验输入 on the server. Checking in the browser is a convenience for honest users, not a defence.
    • Never build a query by joining strings with user input. That is how SQL injection SQL 注入 happens, and it is the security failure this unit exists to prevent.
    • Return an honest status: 200 for success, 400 for a bad request, 404 for something that is not there.
    Tiếng Việt
    • Một route (tuyến) ánh xạ một URL với đoạn code sẽ chạy khi URL đó được yêu cầu.
    • Xác thực đầu vào trên máy chủ. Kiểm tra trên trình duyệt chỉ là tiện ích cho người dùng chân thành, chứ không phải là biện pháp phòng thủ.
    • Không bao giờ xây dựng truy vấn bằng cách nối chuỗi với đầu vào của người dùng. Đó chính là cách xâm nhập SQL SQL xảy ra, và đó là lỗ hổng bảo mật mà đơn vị học này nhằm ngăn chặn.
    • Trả về một trạng thái trung thực: 200 cho thành công, 400 cho yêu cầu sai, 404 cho điều gì đó không tồn tại.
    Vocabulary · ⁨Từ vựng⁩ Train · ⁨Luyện tập⁩
    English Tiếng Việt
    route/ruːt/ đường đi
    Validate input/ˈvælɪdeɪt ˈɪnpʊt/ Xác thực dữ liệu đầu vào
    SQL injection/ˌes kjuː ˈel ɪnˈdʒekʃn/ Inject SQL
    relational database/rɪˈleɪʃənl ˈdeɪtəbeɪs/ cơ sở dữ liệu quan hệ
    tables/ˈteɪblz/ bảng
    primary key/ˈpraɪməri kiː/ khóa chính
    foreign key/ˈfɒrən kiː/ khóa ngoại
    Normalisation/ˌnɔːməlaɪˈzeɪʃn/ Chuẩn hóa (Normalisation)
    entities/ˈentɪtiz/ thực thể
    3.3

    Introduction to databases · ⁨Giới thiệu về cơ sở dữ liệu⁩

    Syllabus · ⁨Chương trình⁩
    English

    Unit 3 of 6 in GAC017 Computing III: Data Science and Web Apps (Level III). The module is taught over about 40 class hours plus 20 hours of independent study, and is assessed at the teaching centre and moderated by ACT — there is no external exam.

    The module outcomes this unit works towards:

    Learning Objective GAC017.3: Create a database with multiple tables.

    Tiếng Việt

    Đơn vị 3 trong số 6 đơn vị của GAC017 Computing III: Data Science and Web Apps (Level III). Mô-đun được giảng dạy trong khoảng 40 giờ học trên lớp cộng thêm 20 giờ tự học, và được đánh giá tại trung tâm giảng dạy với sự giám sát của ACT — không có kỳ thi bên ngoài.

    Các kết quả học tập mà đơn vị này hướng tới:

    Mục tiêu học tập GAC017.3: Tạo cơ sở dữ liệu với nhiều bảng.

    Source: Cambridge International syllabus · ⁨Nguồn: Chương trình Cambridge International⁩

    English
    • A relational database 关系数据库 stores data in tables 表 of rows and columns.
    • A primary key 主键 identifies a row uniquely. A foreign key 外键 points at another table's primary key, and that pointer is the relationship.
    • Normalisation 规范化 removes duplicated data so one fact lives in one place.
    • Design by asking what the entities 实体 are, then what connects them.

    Worked example. A school wants to store students, courses and who takes what.

    Two tables cannot do it: a student takes many courses and a course has many students. The many-to-many needs a third table — enrolments — whose rows are (student, course) pairs.

    Recognising that this third table is required is the single most useful database idea in the module, and it is where most first designs go wrong.

    Tiếng Việt
    • Một cơ sở dữ liệu quan hệ lưu trữ dữ liệu trong các bảng gồm hàng và cột.
    • Một khóa chính xác định duy nhất một hàng. Một khóa ngoại trỏ đến khóa chính của bảng khác, và liên kết trỏ đó chính là mối quan hệ.
    • Thiết kế bằng cách hỏi các thực thể là gì, sau đó hỏi cái gì kết nối chúng.
    • Thiết kế bằng cách hỏi các thực thể là gì, sau đó là những gì kết nối chúng.

    Ví dụ minh họa. Một trường học muốn lưu trữ thông tin về học sinh, môn học và ai đang theo học môn nào.

    Hai bảng không đủ: một học sinh tham gia nhiều môn học và một môn học có nhiều học sinh. Mối quan hệ nhiều-nhiều cần một bảng thứ ba — đăng ký — mà các hàng của nó là cặp (học sinh, môn học).

    Nhận ra rằng bảng thứ ba này là bắt buộc là ý tưởng cơ sở dữ liệu hữu ích nhất trong mô-đun, và đây cũng là nơi phần lớn các thiết kế ban đầu mắc sai lầm.

    3.4

    SQL for back-end programming · ⁨SQL cho lập trình back-end⁩

    Syllabus · ⁨Chương trình⁩
    English

    Unit 4 of 6 in GAC017 Computing III: Data Science and Web Apps (Level III). The module is taught over about 40 class hours plus 20 hours of independent study, and is assessed at the teaching centre and moderated by ACT — there is no external exam.

    The module outcomes this unit works towards:

    Learning Objective GAC017.4: Analyze data using SQL in order to make decisions.

    Tiếng Việt

    Đơn vị 4 trong số 6 đơn vị của GAC017 Computing III: Data Science and Web Apps (Level III). Mô-đun được giảng dạy trong khoảng 40 giờ học trên lớp cộng thêm 20 giờ tự học, và được đánh giá tại trung tâm giảng dạy với sự giám sát của ACT — không có kỳ thi bên ngoài.

    Các kết quả học tập mà đơn vị này hướng tới:

    Mục tiêu học tập GAC017.4: Phân tích dữ liệu bằng SQL để đưa ra các quyết định.

    Source: Cambridge International syllabus · ⁨Nguồn: Chương trình Cambridge International⁩

    English
    • SQL 结构化查询语言 asks a database questions. SELECT … FROM … WHERE … is the core.
    • JOIN 连接 combines rows from two tables on a matching key.
    • GROUP BY 分组 with COUNT, SUM or AVG answers "how many per…" questions.
    • ⚠ WHERE filters rows before grouping; HAVING filters groups after. Using the wrong one is the classic SQL error, and it usually returns a plausible wrong answer.

    Worked example. Which courses have more than 20 students?

    The count is a property of the group, so the filter is HAVING. Written with WHERE it does not run — and when a similar mistake does run, it silently answers a different question.

    Tiếng Việt
    • SQL đặt câu hỏi cho cơ sở dữ liệu. SELECT … FROM … WHERE … là cốt lõi.
    • JOIN kết hợp các hàng từ hai bảng dựa trên khóa khớp nhau.
    • GROUP BY đi kèm với COUNT, SUM hoặc AVG để trả lời các câu hỏi "bao nhiêu mỗi…".
    • ⚠ WHERE lọc các hàng trước khi nhóm; HAVING lọc các nhóm sau. Sử dụng sai một trong hai là lỗi kinh điển trong SQL, và thường sẽ trả về một đáp án sai nhưng có vẻ hợp lý.

    Ví dụ minh họa. Các khóa học nào có nhiều hơn 20 sinh viên?

    SELECT c.title, COUNT(*) AS students
    FROM enrolments e
    JOIN courses c ON c.id = e.course_id
    GROUP BY c.title
    HAVING COUNT(*) > 20;
    

    Đếm là thuộc tính của nhóm, nên bộ lọc là HAVING. Viết dưới dạng WHERE thì không được chạy — và khi một lỗi tương tự thực sự chạy, nó im lặng trả lời một câu hỏi khác.

    Vocabulary · ⁨Từ vựng⁩ Train · ⁨Luyện tập⁩
    English Tiếng Việt
    JOIN/dʒɔɪn/ JOIN
    GROUP BY/ɡruːp baɪ/ GROUP BY
    parameterised query/ˌpærəˈmetəraɪzd ˈkwɪərɪ/ truy vấn tham số hóa
    3.5

    Connecting JavaScript with SQL · ⁨Kết nối JavaScript với SQL⁩

    Syllabus · ⁨Chương trình⁩
    English

    Unit 5 of 6 in GAC017 Computing III: Data Science and Web Apps (Level III). The module is taught over about 40 class hours plus 20 hours of independent study, and is assessed at the teaching centre and moderated by ACT — there is no external exam.

    The module outcomes this unit works towards:

    Learning Objective GAC017.2: Adapt a back-end application using scripting languages to interact with databases.

    Learning Objective GAC017.4: Analyze data using SQL in order to make decisions.

    Tiếng Việt

    Đơn vị 5 trong số 6 đơn vị của GAC017 Computing III: Data Science and Web Apps (Level III). Mô-đun được giảng dạy trong khoảng 40 giờ học trên lớp cộng thêm 20 giờ tự học, và được đánh giá tại trung tâm giảng dạy với sự giám sát của ACT — không có kỳ thi bên ngoài.

    Các kết quả học tập mà đơn vị này hướng tới:

    Mục tiêu học tập GAC017.2: Tùy chỉnh ứng dụng back-end sử dụng ngôn ngữ lập trình script để tương tác với cơ sở dữ liệu.

    Mục tiêu học tập GAC017.4: Phân tích dữ liệu bằng SQL để đưa ra các quyết định.

    Source: Cambridge International syllabus · ⁨Nguồn: Chương trình Cambridge International⁩

    English
    • The back end takes a request, runs a parameterised query 参数化查询, and returns the rows as data, usually JSON 数据交换格式.
    • Parameterised means the values travel separately from the query text. That is what makes injection impossible rather than unlikely.
    • Handle the empty case. A query that returns no rows is normal, and a page that breaks on it is not finished.
    Tiếng Việt
    • Phần back-end nhận yêu cầu, chạy truy vấn tham số, và trả về các hàng dưới dạng dữ liệu, thường là JSON.
    • Tham số hóa nghĩa là các giá trị di chuyển riêng biệt với văn bản truy vấn. Đó chính là điều tạo ra Bạn nghe một thay đổi về cuộc họp câu lạc bộ, giải thích một kế hoạch cho bạn bè cùng lớp, hoặc giúp một nhóm chọn phòng. Trong mỗi tình huống, tiếng Anh hữu ích sẽ kết nối thông điệp với hành động. Người nghe cần những chi tiết phù hợp. Người nói cần một điểm rõ ràng và cơ hội để kiểm tra sự hiểu biết.
    • Xử lý trường hợp trống. Một truy vấn không trả về hàng nào là bình thường, và một trang web bị lỗi do đó là Yêu cầu nhiệm vụ hiện tại của giáo viên giải thích bài đánh giá bạn cần hoàn thành. Nó có thể bao gồm bài kiểm tra nghe 听力测试, bài thuyết trình ngắn chính thức 正式演讲, thảo luận 讨论, hoặc bài tập trên lớp 平时作业. Hãy đọc yêu cầu đó để biết thời gian, tài liệu được phép, tiêu chí và quy tắc nộp bài. Hướng dẫn này không thay thế yêu cầu đó hay hứa hẹn điểm số cho một thói quen nói cụ thể.
    Vocabulary · ⁨Từ vựng⁩ Train · ⁨Luyện tập⁩
    English Tiếng Việt
    JSON/ˈdʒeɪsn/ JSON
    Data science/ˈdeɪtə ˈsaɪəns/ Khoa học dữ liệu
    Descriptive statistics/dɪˈskrɪptɪv stəˈtɪstɪks/ Thống kê mô tả
    visualisation/ˌvɪʒuːəlaɪˈzeɪʃn/ trực quan hóa
    Correlation is not causation/ˌkɒrɪˈleɪʃn ɪz nɒt kɔːˈseɪʃn/ Tương quan không phải là nguyên nhân
    3.6

    Data science · ⁨Khoa học dữ liệu⁩

    Syllabus · ⁨Chương trình⁩
    English

    Unit 6 of 6 in GAC017 Computing III: Data Science and Web Apps (Level III). The module is taught over about 40 class hours plus 20 hours of independent study, and is assessed at the teaching centre and moderated by ACT — there is no external exam.

    The module outcomes this unit works towards:

    Learning Objective GAC017.5: Applying Data Science to other academic areas.

    Tiếng Việt

    Đơn vị 6 của 6 trong GAC017 Tin học III: Khoa học dữ liệu và ứng dụng web (Cấp độ III). Mô-đun được giảng dạy trong khoảng 40 giờ học trên lớp cộng thêm 20 giờ tự học, và được đánh giá tại trung tâm giảng dạy với sự giám sát bởi ACT — không có kỳ thi ngoài.

    Các kết quả học tập mà đơn vị này hướng tới:

    Mục tiêu học tập GAC017.5: Áp dụng Khoa học dữ liệu vào các lĩnh vực học thuật khác.

    Source: Cambridge International syllabus · ⁨Nguồn: Chương trình Cambridge International⁩

    English
    • Data science 数据科学 turns data into a decision, and most of the work is before the analysis: cleaning, joining, and checking what the data can support.
    • Descriptive statistics 描述性统计 summarise; a visualisation 可视化 shows shape; neither proves a cause.
    • Correlation is not causation 相关不等于因果 — the sentence every data project needs and most omit.
    • State the limitations of your dataset. A project that names what its data cannot show scores above one that quietly overclaims.
    Tiếng Việt
    • Khoa học dữ liệu biến dữ liệu thành quyết định, và phần lớn công việc diễn ra trước khi phân tích: làm sạch, gộp, và kiểm tra xem dữ liệu có thể hỗ trợ những gì.
    • Thống kê mô tả tóm tắt; biểu đồ trực quan hiển thị hình thái; cả hai đều không chứng minh được nguyên nhân.
    • Sự tương quan không phải là nguyên nhân — câu nói mà dự án dữ liệu nào cũng cần nhưng hầu hết đều bỏ qua.
    • Nêu rõ hạn chế của tập dữ liệu. Một dự án nêu rõ những gì dữ liệu không thể cho thấy sẽ được điểm cao hơn một dự án âm thầm phóng đại quá mức.
    Additional notes PDF

    Follow one request from browser to database

    A teacher asks which clubs have places left. A spreadsheet can answer once. A web app lets a reader ask again with a different filter.

    Our example has four students, four classes and five enrolments. All records are invented. It is a learning project, not a school booking service.

    The three parts have different jobs:

    Part Job in the example Runs where?
    Browser page Collect a minimum and show a table The reader's browser
    JavaScript server Check the request and run the query The local server
    SQLite database Store related records and calculate course totals Inside this server process

    An HTTP request 请求信息 asks for a resource. An HTTP response 响应信息 contains a status and content. The browser sends GET /api/courses?min=2. The server checks the number, then asks SQLite for course totals. It returns a JSON object 数据对象. The browser reads that object and creates table cells. The database does not send HTML to the browser. The browser does not run our server's SQL.

    Start the supplied three-file example with node server.mjs. Open the address it prints. Use Node.js 22.13 or newer with the built-in SQLite module available. Keep server.mjs, index.html and courses.sql together in your own working copy. No account or package download is needed. Stop your own server with Ctrl-C.

    Get the complete example files from the site's static teaching folder:

    • /static/teaching/gac_computing/database-app/server.mjs
    • /static/teaching/gac_computing/database-app/courses.sql
    • /static/teaching/gac_computing/database-app/index.html.txt
    • /static/teaching/gac_computing/database-app/README.txt

    Save the first two with their shown names. Save index.html.txt as index.html. The last file has the full run and adaptation instructions. Use these paths after the site's address. The page file is supplied as text for downloading. It must run through your local example server to reach the matching API.

    This example uses an in-memory database 内存数据库. Restarting creates the original records again. A file database could keep changes after restart. That needs a different storage choice.

    Design relationships before writing queries

    Each student has one row in students. Each class has one row in courses. An enrolment links a student to a class. A student may join several classes. A class may contain several students. This is a many-to-many relationship 多对多关系. The third table stores one student–class pair per row.

    Student 1 joins courses 10 and 20. Course 10 contains students 1, 2 and 3. The same student name need not be repeated in each enrolment row. To change Mei's name, change one student record. This avoids conflicting copies.

    The following two blocks form one complete script. Run them in order in a new empty practice database. Do not run it against an existing project database.

    PRAGMA foreign_keys = ON;
    CREATE TABLE students (
      id INTEGER PRIMARY KEY,
      name TEXT NOT NULL
    );
    CREATE TABLE courses (
      id INTEGER PRIMARY KEY,
      title TEXT NOT NULL,
      capacity INTEGER NOT NULL CHECK (capacity >= 0)
    );
    CREATE TABLE enrolments (
      student_id INTEGER NOT NULL REFERENCES students(id),
      course_id INTEGER NOT NULL REFERENCES courses(id),
      PRIMARY KEY (student_id, course_id)
    );
    

    The tables now exist. Add the fictional records, then query totals for each class.

    INSERT INTO students VALUES
      (1, 'Mei'), (2, 'Kai'), (3, 'Lin'), (4, 'Jia');
    INSERT INTO courses VALUES
      (10, 'Coding', 3), (20, 'Coding', 2),
      (30, 'Art', 2), (40, 'Music', 3);
    INSERT INTO enrolments VALUES
      (1, 10), (2, 10), (3, 10), (1, 20), (4, 30);
    SELECT c.id, c.title, c.capacity,
           COUNT(e.student_id) AS enrolled
    FROM courses c
    LEFT JOIN enrolments e ON c.id = e.course_id
    GROUP BY c.id, c.title, c.capacity
    ORDER BY enrolled DESC, c.id;
    

    A constraint 约束 rejects data that breaks a rule. NOT NULL requires a value. CHECK (capacity >= 0) rejects negative capacity. The paired primary key rejects a repeated enrolment, such as (1,10) twice. Either ID may appear in many pairs. The pair itself must be unique.

    Foreign keys reject missing students or classes when foreign-key checking is enabled. The script enables that checking explicitly. A foreign key does not create the missing row. These rules do not prevent every error. For example, capacity 3 does not itself limit enrolments to 3. A real booking operation would need a capacity check and safe handling of simultaneous bookings.

    Count classes without losing empty ones

    Courses 10 and 20 both have the title Coding. They are different classes. Group by the course ID as well as its title and capacity. Grouping only by title would merge their enrolments and answer the wrong question.

    LEFT JOIN keeps every course, including Music with no enrolments. The unmatched course has an empty enrolment side. COUNT(e.student_id) counts matched student IDs and gives zero for Music. COUNT(*) counts the joined row, including that unmatched row, and would give Music one.

    ID Course Capacity Enrolled Places left
    10 Coding 3 3 0
    20 Coding 2 1 1
    30 Art 2 1 1
    40 Music 3 0 3

    The browser calculates places left as capacity minus enrolled. There are five enrolments but only four students. Mei appears in two enrolment rows. Do not label five as the number of unique students.

    To keep classes with at least two enrolments, add this line after GROUP BY:

    HAVING COUNT(e.student_id) >= 2
    

    This is a query fragment, added to the complete query. It returns course 10 only. HAVING checks each group total. WHERE checks individual rows before totals are calculated. For example, WHERE c.id = 20 selects one class before grouping; it does not test its total.

    Validate and bind the backend input

    The route /api/courses accepts a minimum from 0 to 99. The browser number control helps users enter it. Direct requests can skip that control. The server therefore checks the input again.

    It rejects negative numbers, decimals, 100, repeated minimum parameters and text. Missing min means zero. A successful query with no courses is still a valid request.

    Request Status Meaning
    GET /api/courses?min=2 200 One course found
    GET /api/courses?min=4 200 Valid query; empty list
    GET /api/courses?min=-1 400 Invalid input
    GET /missing 404 Route does not exist
    POST /api/courses 405 This read-only route accepts GET

    A prepared statement 预编译语句 keeps the SQL structure separate from a value. The server prepares its total-by-course query with >= ?, then calls courses.all(minimum). The bound number fills the value position. It is not joined into the SQL text.

    Binding values protects this query from injection through that value. It does not prove that every route or operation is secure. SQL keywords and column names cannot be supplied as ordinary bound values. Keep the query structure fixed or choose it from permitted server-owned choices.

    The server sends public course totals only. Student names stay out of this response. Real records would also need access rules and permission to use them. An invented example needs no real student information.

    Handle loading, empty results and failures

    The browser uses fetch to request the data. It must check the response status. A completed network request may still return 400 or 500. The browser's response.ok distinguishes successful HTTP responses from those errors.

    The page clears old rows before loading. Otherwise a failed request could leave old results looking current. It displays a loading message and disables the load button during the request. It then shows the result, an empty message, or a failure message. The button becomes available again so the reader can retry.

    Each displayed value goes into textContent, not into HTML built from a data string. A course title becomes text inside a cell. It is not treated as page markup.

    The sample uses a request number to ignore an older response after a newer request starts. This protects the page from a late response replacing the newest result. It does not change database records or make bookings safe.

    Try minimum 0, 2 and 4 in that order. Expect four courses, one course and no courses. Then stop the server and try loading again. The page should explain the failure and allow a retry. Restart the server and load again. The original fictional dataset should return.

    Turn results into a supported academic decision

    Begin with a question: which classes currently have spare places? State your unit of analysis 分析单位: one class, identified by course ID. Check missing values, repeated enrolment pairs, valid IDs and non-negative capacities before analysis. Name the data date in a real report, because enrolments can change.

    The current answer is Coding 20, Art 30 and Music 40. Music has three spare places; the other two have one each. A teacher could first check whether those places are still available before announcing them.

    A bar chart could compare enrolled and capacity for each course ID. Keep the two Coding classes separate and label them with their IDs. Show zero enrolments for Music. Do not hide it because its bar is short.

    Explain the limitation 局限 of this decision. These records describe four invented classes at one time. They do not measure teaching quality, future demand or why students chose a class. More enrolments do not prove that a class caused better learning. Avoid using a descriptive count as evidence for a causal claim.

    A short report can use five parts: question, data and checks, method, result, limits and next action. Include the query or name the calculation so another reader can reproduce the result. Keep student and enrolment counts separate.

    Practise with changes and explain your answers

    1. Sketch the three tables. Which keys link them, and why is the third table needed?
    2. Predict minimum 1 and minimum 3 before running either request.
    3. Replace COUNT(e.student_id) with COUNT(*). Which original result becomes wrong, and why?
    4. Group only by title. What happens to the two Coding classes?
    5. Add course 50, Drama, with capacity 2 and no enrolments. Predict its total and free places.
    6. Add enrolment (2,20). What should minimum 2 now return?
    7. Try duplicate pair (1,10) and missing student pair (99,10). Explain each rejection.
    8. Why must the server check a minimum that the browser already checks?
    9. Explain why an empty array gets 200, while a negative minimum gets 400.
    10. Write a two-sentence recommendation and one limitation using the original data.

    Explained answers

    1. Student ID and course ID link the paired enrolment table to their parent tables. The third table represents many students in many classes without repeating names or course facts.
    2. Minimum 1 returns 10, 20 and 30. Minimum 3 returns 10 only. Both filters include equality.
    3. Music becomes one instead of zero. COUNT(*) counts the preserved unmatched course row.
    4. Coding totals combine to four. This describes a title group, not either individual class.
    5. Drama has zero enrolments and two places left. A left join keeps it at minimum 0.
    6. Coding 20 now has two enrolments. Minimum 2 returns IDs 10 and 20, with totals three and two.
    7. The paired primary key rejects the duplicate. The enabled foreign key rejects student 99, who does not exist.
    8. A caller can send a request without using the page. Browser checks cannot protect the server by themselves.
    9. No matching rows is a successful query. A negative minimum breaks the API's input rule.
    10. Check remaining places in Coding 20, Art 30 and Music 40 before offering them. Music has most spare places in this example. Invented totals cannot predict actual student demand.

Log in or create account · ⁨Đăng nhập hoặc tạo tài khoản⁩

IGCSE, A-Level & AP