阿摩線上測驗
登入
首頁
>
研究所、轉學考(插大)、學士後-計算機概論
>
96年 - 96 國立高雄大學_轉學招生考試試題_資訊工程學系:計算機概論#149000
> 申論題
題組內容
2.
(a) Convert decimal number 102.75 into binary. (5%)
相關申論題
(b) Show how to compute 3 15 using 2'scomplementation representations and an addition (each number is represented by 8 bits). (5%)
#618226
(a) (10110110)2 XOR (01101010)2 = ? (5%)
#618227
(c) What is the result of executing printf(“%d”,56 << 2); in C language? (5%)
#618228
(a) Write an if-statement that checkswhether bits 0, 5, 6 of x are all 1’s using one of these operators. (5%)
#618229
(b) Write an if-statementthat checks whether any of the bits 0, 5, 6 of x is 1 using two of these operators. (10%)
#618230
5. Suppose we are to digitize an audio signal. If the sampling rate (the number of times per secondwe sample the amplitude of the sound wave) is 8 kHz and the bit depth (the number of bits usedto encode each sample) is 16, how many storage space is required for a 10-minuteuncompressed audio signal? What is the number of distinct amplitude levels that can berepresented by this setting? (10%)
#618231
6. Write a function in C or Java that right rotates the contents of a given integer array. For example,if A = {45, 23, 11, 87, 4, 6, 26, 10}, then we have A = {10, 45, 23, 11, 87, 4, 6, 26} after it hasbeen right rotated. (10%)
#618232
7. Write a function in C or Java that accepts integer n as an input and returns the following result.(15%)1 1 1 11 1 2 1 2 3 1 2 3 n
#618233
8. Let C(n, k) denote the number of ways to select k out of n items without order. It is known thatC(n ,1) = n, C(n, n) = 1, and C(n, k) = C(n 1, k 1)+C(n 1, k). Please write a recursive functioncomb(int n, int k) that computes C(n ,k) based on the above-mentioned knowledge.(15%)
#618234
相關試卷
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 國立高雄大學_轉學招生考試試題(轉二年級)_資訊工程學系:計算機概論#148916
114年 · #148916
114年 - [無官方正解]114 國立臺北大學_碩士班一般入學考試試題_資訊管理研究所:計算機概論#147201
114年 · #147201
114年 - 114 中央警察大學_碩士班入學考試試題_資訊管理研究所:計算機概論#146889
114年 · #146889