阿摩線上測驗
登入
首頁
>
研究所、轉學考(插大)、學士後-計算機概論
>
112年 - [無官方正解]112 國立高雄大學_轉學招生考試試題(轉二年級)_資訊工程學系:計算機概論#148892
> 申論題
(b) If we run the above program (in Fig.3) with the input n=k, where k is an odd number, then the output is_.
相關申論題
5. Show the Excess3 representation of the decimal number -0.625 :__ The format of Excess_3: the sign occupies 1 bit (0 for positive and 1 for negative), the exponent occupies 3 bits (using a bias of 3), the mantissa occupies 4 bits (unsigned number).
#617579
三、問答題 Problems (40%) 1. Given an array $A$ with $n$ integers $A[0], A[1], \dots, A[n-1]$, write a C program to find the maximum subsequence sum $\sum{k=i}^{j} Ak$, where $0 \le i \le j \le n-1$. For example: $A[0] = -1, A[1] = 9, A[2] = -3, A[3] = 8, A[4] = -1$ output the maximum subsequence sum $(9)+(-3)+(8) = 14$. (If you have many programs, choose the program with less running time.)
#617580
2. Given an integer $k$, write a C program to find the minimum number of Fibonacci numbers whose sum is equal to $k$. For example: The Fibonacci numbers are: 1, 1, 2, 3, 5, 8, 13, ... If the input $k = 7$, we have $2 + 5 = 7$. Then, we output 2.
#617581
相關試卷
115年 - [無官方正解]115 國立高雄大學_轉學招生考試試題(轉二年級)_資訊工程學系:計算機概論#148890
115年 · #148890
115年 - [非官方正解]115 國立臺北大學_日間學士班轉學生招生考試試題_資訊工程學系日間學士班2年級:計算機概論#147389
115年 · #147389
115年 - [非官方正解]115 國立臺北大學_碩士班一般入學考試試題_資訊管理研究所:計算機概論#147163
115年 · #147163
115年 - 115 國立嘉義大學_碩士班招生考試試題_資訊管理學系:計算機概論#143936
115年 · #143936
115年 - 115 國立嘉義大學_轉學生招生考試試題_資訊管理學系:計算機概論#143910
115年 · #143910
115年 - [無官方正解]115 國立嘉義大學_轉學生招生考試試題_資訊工程學系:計算機概論#143857
115年 · #143857
115年 - 115 中央警察大學_碩士班入學考試試題_資訊管理研究所:計算機概論#139860
115年 · #139860
114年 - [無官方正解]114 國立臺北大學_碩士班一般入學考試試題_資訊管理研究所:計算機概論#147201
114年 · #147201
114年 - 114 中央警察大學_碩士班入學考試試題_資訊管理研究所:計算機概論#146889
114年 · #146889
114年 - 114 國立嘉義大學_碩士班招生考試試題_資訊管理學系:計算機概論#144127
114年 · #144127