作者antirazin (今年是日星來台年~真嗨)
看板TransCSI
標題[問題] 也是幾個計概題
時間Wed Jul 4 00:29:34 2007
1.There is a 16-bit integer A stored at memory address 3000 in sign/magnitude
notation. The content of memory address 3000 is 01001111 and the content
of memory address 3001 is 10111111.If the byte order is little-endian,
show the hexadecimal content of these bytes after we add 38(以10為底)
to A.
2.In C++ , the operator "::" can be overloaded. True of False ?
3.To find the 100th prime number , we can write an algorithm in which the
first step is to generate a list of all prime numbers , the second step
is to sort the list , and then print out the number. True or False ?
4.基本上,以范紐曼架構執行一個程式,其中必定有FETCH這個動作,對還錯?
5.Multiprogramming requires a batch OS. True or False?
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 61.230.171.103
1F:推 biox:3.有點語病 我選錯, 07/04 00:56
2F:推 godman362:4.我認為是對的 07/05 07:42
※ 編輯: antirazin 來自: 61.230.161.111 (07/05 11:06)
※ 編輯: antirazin 來自: 61.230.161.111 (07/05 11:14)
3F:推 antirazin:第三題和第五題有單字打錯,予以更正~ 07/05 11:14
4F:推 ryanlei:2.False 4.True 查過書了 07/07 16:52
5F:→ ryanlei: . .* :: ?: <- these cannot be overloadded 07/07 16:52
6F:推 biox:那就是沒有別的用法的意思, 07/09 23:18
7F:推 zhuwyu:3 false ,because prime is infinte 07/26 19:06
8F:→ zhuwyu:5 false 07/26 19:07