精華區beta NTU-Exam 關於我們 聯絡資訊
課程名稱︰計算機與網路 課程性質︰必修 課程教師︰黃乾綱 開課學院:工學院 開課系所︰工程科學與海洋工程學系 考試時間︰95/11/13 是否需發放獎勵金:是 (如未明確表示,則不予發放) 試題 : (5% for each question. Write down the necessary explanations or details for each question) 1. [ch1] According to the von Neumann model, the model, the computer is consist of 4 subsystems, including _____ , _____ , _____ , and _____. 2. [ch1] According to thevon Neumann model , _____ are stored in memory. (a) only data (b) only programs (c) data and programs (d) none of the above. 3. [ch2] The ASCII code table contains the following character set [1] uppercase letters (A~Z) [2] lowercase letters (a~z) [3] numeric characters (0~9) What the order of the following character sets in ASCII code table? (a) 1, 2, 3, (b) 2, 3, 1, (c) 3, 2, 1, (d) 3, 1, 2, (e) none of the above. 4. [ch2] For telephone, the voice signal is sampled 8,000 times per second. Each sample is represented by 4,096 different levels. How many bits per second are needed to represent this audio signal? 5. [ch2] There is a 30 secs video clip which supports 30 frames per second, VGA (640*480), Truecolor (Red, Green, Blue, each color encoded with 8 bits). How many bytes do we need to store this video clip in raw data ( without any compression )? 6. [ch2] How many hexadecimal and octal digits are needed to convert a 5-byte pattern? 7. [ch2] To store a byte, you need _____ electronic switches? (a) 1 (b) 2 (c) 4 (d) 8 (e) none of above. 8. [ch2] Change C3F2 (16) to _______(8) (change the hexadecimal notation to octal notation) 9. [ch2, 10%] (a) Transform -257(10) with 16 bit allocation by sigh and magnitude format. (b) Transform -257(10) with 16 bit allocation by one's complement format. (c) Transform -257(10) with 16 bit allocation by two's complement format. 10. [ch3] Which one is the range of two's complement format? Assume N is the number of bits in this format. (a) -(2^(N-1)) ... +(2^(N-1)-1) (b) -(2^(N-1)-1) ... +(2^(N-1)-1) (c) -(2^(N-1)-1) ... +(2^(N-1)) (d) none of above. 11. [ch3] What is the result of the following operations : x19BA-x4253? Do the operation in two's complement format. 12. [ch4] What is the result of the following operations : xCB AND X52 OR x97 XOR x2F? 13. [ch4] You need to flip the 1 rightmost and the 3 leftmost bits of a pattern, which is the mask with the operation? (a) XOR, 1110 0001 (b) XOR, 1000 0111 (c) AND, 1110 0001 (d) AND, 1000 0111 (e) OR, 0111 1000 14. [ch4] For an 8-bit allocation, the smallest decimal number that can be represented in two's complement from is ______. (a) -8 (b) -127 (c) -128 (d) -256 (e) none of above. 15. [ch4] Which of the following operations create overflow if the numbers and the result are in 8-bit two's complement notation? [1] 32 + 105 [2] 32 - 105 [3] -32 + 105 [4] -32 - 105 (a) 1, 2 (b) 1, 2, 4, (c) 2, 3, (d) 1, 4, (e) none of above 16. [ch4] Please show 87.235 in 32-bit IEEE format for single precision of floating-point number (32-bit) 17. If x000A is the bit patterns of IEEE single precision floating-point format, what floating point value does it represent? 18. [ch4, 10%] The x4745 and xC66C are the bit patterns of two numbers that are in IEEE single precision floating-point format. (a) Please calculate the results of x4745 + xC66C (b) Please calculate the results of x4745 - xC66C Give the hexadecimal value of the IEEE single precision floating-point format. -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.112.7.59