Anonymous

# 幾題計算機概論問題(英文)

A CPU with 2.5GHz clock rate means that each CPU cycle takes____seconds.

Full Speed USB only 12Mbps and Hi-Speed USB mode is capable of a much faster 480Mbps,where 1Mbps indicates the exeactly speed of ____bits per second.

If a C program has 64KB long, that is, the program will exeactly occupy____bytes of disk space.

If a CF card(數位相機記憶卡)has 8GB, that is, the CF card has exactly_____bytes of flash memory(快閃記憶體).

Update:

Rating
• 其威
Lv 7

1. 1/2500000000 sec.

2. 1048576 bits per second

3. 這跟 linker 實做有關. 要看你所謂 "C program" 是指 compile 出的 obj code 還是連結完畢的 executable.

4. 8 * 1024 * 1024 * 1024 bytes.

2011-01-06 04:44:12 補充：

1. 2.5G Hz = 2.5 * 1000 * 1000 * 1000 Hz = 2500000000Hz, clock cycle = 1/2.5G sec

2. 1Mbps = 1 * 1024 * 1024 bps = 1048576bps

3. 如果是光是 (例如, ELF 的) .code + .data section, 那麼連結以後還要加上 ELF Header, 所以不只 64KB. 如果是連好以後的佔用 64KB, 那就... 剛好是 64KB 啦~

2011-01-06 04:44:28 補充：

4. 因為你寫 8GB, 如果是 8GB 通常是指 1024 * 1024 * 1024. 如果是寫 8GiB 的話就是 8 * 1000 * 1000 * 1000.