阿摩線上測驗
登入
首頁
>
研究所、轉學考(插大)、學士後-計算機概論
>
100年 - 100 國立高雄大學_轉學招生考試試題(轉二年級)_資訊工程學系:計算機概論#148903
> 申論題
題組內容
4.
(a) How many negative integers can be represented by n bits using 2’s complement representation?
相關申論題
(b) Convert decimal number 522 to a 3-digit hexadecimal number. (10%)
#617675
5. Assume that C function power_of_two(n) returns 1 if n is a power of two and 0 otherwise. What is the return value when calling w(6,3), where function w is defined as follows. (20%)
#617676
6. AND, OR, NOT, and XOR are four logical operations that can be used to modify a bit pattern. Let X be a byte. (a) Show how to set (force to 1) the four rightmost bits of X by performing one of these operations on X and a specific bit pattern. (10%) (b) Show how to flip the three rightmost and the two leftmost bits of X by performing one of these operations on X and a specific bit pattern. (10%)
#617677
(a) Show a truth table for the following circuit diagram. (5%)
#617678
2. (a) Convert decimal number 106.35 into binary. (5%)
#617679
3. (a) (10110110)2 XOR (01101010)2 = ? (5%)
#617680
(a) Write an if-statement that checks whether bits 0, 4, 7 of x are all 1’s using one of these operators. (5%)
#617681
5. A computer has 64MB of memory. Each word in this computer is 4 bytes. How many bits are needed to address any single word in memory? (10%)
#617682
6. Write a function in C 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 = {23, 11, 87, −4, 6, 26, 10, 45} after it has been left rotated. (10%)
#617683
7. Write a function in C that accepts integer n as an input and returns the following result. (15%)\[ \frac{1}{1} + \frac{1}{1 \times 2} + \frac{1}{1 \times 2 \times 3} + \cdots + \frac{1}{1 \times 2 \times 3 \times \cdots \times n} \]
#617684
相關試卷
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