阿摩線上測驗
登入
首頁
>
中山◆資工◆離散數學
>
102年 - 102 國立中山大學_碩士班招生考試_資工系(甲組):離散數學#105881
> 申論題
題組內容
8. Please answer the following questions.
(a)Find all generators of the cyolic group (Z
8
+).
相關申論題
(b)Find all generators of the cyelic group (Z5-{0}, *).
#451400
(c) If G is a cyclic group of order n, how many distinct generators does it have?
#451401
9. Please find an encryption function E: {1, 2, 3, ... 26} -> Z such that E(m1) + E(m2) = E(m1+m2) for every m1, m2 in {1, 2,3, ... ., 26} and please also find the decryption function corresponding to E.
#451402
(1)
#451408
3. Two-way insertion sort : Suppose the output sorted sequence is increasing. The two-way insertion sort is a modification of the simple insertion sort (straightforward insertion sort), described as follows. After read the input elements, a separate output array a[0], a[1], a[2], a[n-1] is used to store the sorted sequence. This output array acts as a circular structure, that is, the right position of a[i] is a[i+1] if 0≤ i ≤ n-2, and the right position of a[n-1] is a[0]. The first input element is put into a[0] initially. Once a contiguous group of elements are in the array, room for a new input element is made by shifting all smaller elements one step to the left or all larger element one step to the right. The choice of left-shift or right-shift to perform depends on which would cause the smallest amount of shifts. Use the following 6 input elements to illustrate how this algorithm works. You have to show the content of the output array after each input element is inserted into the array. 27,35,43, 31,29,33.
#451409
(1) The label of each leaf node is a single symbol. The label of each internal node is the concatenation of the labels of its left child and right child.
#451410
(2) When two nodes are merged, always set the node of label with less lexical order as the left child, and the other as the right child.
#451411
(3) If more than two nodes have the same least frequency, then you have to merge the two that bave the least and the second least label in lexical order. Please draw the full Huffman tree.
#451412
(1) The need-to-know principle dictates that programs, users, and even systems should be given just sufficient privileges to perform their tasks. This principle is very critical for system protection, which can prevent the mischievous, intentional violation of an acces ess restriction by a user.
#451413
(2) A deadlock situation must arise if any of the following four conditions holds in a computer system: mutual exclusion, hold and wait, no preemplion, and circular wait. Therefore, to vanquish the deadlock, we have to see what conditions cause that deadlock and then try to conquer each of them.
#451414
相關試卷
110年 - 110 國立中山大學_碩士班招生考試_資工系(甲組):離散數學#104268
110年 · #104268
110年 - 110 國立中山大學_碩士班招生考試_電機系(丙組):離散數學#104260
110年 · #104260
109年 - 109 國立中山大學_碩士班招生考試_資工系(甲組):離散數學#105758
109年 · #105758
108年 - 108 國立中山大學_碩士班招生考試_資工系(甲組):離散數學#105776
108年 · #105776
107年 - 107 國立中山大學_碩士班招生考試_資工系(甲組):離散數學#105787
107年 · #105787
106年 - 106 國立中山大學_碩士班招生考試_資工系(甲組):離散數學#105791
106年 · #105791
105年 - 105 國立中山大學_碩士班招生考試_資工系(甲組):離散數學#105816
105年 · #105816
104年 - 104 國立中山大學_碩士班招生考試_資工系(甲組):離散數學#105845
104年 · #105845
103年 - 103 國立中山大學_碩士班招生考試_資工系(甲組):離散數學#105841
103年 · #105841
102年 - 102 國立中山大學_碩士班招生考試_資工系(甲組):離散數學#105881
102年 · #105881