作者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