HKDSE · thinka 原創模擬試題

2021 HKDSE 資訊及通訊科技 模擬試題連答案詳解

Thinka 2021 HKDSE-Style Mock — Information and Communication Technology

90 120 分鐘2021
An original Thinka practice paper modelled on the structure and difficulty of the 2021 HKDSE Information and Communication Technology paper. Not affiliated with or reproduced from HKDSE.

甲部

回答全部 40 題多項選擇題。所有題目分數相同。
40 題目 · 40
題目 1 · MCQ
1
Which of the following binary numbers represents the value of \(-19_{10}\) in 8-bit two's complement representation?
  1. A.11101100
  2. B.11101101
  3. C.10010011
  4. D.11110011
查看答案詳解

解題

To find the 8-bit two's complement representation of \(-19_{10}\):
1. Write \(+19_{10}\) in 8-bit binary: \(00010011_2\).
2. Invert all the bits (one's complement): \(11101100_2\).
3. Add 1 to the result: \(11101100_2 + 1 = 11101101_2\).
Therefore, the correct answer is B.

評分準則

B (1 mark)
- Award 1 mark for the correct option B.
題目 2 · MCQ
1
Which of the following CPU registers is specifically designed to store the memory address of the next instruction to be fetched and executed?
  1. A.Accumulator (ACC)
  2. B.Memory Data Register (MDR)
  3. C.Program Counter (PC)
  4. D.Instruction Register (IR)
查看答案詳解

解題

The Program Counter (PC) keeps track of the memory address of the next machine instruction to be fetched. The Accumulator (ACC) stores arithmetic/logic intermediate results, the Memory Data Register (MDR) holds data being transferred to/from memory, and the Instruction Register (IR) holds the instruction currently being executed.

評分準則

C (1 mark)
- Award 1 mark for identifying the Program Counter (PC).
題目 3 · MCQ
1
Consider the following pseudocode algorithm segment:

P ← 1
for K from 1 to 4 do
P ← P * 2 + K
output P

What is the output of the algorithm?
  1. A.26
  2. B.38
  3. C.42
  4. D.46
查看答案詳解

解題

Step-by-step trace of the loop:
Initial: P = 1
- K = 1: P = 1 * 2 + 1 = 3
- K = 2: P = 3 * 2 + 2 = 8
- K = 3: P = 8 * 2 + 3 = 19
- K = 4: P = 19 * 2 + 4 = 42
After the loop finishes, P = 42 is output.

評分準則

C (1 mark)
- Award 1 mark for the correct traced value 42.
題目 4 · MCQ
1
A school network assigns IPv4 addresses using a subnet mask of 255.255.255.224. What is the maximum number of usable host IP addresses available in each subnet?
  1. A.14
  2. B.30
  3. C.32
  4. D.62
查看答案詳解

解題

The subnet mask 255.255.255.224 has a block size of \(256 - 224 = 32\) addresses per subnet (i.e., \(2^{32-27} = 2^5 = 32\)). For each subnet, 2 addresses are reserved (the network identifier and the broadcast address). Thus, the maximum number of usable host addresses is \(32 - 2 = 30\).

評分準則

B (1 mark)
- Award 1 mark for the correct calculation: 32 - 2 = 30.
題目 5 · MCQ
1
In a spreadsheet application, cell A1 contains the value 8. Cell A2 contains the following formula:

=IF(A1 > 20, "High", IF(A1 >= 10, "Medium", "Low"))

What value will be displayed in cell A2?
  1. A.High
  2. B.Medium
  3. C.Low
  4. D.#VALUE!
查看答案詳解

解題

1. The outer condition `A1 > 20` evaluates to `8 > 20`, which is FALSE.
2. The false branch executes the nested IF: `IF(A1 >= 10, "Medium", "Low")`.
3. The condition `A1 >= 10` evaluates to `8 >= 10`, which is FALSE.
4. Therefore, the formula evaluates to "Low".

評分準則

C (1 mark)
- Award 1 mark for selecting 'Low'.
題目 6 · MCQ
1
Which of the following practices can effectively reduce health hazards associated with prolonged computer use?

(1) Setting the top of the monitor display at or slightly below eye level
(2) Using a wrist rest to maintain a neutral wrist position during typing
(3) Taking short rest breaks periodically
  1. A.(1) and (2) only
  2. B.(1) and (3) only
  3. C.(2) and (3) only
  4. D.(1), (2) and (3)
查看答案詳解

解題

(1) Setting the screen height properly reduces neck and shoulder strain.
(2) Using a wrist rest prevents excessive bending of wrists, mitigating repetitive strain injury (RSI).
(3) Regular short breaks reduce eye fatigue, muscle tension, and circulation issues.
Therefore, all (1), (2), and (3) are effective ergonomic practices.

評分準則

D (1 mark)
- Award 1 mark for identifying that (1), (2), and (3) are all correct.
題目 7 · MCQ
1
Which of the following statements regarding asymmetric encryption is/are correct?

(1) A public key can be shared openly across the Internet.
(2) A message encrypted with a recipient's public key can only be decrypted with the recipient's private key.
(3) The same secret key is used for both encryption and decryption.
  1. A.(1) and (2) only
  2. B.(1) and (3) only
  3. C.(2) and (3) only
  4. D.(1), (2) and (3)
查看答案詳解

解題

(1) is correct: The public key is intended for public distribution.
(2) is correct: In asymmetric encryption, data encrypted by the public key requires the paired private key for decryption.
(3) is incorrect: Symmetric encryption uses the same key for encryption and decryption, whereas asymmetric encryption uses a key pair.
Therefore, (1) and (2) only are correct.

評分準則

A (1 mark)
- Award 1 mark for selecting (1) and (2) only.
題目 8 · MCQ
1
What is the primary benefit of performing disk defragmentation on a traditional magnetic hard disk drive?
  1. A.It permanently expands the physical storage capacity of the disk.
  2. B.It rearranges scattered file segments contiguously to improve read and write speeds.
  3. C.It automatically restores corrupt system files from backup archives.
  4. D.It encrypts stored files to prevent unauthorized network access.
查看答案詳解

解題

Disk defragmentation rearranges fragmented files so that their data blocks occupy contiguous sectors on the hard disk platter. This minimizes read/write head movement, thereby improving file access speed and overall disk I/O performance.

評分準則

B (1 mark)
- Award 1 mark for identifying the reduction of file fragmentation to improve read/write performance.
題目 9 · MCQ
1
Which of the following additions of numbers in 8-bit two's complement representation will result in an overflow error?
  1. A.0100 1100 + 0011 0100
  2. B.0101 0000 + 1010 1000
  3. C.1110 0000 + 1111 0000
  4. D.0010 1100 + 0100 0011
查看答案詳解

解題

In an 8-bit two's complement system, the range of representable integers is \(-128\) to \(+127\).

- Option A: \(0100\ 1100_2 = +76\) and \(0011\ 0100_2 = +52\). Their sum is \(76 + 52 = +128\). Adding the bits: \(01001100 + 00110100 = 10000000_2\). Since two positive numbers yield a negative sign bit (1), an arithmetic overflow has occurred (\(+128\) exceeds the maximum positive value \(+127\)).
- Option B: Addition of a positive number and a negative number can never produce an overflow.
- Option C: \(1110\ 0000_2 (-32) + 1111\ 0000_2 (-16) = 1101\ 0000_2 (-48)\), which is within \([-128, +127]\).
- Option D: \(0010\ 1100_2 (+44) + 0100\ 0011_2 (+67) = 0110\ 1111_2 (+111)\), which is within \([-128, +127]\).

評分準則

Award 1 mark for option A.
題目 10 · MCQ
1
During the instruction cycle of a CPU, which of the following registers holds the memory address of the next instruction to be fetched?
  1. A.Instruction Register (IR)
  2. B.Memory Buffer Register (MBR)
  3. C.Program Counter (PC)
  4. D.Accumulator (ACC)
查看答案詳解

解題

- The Program Counter (PC) stores the address of the next instruction to be fetched from memory.
- The Instruction Register (IR) holds the current instruction being decoded and executed.
- The Memory Buffer Register (MBR) / Memory Data Register (MDR) holds data/instructions read from or written to memory.
- The Accumulator (ACC) holds intermediate arithmetic and logic results.

評分準則

Award 1 mark for option C.
題目 11 · MCQ
1
What is the output of the following algorithm?

```
val <- 1
s <- 0
for k from 1 to 4 do
val <- val * 2
s <- s + val
output s
```
  1. A.15
  2. B.30
  3. C.31
  4. D.62
查看答案詳解

解題

Tracing the loop iterations:
- Initially: `val = 1`, `s = 0`
- Iteration \(k = 1\): `val = 1 * 2 = 2`, `s = 0 + 2 = 2`
- Iteration \(k = 2\): `val = 2 * 2 = 4`, `s = 2 + 4 = 6`
- Iteration \(k = 3\): `val = 4 * 2 = 8`, `s = 6 + 8 = 14`
- Iteration \(k = 4\): `val = 8 * 2 = 16`, `s = 14 + 16 = 30`

Therefore, the output is 30.

評分準則

Award 1 mark for option B.
題目 12 · MCQ
1
An online registration form requires users to enter a Hong Kong Identity Card (HKID) number. Which of the following are automated data validation checks that the system can perform directly on the entered data?

(1) Format check
(2) Check digit calculation
(3) Double entry verification
  1. A.(1) and (2) only
  2. B.(1) and (3) only
  3. C.(2) and (3) only
  4. D.(1), (2) and (3)
查看答案詳解

解題

- (1) Format check ensures the input matches the expected pattern (e.g. 1-2 letters followed by 6 digits and a check character), which is a validation check.
- (2) Check digit verification uses a mathematical algorithm to ensure the digits entered are consistent and correctly typed, which is a validation check.
- (3) Double entry is a method of data verification (to detect transcription/typing errors by human entry), not an automatic data validation rule applied to a single input field.

評分準則

Award 1 mark for option A.
題目 13 · MCQ
1
A company network is assigned the subnet address `192.168.50.0/26`. What is the maximum number of usable host IP addresses available in this subnet?
  1. A.30
  2. B.62
  3. C.64
  4. D.126
查看答案詳解

解題

A `/26` subnet leaves \(32 - 26 = 6\) bits for host addressing.
Total IP addresses in the subnet \(= 2^6 = 64\).
Subtracting the 2 reserved addresses (network address and broadcast address):
\(\text{Usable host addresses} = 64 - 2 = 62\).

評分準則

Award 1 mark for option B.
題目 14 · MCQ
1
Which of the following measures can help reduce the risk of Repetitive Strain Injury (RSI) for office workers using computer workstations?

(1) Using a wrist rest support when typing and using the mouse
(2) Taking short, regular breaks to stretch and rest muscles
(3) Increasing the refresh rate of the computer monitor
  1. A.(1) and (2) only
  2. B.(1) and (3) only
  3. C.(2) and (3) only
  4. D.(1), (2) and (3)
查看答案詳解

解題

- (1) and (2) reduce physical strain and fatigue on muscles, joints, and tendons in the wrist and arms, mitigating RSI.
- (3) Increasing the monitor refresh rate reduces visual flicker and eye strain (Computer Vision Syndrome), but does not reduce musculoskeletal strain (RSI).

評分準則

Award 1 mark for option A.
題目 15 · MCQ
1
Which of the following tasks are typically executed by client-side scripts rather than server-side scripts on a web page?

(1) Checking if required form fields have been filled before submission
(2) Connecting directly to a backend database to update user account records
(3) Displaying animated image carousels in the user's browser
  1. A.(1) and (2) only
  2. B.(1) and (3) only
  3. C.(2) and (3) only
  4. D.(1), (2) and (3)
查看答案詳解

解題

- (1) Client-side scripts (e.g. JavaScript) provide immediate input validation in the browser before data transmission.
- (2) Backend database operations must be handled securely on the server side to protect credentials and data integrity.
- (3) Interactive animations and carousels run directly on the client's browser using client-side scripts.

評分準則

Award 1 mark for option B.
題目 16 · MCQ
1
Given that \(A = \text{TRUE}\), \(B = \text{FALSE}\), and \(C = \text{TRUE}\), which of the following Boolean expressions evaluates to TRUE?
  1. A.(A AND B) OR (NOT C)
  2. B.(NOT A OR B) AND C
  3. C.NOT (A OR B) OR (B AND C)
  4. D.(A AND NOT B) AND (B OR C)
查看答案詳解

解題

- Option A: \((A \text{ AND } B) \text{ OR } (\text{NOT } C) = (\text{TRUE} \text{ AND } \text{FALSE}) \text{ OR } \text{FALSE} = \text{FALSE} \text{ OR } \text{FALSE} = \text{FALSE}\).
- Option B: \((\text{NOT } A \text{ OR } B) \text{ AND } C = (\text{FALSE} \text{ OR } \text{FALSE}) \text{ AND } \text{TRUE} = \text{FALSE} \text{ AND } \text{TRUE} = \text{FALSE}\).
- Option C: \(\text{NOT } (A \text{ OR } B) \text{ OR } (B \text{ AND } C) = \text{NOT }(\text{TRUE}) \text{ OR } (\text{FALSE} \text{ AND } \text{TRUE}) = \text{FALSE} \text{ OR } \text{FALSE} = \text{FALSE}\).
- Option D: \((A \text{ AND } \text{NOT } B) \text{ AND } (B \text{ OR } C) = (\text{TRUE} \text{ AND } \text{TRUE}) \text{ AND } (\text{FALSE} \text{ OR } \text{TRUE}) = \text{TRUE} \text{ AND } \text{TRUE} = \text{TRUE}\).

評分準則

Award 1 mark for option D.
題目 17 · mcq
1
Which of the following 8-bit two's complement binary additions will result in an arithmetic overflow?
  1. A.\(0101\ 1100_2 + 0011\ 1000_2\)
  2. B.\(0011\ 0000_2 + 0010\ 1010_2\)
  3. C.\(1100\ 1000_2 + 0010\ 0000_2\)
  4. D.\(1111\ 0000_2 + 1110\ 0000_2\)
查看答案詳解

解題

In 8-bit two's complement representation, the valid range of signed integers is \(-128\) to \(+127\).

- In Option A: \(0101\ 1100_2 (+92) + 0011\ 1000_2 (+56) = 1001\ 0100_2\). Adding two positive numbers yields a result with a leading sign bit of 1 (a negative number, \(-108\)), which indicates an overflow because \(92 + 56 = 148 > 127\).
- In Option B: \(0011\ 0000_2 (+48) + 0010\ 1010_2 (+42) = 0101\ 1010_2 (+90)\), which is within range \([-128, 127]\).
- In Option C: \(1100\ 1000_2 (-56) + 0010\ 0000_2 (+32) = 1110\ 1000_2 (-24)\), which is within range \([-128, 127]\).
- In Option D: \(1111\ 0000_2 (-16) + 1110\ 0000_2 (-32) = 1101\ 0000_2 (-48)\), which is within range \([-128, 127]\).

Therefore, only A causes an arithmetic overflow.

評分準則

A (1 mark)
Award 1 mark for the correct option A. Deduct 0 marks for incorrect choices.
題目 18 · mcq
1
In a Central Processing Unit (CPU), which register holds the memory address of the next instruction to be fetched and executed?
  1. A.Instruction Register (IR)
  2. B.Program Counter (PC)
  3. C.Memory Data Register (MDR)
  4. D.Accumulator (ACC)
查看答案詳解

解題

- The Program Counter (PC) stores the memory address of the next instruction to be fetched.
- The Instruction Register (IR) stores the instruction currently being decoded or executed.
- The Memory Data Register (MDR) holds the data fetched from or waiting to be written to memory.
- The Accumulator (ACC) temporarily holds the results of arithmetic and logical operations performed by the ALU.

評分準則

B (1 mark)
Award 1 mark for option B.
題目 19 · mcq
1
What is the final output of the following algorithm?

```text
val ← 27
ans ← 0
While val > 0 do
If (val MOD 2 = 1) then
ans ← ans + 1
val ← val DIV 2
Output ans
```
  1. A.2
  2. B.3
  3. C.4
  4. D.5
查看答案詳解

解題

The algorithm counts the number of set bits (1s) in the binary representation of the integer 27.

Trace of loop:
1. `val = 27`: `27 MOD 2 = 1` \(\rightarrow\) `ans = 1`, `val = 27 DIV 2 = 13`
2. `val = 13`: `13 MOD 2 = 1` \(\rightarrow\) `ans = 2`, `val = 13 DIV 2 = 6`
3. `val = 6`: `6 MOD 2 = 0` \(\rightarrow\) `ans = 2`, `val = 6 DIV 2 = 3`
4. `val = 3`: `3 MOD 2 = 1` \(\rightarrow\) `ans = 3`, `val = 3 DIV 2 = 1`
5. `val = 1`: `1 MOD 2 = 1` \(\rightarrow\) `ans = 4`, `val = 1 DIV 2 = 0`

When `val = 0`, the loop terminates and `ans` (4) is output.

評分準則

C (1 mark)
Award 1 mark for option C.
題目 20 · mcq
1
Which of the following statements regarding IPv4 subnetting is/are correct?

(1) Subnetting isolates network traffic and can reduce unnecessary broadcast traffic.
(2) A subnet with the subnet mask `255.255.255.240` can accommodate at most 14 usable host IP addresses.
(3) Hosts located on different subnets can exchange packets directly without passing through a router or layer-3 device.

A. (1) only
B. (1) and (2) only
C. (2) and (3) only
D. (1), (2) and (3)
  1. A.(1) only
  2. B.(1) and (2) only
  3. C.(2) and (3) only
  4. D.(1), (2) and (3)
查看答案詳解

解題

- (1) is correct: Splitting a network into subnets divides the broadcast domain, confining broadcast traffic within individual subnets.
- (2) is correct: The subnet mask `255.255.255.240` corresponds to a `/28` prefix, leaving \(32 - 28 = 4\) bits for host IDs. The total number of usable host addresses is \(2^4 - 2 = 16 - 2 = 14\).
- (3) is incorrect: Hosts residing in distinct subnets belong to different logical networks and must route traffic through a gateway/router to communicate.

評分準則

B (1 mark)
Award 1 mark for option B.
題目 21 · mcq
1
Cell `C2` in a spreadsheet contains the formula `=A$1 + $B2`. If cell `C2` is copied and pasted into cell `E5`, what will the formula in `E5` become?
  1. A.`=A$1 + $B2`
  2. B.`=C$4 + $B5`
  3. C.`=A$1 + $B5`
  4. D.`=C$1 + $B5`
查看答案詳解

解題

Analysing cell references when copied from `C2` to `E5` (shifted by +2 columns and +3 rows):
- `A$1`: The column `A` is relative, so it shifts by +2 columns to `C`. The row `1` is absolute (`$1`), so it remains `1`. It becomes `C$1`.
- `$B2`: The column `B` is absolute (`$B`), so it stays `B`. The row `2` is relative, so it shifts by +3 rows to `5`. It becomes `$B5`.

Therefore, the formula in `E5` is `=C$1 + $B5`.

評分準則

D (1 mark)
Award 1 mark for option D.
題目 22 · mcq
1
A sound engineer records a 2-minute uncompressed stereo audio track with a sampling rate of \(48\text{ kHz}\) and a bit depth of 16 bits. Which of the following expressions calculates the storage size of the recorded audio file in megabytes (MB), where \(1\text{ MB} = 1024\times 1024\text{ bytes}\)?
  1. A.\(\dfrac{48000 \times 16 \times 2 \times 120}{8 \times 1024 \times 1024}\)
  2. B.\(\dfrac{48000 \times 16 \times 120}{8 \times 1024 \times 1024}\)
  3. C.\(\dfrac{48000 \times 16 \times 2 \times 2}{1024 \times 1024}\)
  4. D.\(\dfrac{48000 \times 16 \times 2 \times 120}{1024 \times 1024}\)
查看答案詳解

解題

File size formula for uncompressed audio:
\[\text{Size in bits} = \text{Sampling Rate} \times \text{Sample Size (bits)} \times \text{Number of Channels} \times \text{Duration (seconds)}\]
- Sampling rate = \(48000\text{ Hz}\)
- Sample size = \(16\text{ bits} = 2\text{ bytes}\)
- Channels = 2 (stereo)
- Duration = \(2\times 60 = 120\text{ seconds}\)

Total bytes \(= 48000 \times 2 \times 2 \times 120\).
To convert bytes to megabytes (MB) using binary prefix: \(\frac{48000 \times 16 \times 2 \times 120}{8 \times 1024 \times 1024}\).

Simplifying gives \(\frac{48000 \times 16 \times 2 \times 120}{8 \times 1024 \times 1024}\).

評分準則

A (1 mark)
Award 1 mark for option A.
題目 23 · mcq
1
Which of the following techniques can help ensure the authenticity and non-repudiation of an email sender?
  1. A.Encrypting the email message with symmetric key encryption
  2. B.Attaching a digital signature signed with the sender's private key
  3. C.Using a CAPTCHA verification code before sending
  4. D.Enabling spam filters on the recipient's mail server
查看答案詳解

解題

- A digital signature is created using the sender's private key and verified with the sender's public key. It provides both authentication (verifying the sender's identity) and non-repudiation (the sender cannot deny having sent the message), as well as message integrity.
- Symmetric encryption only protects confidentiality.
- CAPTCHA prevents automated bot submissions.
- An anti-spam filter blocks unwanted unsolicited bulk emails.

評分準則

B (1 mark)
Award 1 mark for option B.
題目 24 · mcq
1
In relational database design, which of the following statements about foreign keys is/are correct?

(1) A foreign key must reference a primary key or unique candidate key in another table.
(2) A foreign key column can accept `NULL` values unless constrained by `NOT NULL`.
(3) A table can contain more than one foreign key.

A. (1) only
B. (1) and (2) only
C. (2) and (3) only
D. (1), (2) and (3)
  1. A.(1) only
  2. B.(1) and (2) only
  3. C.(2) and (3) only
  4. D.(1), (2) and (3)
查看答案詳解

解題

- (1) is correct: Referential integrity requires a foreign key to match a primary key (or candidate key) value in the referenced table or be NULL.
- (2) is correct: Foreign key fields allow `NULL` values when an association is optional, provided there is no explicit `NOT NULL` constraint.
- (3) is correct: A table can have multiple foreign keys to link to multiple parent tables (e.g., in a junction table representing an M:N relationship).

Hence, statements (1), (2), and (3) are all correct.

評分準則

D (1 mark)
Award 1 mark for option D.
題目 25 · MCQ
1
Which of the following additions of two 8-bit signed binary integers in two's complement representation will result in an arithmetic overflow error?
  1. A.\(0101\ 1000 + 0010\ 1111\)
  2. B.\(0011\ 0100 + 0010\ 0001\)
  3. C.\(1100\ 1000 + 0011\ 0110\)
  4. D.\(1110\ 0000 + 1101\ 0000\)
查看答案詳解

解題

In 8-bit two's complement representation, the range of representable integers is \(-128\) to \(+127\).

- In option A: \(0101\ 1000_2 = +88_{10}\) and \(0010\ 1111_2 = +47_{10}\). Adding them gives \(88 + 47 = 135\), which is outside the range \([-128, +127]\). In binary addition: \(0101\ 1000_2 + 0010\ 1111_2 = 1000\ 0111_2\). Adding two positive numbers yields a negative result (sign bit 1), indicating an overflow.
- In option B: \(0011\ 0100_2 (+52) + 0010\ 0001_2 (+33) = 0101\ 0101_2 (+85)\), no overflow.
- In option C: \(1100\ 1000_2 (-56) + 0011\ 0110_2 (+54) = 1111\ 1110_2 (-2)\), addition of numbers with opposite signs never causes an overflow.
- In option D: \(1110\ 0000_2 (-32) + 1101\ 0000_2 (-48) = 1011\ 0000_2 (-80)\), which falls within \([-128, +127]\), no overflow.

評分準則

A (1 mark): Correctly identifies that adding two positive numbers results in a value greater than 127, producing a sign change (negative bit in MSB).
題目 26 · MCQ
1
Which of the following CPU registers directly stores the memory address of the next machine instruction to be fetched?
  1. A.Memory Data Register (MDR)
  2. B.Program Counter (PC)
  3. C.Instruction Register (IR)
  4. D.Accumulator (ACC)
查看答案詳解

解題

The Program Counter (PC) is a dedicated CPU register that holds the memory address of the next instruction waiting to be fetched from main memory. The Memory Data Register (MDR) holds the data/instruction fetched from or waiting to be written to memory. The Instruction Register (IR) holds the current instruction being decoded and executed. The Accumulator (ACC) temporarily stores intermediate arithmetic and logic results.

評分準則

B (1 mark): Identifies the Program Counter (PC) as the register storing the memory address of the next instruction.
題目 27 · MCQ
1
An organization is assigned the subnet address \(192.168.50.0/26\). What is the maximum number of usable host IP addresses available within this subnet?
  1. A.30
  2. B.62
  3. C.64
  4. D.126
查看答案詳解

解題

A CIDR prefix of \(/26\) leaves \(32 - 26 = 6\) bits for the host ID portion. The total number of IP addresses is \(2^6 = 64\). Since the network ID (all host bits 0) and the broadcast address (all host bits 1) are reserved, the maximum number of assignable host addresses is \(2^6 - 2 = 64 - 2 = 62\).

評分準則

B (1 mark): Correctly calculates \(2^{(32-26)} - 2 = 62\).
題目 28 · MCQ
1
In a spreadsheet, cell `C3` contains the formula `=$A2*B$1`. If cell `C3` is copied and pasted into cell `D5`, what will be the formula in cell `D5`?
  1. A.`=$A2*B$1`
  2. B.`=$A4*C$1`
  3. C.`=$B4*C$3`
  4. D.`=$B2*B$3`
查看答案詳解

解題

Moving from `C3` to `D5` involves a shift of +1 column (from C to D) and +2 rows (from row 3 to row 5):
- `$A2`: Column A has an absolute reference (`$A`), so it remains `$A`. Row 2 has a relative reference, so it shifts by +2 to row 4 (`$A4`).
- `B$1`: Column B has a relative reference, so it shifts by +1 to column C. Row 1 has an absolute reference (`$1`), so it remains `$1` (`C$1`).
Combining these gives `=$A4*C$1`.

評分準則

B (1 mark): Correctly applies rules of absolute and relative cell referencing.
題目 29 · MCQ
1
Consider the following pseudocode:

```text
A ← [4, 7, 2, 9, 5]
sum ← 0
for i from 1 to 4 do
if A[i] < A[i + 1] then
sum ← sum + A[i]
Output sum
```

What is the output of the algorithm?
  1. A.4
  2. B.6
  3. C.13
  4. D.22
查看答案詳解

解題

Let's trace the loop execution:
- Initial state: `A = [4, 7, 2, 9, 5]`, `sum = 0`
- `i = 1`: `A[1] < A[2]` \((4 < 7)\) is TRUE \(\rightarrow\) `sum = 0 + 4 = 4`
- `i = 2`: `A[2] < A[3]` \((7 < 2)\) is FALSE \(\rightarrow\) `sum` remains 4
- `i = 3`: `A[3] < A[4]` \((2 < 9)\) is TRUE \(\rightarrow\) `sum = 4 + 2 = 6`
- `i = 4`: `A[4] < A[5]` \((9 < 5)\) is FALSE \(\rightarrow\) `sum` remains 6
After the loop finishes, `sum = 6` is output.

評分準則

B (1 mark): Correctly traces the conditional summation to obtain 6.
題目 30 · MCQ
1
Which of the following statements regarding asymmetric encryption (public-key cryptography) is/are correct?

(1) A message encrypted with a user's private key can be decrypted using the corresponding public key.
(2) The sender and receiver must exchange a private key over a secure channel prior to transmission.
(3) A digital signature can verify the authenticity and non-repudiation of the sender.

  1. A.(1) only
  2. B.(3) only
  3. C.(1) and (3) only
  4. D.(2) and (3) only
查看答案詳解

解題

(1) is correct: In asymmetric encryption, data encrypted by the private key can only be decrypted by the matching public key (used in digital signatures).
(2) is incorrect: Senders and receivers do not share a private key in asymmetric cryptography; the private key is kept strictly confidential by its owner.
(3) is correct: Digital signatures are generated using the sender's private key and provide authenticity, integrity, and non-repudiation.

評分準則

C (1 mark): (1) and (3) are true properties of asymmetric cryptography.
題目 31 · MCQ
1
Which of the following is/are primary functions of an operating system?

(1) Managing CPU scheduling and allocation of main memory
(2) Providing a user interface for interaction with hardware and software
(3) Translating high-level programming language code into machine instructions

  1. A.(1) only
  2. B.(1) and (2) only
  3. C.(2) and (3) only
  4. D.(1), (2) and (3)
查看答案詳解

解題

(1) and (2) are fundamental functions of an operating system (resource management, process scheduling, memory management, and user interface provision via CLI/GUI). (3) is the function of a language translator (such as a compiler or interpreter), not an operating system.

評分準則

B (1 mark): Selects (1) and (2) only.
題目 32 · MCQ
1
A school database includes a table `STUDENT` with the following attributes:

`STUDENT (StudentID, Class, ClassNo, EngName, ChiName)`

Which of the following combinations of attributes can serve as a composite candidate key for this table?
  1. A.`(Class, EngName)`
  2. B.`(Class, ClassNo)`
  3. C.`(EngName, ChiName)`
  4. D.`(StudentID, Class)`
查看答案詳解

解題

In a school setting, each student in a given class has a distinct class number, so the combination `(Class, ClassNo)` is unique for every record and minimal, making it a composite candidate key. Names are not necessarily unique, and `(StudentID, Class)` is not minimal since `StudentID` alone is already a unique identifier.

評分準則

B (1 mark): Identifies `(Class, ClassNo)` as the composite candidate key.
題目 33 · mcq
1
In an 8-bit two's complement representation, what is the result of evaluating the arithmetic expression \(0101\,1010_2 - 0110\,1101_2\)?
  1. A.1110 1100
  2. B.1110 1101
  3. C.0001 0011
  4. D.1001 0011
查看答案詳解

解題

First, convert both numbers to decimal or perform two's complement addition:
\(0101\,1010_2 = 64 + 16 + 8 + 2 = +90_{10}\)
\(0110\,1101_2 = 64 + 32 + 8 + 4 + 1 = +109_{10}\)
\(90 - 109 = -19_{10}\).
To find \(-19_{10}\) in 8-bit two's complement:
\(+19_{10} = 0001\,0011_2\)
Invert the bits: \(1110\,1100_2\)
Add 1: \(1110\,1101_2\).
Therefore, the result is \(1110\,1101_2\).

評分準則

Award 1 mark for option B. No mark for other options.
題目 34 · mcq
1
During the instruction execution cycle of a central processing unit (CPU), which component is primarily responsible for generating electrical control signals to direct the operation of other units?
  1. A.Arithmetic and Logic Unit (ALU)
  2. B.Program Counter (PC)
  3. C.Control Unit (CU)
  4. D.Memory Data Register (MDR)
查看答案詳解

解題

The Control Unit (CU) decodes instructions fetched from memory and generates appropriate control signals to manage and coordinate all the operations of the CPU components.

評分準則

Award 1 mark for option C. No mark for other options.
題目 35 · mcq
1
An organisation is assigned the network address \(192.168.50.0/26\). What is the maximum number of usable host IP addresses in this subnet?
  1. A.30
  2. B.62
  3. C.64
  4. D.126
查看答案詳解

解題

A prefix length of /26 leaves \(32 - 26 = 6\) bits for the host ID portion. The total number of addresses is \(2^6 = 64\). Excluding the network address and the broadcast address, the number of usable host addresses is \(64 - 2 = 62\).

評分準則

Award 1 mark for option B. No mark for other options.
題目 36 · mcq
1
In a spreadsheet, cell `A1` contains the number `15`, cell `A2` contains `28`, and cell `A3` contains `42`. If the formula `=IF(AVERAGE(A1:A3)>30, SUM(A1:A2), MAX(A2:A3))` is entered into cell `B1`, what is the displayed value?
  1. A.28
  2. B.43
  3. C.85
  4. D.42
查看答案詳解

解題

First calculate `AVERAGE(A1:A3)`: \((15 + 28 + 42) / 3 = 85 / 3 \approx 28.33\).
Next evaluate the logical test: `28.33 > 30` is `FALSE`.
Since the condition is false, the formula returns the false expression: `MAX(A2:A3)`.
`MAX(28, 42)` is `42`.
Therefore, cell `B1` displays 42.

評分準則

Award 1 mark for option D. No mark for other options.
題目 37 · mcq
1
Consider the following pseudocode algorithm:

```
k ← 1
total ← 0
While k <= 5 Do
If k Mod 2 = 1 Then
total ← total + (k * 2)
Else
total ← total - k
End If
k ← k + 1
End While
Output total
```

What is the output of the algorithm?
  1. A.12
  2. B.10
  3. C.16
  4. D.8
查看答案詳解

解題

Trace of the loop iterations:
- k = 1 (Odd): total = 0 + (1 * 2) = 2
- k = 2 (Even): total = 2 - 2 = 0
- k = 3 (Odd): total = 0 + (3 * 2) = 6
- k = 4 (Even): total = 6 - 4 = 2
- k = 5 (Odd): total = 2 + (5 * 2) = 12
- k = 6: loop terminates (6 <= 5 is False).
Output is 12.

評分準則

Award 1 mark for option A. No mark for other options.
題目 38 · mcq
1
Which of the following descriptions about asymmetric encryption is/are correct?

(1) The public key is used to decrypt messages encrypted with the private key.
(2) The sender and recipient share a single identical key for encryption and decryption.
(3) It can be utilised to implement digital signatures for message authentication.
  1. A.(1) only
  2. B.(1) and (2) only
  3. C.(1) and (3) only
  4. D.(1), (2) and (3)
查看答案詳解

解題

(1) is correct: In asymmetric cryptography, a message encrypted by the private key can be decrypted using the corresponding public key (which is how digital signatures work).
(2) is incorrect: A single shared key is used in symmetric encryption, not asymmetric.
(3) is correct: Digital signatures rely on asymmetric cryptography to provide authenticity and non-repudiation.
Hence, (1) and (3) only.

評分準則

Award 1 mark for option C. No mark for other options.
題目 39 · mcq
1
Which of the following measures can effectively reduce the risk of repetitive strain injury (RSI) when working with computers for extended periods?

(1) Using an ergonomic wrist rest while typing.
(2) Adjusting the chair height so that forearms are approximately horizontal.
(3) Increasing the screen resolution to maximum.
  1. A.(1) only
  2. B.(1) and (2) only
  3. C.(2) and (3) only
  4. D.(1), (2) and (3)
查看答案詳解

解題

(1) and (2) are established ergonomic interventions that minimize physical strain on tendons and muscles in the hands, wrists, and arms. (3) increases pixel density, which might make text smaller and cause eye strain rather than mitigating RSI. Thus, (1) and (2) only are correct.

評分準則

Award 1 mark for option B. No mark for other options.
題目 40 · mcq
1
When a web form requires a user to input a Hong Kong Identity Card (HKID) number, which of the following validation checks is most suitable for detecting transcription errors in the entered format and check digit?
  1. A.Range check
  2. B.Double data entry
  3. C.Presence check
  4. D.Check digit check
查看答案詳解

解題

A check digit calculation (checksum check) verifies whether the check digit matches the formula computed from the preceding characters, specifically designed to catch transcription and transposition errors.

評分準則

Award 1 mark for option D. No mark for other options.

準備好測試自己了嗎?

將這些筆記轉化為考試練習。獲取此課題的無限量AI題目,即時批改及詳細解析。

練習此課題

乙部

回答全部 5 題結構性常規題。
5 題目 · 50
題目 1 · Structured
10
Mr Lee sets up a smart study lounge at a community centre. The network allows student visitors to access the Internet via Wi-Fi and print revision notes on a shared network printer.

(a) The lounge uses a gateway router connected to a broadband modem, an Ethernet switch, and two wireless Access Points (APs).
(i) State the primary role of an Access Point in this local area network (LAN). (1 mark)
(ii) Give two advantages of deploying two APs instead of a single AP in the study lounge. (2 marks)

(b) Students report that when they move from one corner of the lounge to another, their video streaming disconnects. Suggest a network feature that should be configured across the two APs to allow seamless movement without disconnection. (1 mark)

(c) Mr Lee works on a desktop computer in the lounge for over 7 hours every day.
(i) State one physical health hazard related to the prolonged use of an improper computer display. (1 mark)
(ii) Suggest two ergonomic practices for Mr Lee to alleviate eye strain or neck pain. (2 marks)

(d) The centre provides a web portal for students to book study rooms and make payments.
(i) Explain how HTTPS protects students' credit card information when submitting the booking form. (2 marks)
(ii) Identify the network protocol used to automatically assign IP addresses to students' mobile devices when they connect to the Wi-Fi network. (1 mark)
查看答案詳解

解題

(a) (i) An Access Point bridges wireless devices to a wired Ethernet backbone.
(ii) Two APs increase coverage across physical partitions and share bandwidth load among more concurrent students.
(b) Fast Wi-Fi roaming allows devices to transition between APs broadcasting the same SSID without dropping the connection.
(c) (i) Prolonged screen time leads to asthenopia (eye strain) or cervical spine stress from improper viewing angle.
(ii) Ergonomic adjustments include aligning screen height at eye level and taking regular scheduled breaks.
(d) (i) HTTPS establishes an encrypted tunnel between the browser and server, encrypting credentials and credit card details against sniffing attacks.
(ii) DHCP handles dynamic IP configuration automatically.

評分準則

(a) (i) 1 mark for: Bridges wireless client devices to the wired network / provides wireless connectivity to the LAN.
(ii) 1 mark each (max 2 marks) for:
- Wider coverage area / eliminates blind spots.
- Supports more concurrent users / load balancing.

(b) 1 mark for: Wi-Fi roaming / Seamless roaming / identical SSID setup.

(c) (i) 1 mark for: Eye fatigue / dry eyes / blurred vision / neck muscle stiffness.
(ii) 1 mark each (max 2 marks) for:
- Take periodic breaks (e.g. 20-20-20 rule).
- Adjust screen height/angle to eye level.
- Use anti-glare screen filter / adjust ambient lighting.

(d) (i) 1 mark for mentioning data encryption (SSL/TLS);
1 mark for preventing eavesdropping / ensuring data confidentiality or verifying server authenticity.
(ii) 1 mark for: DHCP / Dynamic Host Configuration Protocol.
題目 2 · Structured
10
A school upgrades its multimedia laboratory and considers two computer models, Model X and Model Y, with the following specifications:

$$\begin{array}{|l|l|l|}
\hline
\textbf{Component} & \textbf{Model X} & \textbf{Model Y} \\
\hline
\text{CPU} & 3.6\text{ GHz, 8 cores} & 2.4\text{ GHz, 4 cores} \\
\hline
\text{System RAM} & 32\text{ GB DDR4} & 8\text{ GB DDR4} \\
\hline
\text{Secondary Storage} & 1\text{ TB NVMe SSD} & 1\text{ TB 7200 RPM HDD} \\
\hline
\text{GPU} & \text{Dedicated 8 GB VRAM} & \text{Integrated graphics} \\
\hline
\end{array}$$

(a) Describe what is meant by '3.6 GHz' and '8 cores' in the CPU specification of Model X. (2 marks)

(b) The teacher needs to run 3D animation rendering software in class.
(i) State two reasons why Model X is significantly more suitable than Model Y for 3D animation rendering. (2 marks)
(ii) State one functional difference between System RAM and secondary storage (SSD/HDD). (1 mark)

(c) During video editing, explain how an NVMe SSD improves performance compared to a traditional 7200 RPM HDD. (2 marks)

(d) A student plugs an external drawing tablet into Model X for the first time via USB.
(i) What type of system software must be installed for the operating system to communicate with the drawing tablet? (1 mark)
(ii) If the tablet does not work immediately upon insertion, state two troubleshooting steps the student can perform. (2 marks)
查看答案詳解

解題

(a) Clock speed indicates cycle frequency (3.6 GHz = 3.6 × 10^9 cycles/s); cores represent independent execution units.
(b) (i) 3D rendering heavily utilizes dedicated VRAM and multi-core high-frequency CPU computations.
(ii) RAM is volatile working memory directly addressed by the CPU; SSD/HDD is persistent secondary storage.
(c) SSDs eliminate mechanical seek delays, providing high I/O throughput necessary for uncompressed video scrubbing.
(d) (i) Device drivers provide the hardware abstraction layer for OS communication.
(ii) Common troubleshooting involves driver installation/updates and verifying port connectivity.

評分準則

(a) 1 mark for clock rate (number of cycles per second);
1 mark for cores (number of independent processing units).

(b) (i) 1 mark each (max 2 marks) for:
- Dedicated GPU with 8 GB VRAM processes graphics faster than integrated graphics.
- Higher CPU core count / clock rate speeds up rendering threads.
- 32 GB RAM allows loading larger project assets without swapping.
(ii) 1 mark for distinguishing volatility (RAM is volatile, storage is non-volatile) OR direct CPU access.

(c) 1 mark for mentioning solid-state / no moving parts / electronic flash vs mechanical heads;
1 mark for faster data transfer rate / lower latency / faster file loading.

(d) (i) 1 mark for: Device driver.
(ii) 1 mark each (max 2 marks) for:
- Updating / reinstalling the driver.
- Reconnecting the USB cable / trying a different USB port.
- Restarting the operating system.
題目 3 · Structured
10
An integer array \( \text{Arr} \) stores \( N \) positive integers, indexed from \( 1 \) to \( N \). A programmer writes the following algorithm to process the elements in \( \text{Arr} \):

```text
K ← Arr[1]
pos ← 1
for i from 2 to N do
if Arr[i] > K then
K ← Arr[i]
pos ← i
temp ← Arr[pos]
Arr[pos] ← Arr[N]
Arr[N] ← temp
```

(a) Suppose \( N = 5 \) and the initial contents of \( \text{Arr} \) are:
$$\begin{array}{|c|c|c|c|c|}
\hline
\text{Arr}[1] & \text{Arr}[2] & \text{Arr}[3] & \text{Arr}[4] & \text{Arr}[5] \\
\hline
14 & 29 & 8 & 35 & 19 \\
\hline
\end{array}$$

(i) What are the values of \( K \) and \( \text{pos} \) after the `for` loop finishes? (2 marks)
(ii) Write down the content of \( \text{Arr} \) after the entire algorithm finishes. (2 marks)

(b) Describe the overall objective accomplished by this algorithm on any array \( \text{Arr} \) of \( N \) positive integers. (1 mark)

(c) The programmer wants to sort the entire array \( \text{Arr} \) in ascending order by repeatedly applying the logic above in an outer loop. Complete the missing parts (1), (2), and (3) of the pseudocode below:

```text
for j from N down to 2 do
pos ← 1
for i from 2 to (1)__________ do
if Arr[i] > Arr[pos] then
pos ← i
temp ← Arr[pos]
Arr[pos] ← (2)__________
(3)__________ ← temp
```
(3 marks)

(d) If \( N = 100 \), how many comparisons between elements (`Arr[i] > Arr[pos]`) will be executed in total during the sorting process? (2 marks)
查看答案詳解

解題

(a) (i) The loop scans from index 2 to 5. Arr[4] = 35 is the largest, so K becomes 35 and pos becomes 4.
(ii) pos=4 and N=5 are swapped, so Arr[4] becomes 19 and Arr[5] becomes 35. The array becomes [14, 29, 8, 19, 35].
(b) Finds the maximum value in the range 1..N and moves it to the end position N.
(c) Selection sort moves the largest remaining element to index j in each pass, where j ranges from N down to 2. The inner loop checks elements 2 to j, and swaps Arr[pos] with Arr[j].
(d) Number of comparisons in pass j is j - 1. For j from 100 down to 2, the number of comparisons is 99 + 98 + ... + 1 = 99 * 100 / 2 = 4950.

評分準則

(a) (i) 1 mark for K = 35;
1 mark for pos = 4.
(ii) 2 marks for all 5 elements correct [14, 29, 8, 19, 35] (1 mark if 4 elements correct).

(b) 1 mark for: Finds the maximum element in the array and moves/swaps it to the last position (index N).

(c) 1 mark for (1): j
1 mark for (2): Arr[j]
1 mark for (3): Arr[j]

(d) 1 mark for showing formula / working \( \frac{99 \times 100}{2} \) or \( 99 + 98 + \dots + 1 \);
1 mark for final answer: 4950.
題目 4 · Structured
10
A fitness club maintains a database table `MEMBER` to store members' workout records. Part of the data is shown below:

$$\begin{array}{|l|l|l|l|c|}
\hline
\textbf{MID} & \textbf{MNAME} & \textbf{GENDER} & \textbf{CATEGORY} & \textbf{HOURS} \\
\hline
M102 & \text{Alice Wong} & \text{F} & \text{Yoga} & 24 \\
\hline
M105 & \text{Brian Chan} & \text{M} & \text{Fitness} & 40 \\
\hline
M108 & \text{Candy Lee} & \text{F} & \text{Yoga} & 18 \\
\hline
M112 & \text{David Cheung} & \text{M} & \text{Swimming} & 32 \\
\hline
M115 & \text{Eva Ho} & \text{F} & \text{Fitness} & 50 \\
\hline
M120 & \text{Frankie Lau} & \text{M} & \text{Fitness} & 30 \\
\hline
\end{array}$$

(a) (i) State the primary key for the table `MEMBER`. (1 mark)
(ii) Suggest one data validation check for the field `GENDER`. (1 mark)

(b) Write an SQL statement to display the name (`MNAME`) and workout hours (`HOURS`) of all female members (`GENDER = 'F'`) who have completed at least 20 workout hours, ordered by `HOURS` in descending order. (3 marks)

(c) What is the output of the following SQL statement?
```sql
SELECT CATEGORY, COUNT(*), AVG(HOURS)
FROM MEMBER
GROUP BY CATEGORY;
```
(3 marks)

(d) The club administrator imports the table into a spreadsheet to calculate reward points. In column F, members who have `HOURS` greater than or equal to 30 receive 2 points per hour; otherwise, they receive 1 point per hour.
Write an Excel formula for cell `F2` using the `IF` function to calculate the reward points for the first record (row 2, where workout hours are in `E2`). (2 marks)
查看答案詳解

解題

(a) (i) MID uniquely identifies each member.
(ii) GENDER must be restricted to 'M' or 'F' via a domain/lookup check.
(b) Requires SELECT MNAME, HOURS with WHERE condition combining GENDER='F' and HOURS>=20, sorted by HOURS DESC.
(c) Grouping by CATEGORY produces:
- Fitness: count = 3, avg hours = (40 + 50 + 30) / 3 = 40
- Swimming: count = 1, avg hours = 32
- Yoga: count = 2, avg hours = (24 + 18) / 2 = 21
(d) The condition `E2 >= 30` evaluates true to `E2 * 2`, false to `E2 * 1`.

評分準則

(a) (i) 1 mark for: MID
(ii) 1 mark for: Domain check / Allowed character check ('M' or 'F') / Validation rule IN ('M', 'F').

(b) 1 mark for `SELECT MNAME, HOURS FROM MEMBER`;
1 mark for `WHERE GENDER = 'F' AND HOURS >= 20`;
1 mark for `ORDER BY HOURS DESC`.

(c) 1 mark for identifying 3 correct categories with their respective counts (Yoga: 2, Fitness: 3, Swimming: 1);
1 mark for calculating correct averages (Yoga: 21, Fitness: 40, Swimming: 32);
1 mark for correct 3-column table format/structure.

(d) 1 mark for `=IF(E2 >= 30, ...)` condition;
1 mark for correct true/false expressions `E2 * 2, E2`.
題目 5 · Structured
10
A black-and-white graphic display has a resolution of \( 800 \times 600 \) pixels. Each pixel is stored as a 1-bit binary digit (\( 0 = \text{white} \), \( 1 = \text{black} \)).

(a) (i) Calculate the minimum storage size (in kilobytes, KB) required to store one uncompressed frame of this graphic display. (\( 1\text{ KB} = 1024\text{ bytes} \)) Show your calculation. (2 marks)
(ii) If the display is updated to support 256 distinct colours, what is the new minimum number of bits required to represent each pixel? (1 mark)

(b) The system uses a simple Run-Length Encoding (RLE) scheme to compress rows of pixel data. Each run of consecutive identical pixels is represented by a pair: `(Colour, Count)`, where `Colour` is `W` for white and `B` for black, and `Count` is a positive integer.

For example, a row of 10 pixels `W W W B B B B W W W` is encoded as:
`W3 B4 W3`

(i) Encode the following row of 16 pixels using this RLE scheme: (2 marks)
`B B B B B W W W W B B B B B B B`

(ii) Decode the following encoded stream into the original sequence of pixels: (1 mark)
`W4 B2 W6 B3`

(iii) State one scenario where RLE will result in an encoded file size that is larger than the original uncompressed file. (1 mark)

(c) The school creates a digital comic book containing these graphics and publishes it on the school website.
(i) State one intellectual property right that protects the original comic artwork. (1 mark)
(ii) Explain why adding a digital watermark or Creative Commons licence can help the creator manage their intellectual property. (2 marks)
查看答案詳解

解題

(a) (i) 800 * 600 * 1 bit = 480,000 bits. Divided by 8 = 60,000 bytes. In KB: 60000 / 1024 = 58.59 KB (or 60,000 / 1000 = 60 KB).
(ii) 256 colours requires log2(256) = 8 bits per pixel.
(b) (i) Count continuous runs: 5 Black, 4 White, 7 Black -> B5 W4 B7.
(ii) Expand counts: 4 W, 2 B, 6 W, 3 B.
(iii) Dithering or noisy image patterns lead to runs of length 1, doubling storage overhead.
(c) (i) Literary and artistic works are protected by copyright.
(ii) Watermarks establish traceability of provenance; Creative Commons grants standardized reuse permissions.

評分準則

(a) (i) 1 mark for correct method / expression \( \frac{800 \times 600}{8 \times 1024} \);
1 mark for correct answer (\( 58.59\text{ KB} \) or \( 58.6\text{ KB} \) or \( 60\text{ KB} \)).
(ii) 1 mark for: 8 bits.

(b) (i) 2 marks for `B5 W4 B7` (1 mark if 2 runs correct).
(ii) 1 mark for correct decoded pixel sequence.
(iii) 1 mark for: Frequent colour changes / alternating pixels / no consecutive repeated pixel values.

(c) (i) 1 mark for: Copyright.
(ii) 1 mark for explaining watermark protects proof of ownership / deters unauthorised copying;
1 mark for explaining Creative Commons provides clear legal terms for distribution/reuse.

想知道自己有幾分把握?

thinka 是 DSE 學生用的 AI 練習應用程式,有無限量練習題、即時自動批改和詳細解題步驟。逾 100,000 名學生用它確認自己真的識,而不只是「以為識」。

想練更多類似題型?在 thinka 無限量操練,即時知道答案。

免費開始練習