xingxing12006-01-24 03:47:04
这有几个面试题目,看看各位能答几个 :)

1. Object A and B need to communicate with each other. However, object A and B, cannot refer to, or contain each other directly. What way or ways can you think of that would allow object A and B to communicate?

2. Given a very simple microprocessor with no multiply, divide, or subtract instructions what algorithm would you use to implement an integer divide by 7? Assume that the microprocessor and your algorithm will be part of real-time process control system. Explain why you think your algorithm is a good choice for use in a real-time control system.

3. Write code to build an array S from integer array R such that array S contains only one instance of those integers from R that are not evenly divisible by any other integer in R.

4. What class structure would you use for a person scheduling their car for a tune up?

5. In a multi-user database application with no built-in record locking mechanism in the database, how would you ensure that a record does not get updated by two users at the same time?

NotALawyer22006-01-24 05:33:11
try
德性2006-01-24 08:45:19
有时间限制吗?
德性2006-01-24 08:46:38
好像都错了
德性2006-01-24 08:47:33
第一题我差点就想到aspect去了,好险
德性2006-01-24 08:52:01
你可以自己搭啊
德性2006-01-24 08:59:35
第二题第一问shift来shift去应该就够了
德性2006-01-24 09:00:40
shift死丫的!!嘿嘿,就不用别的
德性2006-01-24 09:03:20
8位机还可以狠狠的优化一下。
德性2006-01-24 09:04:29
美国面试这风格啊,下次不怕了。
德性2006-01-24 09:14:40
笔式还是口试题?
德性2006-01-24 09:16:45
光用shift挤出来估计就录取了。
德性2006-01-24 12:14:36
我英语还是有很大的亲和力的,要是口试我可能去美国碰运气
德性2006-01-24 12:16:51
第5题找到一个合适的地方掐一把。。。
德性2006-01-24 12:23:46
try同志,答案不中要地
德性2006-01-24 12:26:44
老美还不算欺负人。。哈哈
德性2006-01-24 12:29:07
搭成了更好,你以为老美傻啊?
xingxing12006-01-24 16:29:25
两小时
德性2006-01-25 12:35:26
回复:两小时