所屬科目:研究所、轉學考(插大)、學士後-計算機概論
( ) 1. 大型語言模型在處理文字前,必須將文字切割成模型看得懂的最小有意義單位(可 能是單字、字根或字元),這個單位稱為? (A) Pixel (B) Token (C) Neuron (D) Vector
( ) 2. 許多公司為了讓大型語言模型(LLM)能夠存取企業內部的私有文件,將採用結合 「外部知識庫檢索」的技術,這項技術縮寫為何? (A) CNN (B) RAG (C) GAN (D) RLHF
( ) 3. 當生成式 AI 模型非常有自信地說出完全錯誤、虛構或不存在的事實時,這種現象 稱為什麼? (A) 梯度消失 (Gradient Vanishing) (B) 幻覺 (Hallucination) (C) 過度擬合(overfitting) (D) 記憶喪失 (Anesia)
( )4. 現代大型語言模型(如 GPT-4、Claude 3.5)之所以能顛覆世界,主要歸功於 2017 年 Google 提出的哪一種革命性神經網路架構? (A) CNN (B) LSTM (C) RNN (D) Transformer
( ) 5.那一種資料結構主要用於實現遞迴(recursion)? (A) Queue (B) Linked List (C) Array (D) Stack
( ) 6.那一種資料結構遵循先進先出(FIFO, First In First Out)的原則? (A) Queue (B) Tree (C) Graph (D) Stack
( ) 7.那一種排序演算法會在相鄰元素順序錯誤時反覆交換它們? (A) Bubble Sort (B) Merge Sort (C) Quick Sort (D) Heap Sort
( ) 8. 若 \( 121 = a \times 5^3 + b \times 5^2 + c \times 5 + d \),則 \( a + b + c + d = ? \) (A) 9 (B) 11 (C) 13 (D) 4
( ) 9. 估算 \( 8 \text{ Terabyte (TB)} = \_\_\_\_\_\_\_\_\_\_ \text{ bits} \) (A) \( 2^{40} \) (B) \( 2^{43} \) (C) \( 2^{46} \) (D) \( 2^{48} \)
( ) 10.執行右圖程式碼,輸出值為何? (A) 3 (B) 4 (C) 5 (D) Error
2. 計算 \( (00111111)_2 \) XOR \( (00111100)_2 \) AND \( (00110111)_2 \) =____________
2. (20%) Given an array \( A \) with \( n \) integers \( A[0], A[1], ..., A[n-1] \) and an integer k, write a C program to find the maximum \( k \) subsequence sum \( \sum_{i=j}^{j+k-1} A_i \), where \( 0 \le j \le n-k \), and analyze the program in the worst case. For example: Given \( A[0] = -1, A[1] = 9, A[2] = -3, A[3] = 8, A[4] = -1 \) and \( k=3 \), output the maximum \( k \) subsequence sum \( (9)+(-3)+(8) = 14 \). (If you have many programs, choose the program with less running time. If you cannot write the program in C, design a flowchart or provide an algorithm instead.)
4.(10%) According to the program code shown on the right, when the input value N= 20, the output value Q=__.Explain the relationship between Q and N.