S SmartDocs

電腦科學基礎

計算機組織、作業系統、Linux 基礎與核心電腦科學理論。

computer science 更新於 2026-02-03

紅黑樹 (Red-Black Tree)

問題: 普通的二元搜尋樹 (BST) 可能退化成鏈表,搜尋時間變成 O(n)。

閱讀文章 →
computer science 更新於 2026-02-03

最大公因數 (GCD - Greatest Common Divisor)

最大公因數 (GCD) 是指兩個或多個整數共有約數中最大的一個。

閱讀文章 →
computer science 更新於 2026-02-03

C 語言遞迴:階乘 (Factorial)

遞迴 (Recursion) 是指函數直接或間接地呼叫自己。

閱讀文章 →
computer science 更新於 2026-02-03

C 語言程式碼追蹤與除錯

程式碼追蹤 (Code Tracing) 是逐步執行程式碼,記錄每個步驟的變數值和執行流程。

閱讀文章 →
computer science 更新於 2026-02-03

DNS 名稱解析 (Domain Name System)

問題: 網際網路上的電腦使用 IP 位址(如 140.131.1.1)來識別,但人類難以記憶數字。

閱讀文章 →
computer science 更新於 2026-02-03

無線網路技術

無線網路 (Wireless Network) 是指不使用實體線路連接的網路,透過無線電波傳輸資料。

閱讀文章 →
computer science 更新於 2026-02-03

網路備援方案

網路是現代資訊系統的基礎設施,如果網路出現故障: 服務中斷: 導致業務無法運作 資料損失: 可能造成資料傳輸中斷或遺失 經濟損失: 服務中斷可能造成重大經濟損失 信譽受損: 影響組織的信譽

閱讀文章 →
computer science 更新於 2026-02-03

網路設備功能判斷

集線器是工作在實體層 (Layer 1) 的設備,用於連接多個網路裝置。

閱讀文章 →
computer science 更新於 2026-02-03

星狀網路 (Star LAN) 容錯

星狀網路 (Star Network) 是一種網路拓撲結構,其中所有節點(終端設備)都連接到一個中央節點(通常是集線器或交換器)。

閱讀文章 →
computer science 更新於 2026-02-03

網路安全技術整合

在網路傳輸中,資料可能被竊聽、篡改或偽造,因此需要加密來保護資料的: 機密性 (Confidentiality): 只有授權的人可以讀取 完整性 (Integrity): 確保資料未被篡改 身份認證 (Authentication): 確認資料來源的身份

閱讀文章 →
computer science 更新於 2026-02-03

智慧財產權與資訊安全

智慧財產權 (IPR) 是指對人類智力創造的成果所享有的權利,包括: 專利權 (Patent) 著作權 (Copyright) 商標權 (Trademark) 營業秘密 (Trade Secret)

閱讀文章 →
computer science 更新於 2026-02-03

電子交易安全與災難復原

電子交易 (E-commerce) 是指透過電子方式進行的商業交易,包括: 線上購物 電子支付 線上銀行 數位服務

閱讀文章 →
Computer Organization EN 更新於 2026-03-12

ICO AY2526S2 — Assignment #2 Answers

Introduction to Computer Organization (ICO, CCIT 4026) HKU SPACE Community College | AY2526 S2

閱讀文章 →
Computer Organization EN 更新於 2026-03-15

CCIT4064 Microcontrollers (MCU) — Assignment 2 Answers & Explanations

Course: CCIT4064 Microcontrollers (MCU) | Assignment: 2 > Instruction set: Intel MCS-51 (Assembly) / Arduino Sketch (C/C++) unless otherwise stated

閱讀文章 →
Computer Organization EN 更新於 2026-04-24

Assignment 04 — Detailed Solutions

Strings are arrays of characters (bytes) terminated by the null character (byte value 0). Given that $a0 points to a character string, the procedure strlen() returns the length of the string in register $v0 by reading th

閱讀文章 →
Computer Organization EN 更新於 2026-03-01

From C Code to MIPS Assembly to Machine Code

This document explains the full pipeline: writing C code → compiling to MIPS assembly → assembling to machine code, with binary and hexadecimal representation. We use a C program that prompts the user to enter a temperat

閱讀文章 →
Computer Organization EN 更新於 2026-02-19

CHAPTER 1: INTRODUCTION

Key Concepts: Computer Architecture vs. Computer Organization Architecture: What the system does (programmer's view) Organization: How the system does it (implementer's view)

閱讀文章 →
Computer Organization EN 更新於 2026-02-19

CHAPTER 2: INSTRUCTION SET DESIGN (PART 1)

MIPS (Microprocessor without Interlocked Pipeline Stages) is ideal for learning computer organization

閱讀文章 →
Computer Organization EN 更新於 2026-02-19

CHAPTER 3: INSTRUCTION SET DESIGN (PART 2)

Usage: Function calls Saves PC+4 (next instruction) in $ra Jumps to target address

閱讀文章 →
Computer Organization EN 更新於 2026-02-19

CHAPTER 4: INSTRUCTION SET DESIGN (PART 3)

The MIPS calling convention defines how functions communicate

閱讀文章 →
Computer Organization EN 更新於 2026-02-19

CHAPTER 5: INSTRUCTION SET DESIGN (PART 4)

System calls (syscalls) provide an interface to operating system services: Input/Output operations Memory allocation Program termination File operations

閱讀文章 →
Computer Organization EN 更新於 2026-02-19

Chapter Files Summary

The Comprehensive_Teaching_Material.md has been successfully separated into 5 individual chapter files matching the PDF structure.

閱讀文章 →
Computer Organization EN 更新於 2026-02-19

COMPREHENSIVE TEACHING MATERIAL

Key Concepts: Computer Architecture vs. Computer Organization Architecture: What the system does (programmer's view) Organization: How the system does it (implementer's view)

閱讀文章 →
Computer Organization EN 更新於 2026-02-19

COURSE SYLLABUS

Course Code: CCIT4026 Course Title: Introduction to Computer Organization Credit Hours: 3 credits Prerequisites: Basic programming knowledge (C, Python, or Java) Class Format: 2 hours lecture + 2 hours lab per week

閱讀文章 →