阿摩線上測驗
登入
首頁
>
學士後西醫◆計算機概論與程式設計
>
110年 - 110 學士後_醫學系︰計算機概論與程式設計#100246
> 申論題
1. A binary tree has ten nodes. The inorder and preorder traversals of the binary tree are shown as follows.
Inorder: FKCGJBDEAI
Preorder: GFCKDJBIEA
Draw the tree.
詳解 (共 2 筆)
Vince
詳解 #5209840
2021/11/14
preorder 第一個為root。 ...
(共 55 字,隱藏中)
前往觀看
p_p971
詳解 #5270401
2021/12/21
(共 1 字,隱藏中)
前往觀看
相關申論題
a. Determine the entropy of the data set. (4 points)
#419513
b. Determine the average entropy of the resulting subsets obtained by splitting on attribute A. (4 points)
#419514
c. How much information gain is obtained if attribute A is selected for the root node of the decision tree? (2 points) Note: Please use the values: log23 = 1.6 and log25 = 2.3. Hint: Entropy = is distribution for event i
#419515
3. To transmit text across a network, an English character is usually encoded in 8 bits in which bits 0~6 are the ASCII code and bit 7 is used for parity checking. Suppose a string of 5 characters, infni, is to be transmitted and odd-parity checking is adopted. Let the ASCII code of i be 1101001, the ASCII code of n be 1101110, and the ASCII code of f be 1100110. What is the sequence of 40 bits encoded for the 5-character string? Please show the sequence in hexadecimal (base 16) form.
#419516
4. Suppose we have an array A containing 9 integers: 240, 119, 682, 341, 225, 556, 122, 661, 245, i.e. A = [240, 119, 682, 341, 225, 556, 122, 661, 245] with the first index being 0. Please convert the array A into a maxheap and show the content of A after conversion. Note that the conversion should be done in-place.
#419517
(一)丟擲第一次後雙方身上可能各有幾枚代幣?【4 分;未寫出推論過程者不予計分】
#419518
(二)丟擲第二次後雙方身上可能各有幾枚代幣?【4 分;未寫出推論過程者不予計分】
#419519
(三)會在丟擲第三次後就停止遊戲的機率是多少?【4 分;未寫出推論過程者不予計分】
#419520
(四)會在丟擲第四次後就停止遊戲的機率是多少?【4 分;未寫出推論過程者不予計分】
#419521
(五)會在丟擲第五次後就停止遊戲的機率是多少?【4 分;未寫出推論過程者不予計分】
#419522
相關試卷
114年 - 114 學士後醫學系招生考試試題:計算機概論與程式設計#137105
114年 · #137105
113年 - 113 學士後醫學系招生考試試題:計算機概論與程式設計#119574
113年 · #119574
112年 - 112 學士後醫學系招生考試試題:計算機概論與程式設計#137106
112年 · #137106
111年 - 111 學士後醫學系招生考試試題:計算機概論與程式設計#137107
111年 · #137107
111年 - 111 國立中山大學_學士後醫學系招生考試:計算機概論與程式設計#113521
111年 · #113521
111年 - 111 學士後醫學系招生考試:計算機概論與程式設計#107630
111年 · #107630
110年 - 110 學士後_醫學系︰計算機概論與程式設計#100246
110年 · #100246
109年 - 109 高雄醫學大學_學士後醫學系招生考試:計算機概論與程式設計#86938
109年 · #86938