0901 afternoon
In the afternoon, it is an outsourcing company, which is to do topics. Remember and think that it is interesting, and I have not made the topic.
a. Write a function to enter a number, such as "123.05", returns "百 元 元 分".
At the beginning, I thought it was returned to the uppercase number, I still have to see it until I didn't make it. At the time, the idea should be started from "a hundred million", but because of time is urgent, there is no shortest. When I came back, I thought about it for a while, I will write the following code, and if it is tested within 100 million, it is only true that there is no decimal point.
namespace DefaultNamespace {class MainClass {public static void Main (string [] args) {Console.WriteLine ( "Hello World!"); ConvertNum a = new ConvertNum (); a.ConvertToCN (232128195);} class ConvertNum {public string [ ] strbig; public communication [) {strbig = new string [13]; strbig [0] = "yuan"; strbig [1] = "ten"; strbig [2] = "hundred"; strbig [3] = "thousand "; Strbig [4] =" 10,000 "; strbig [5] =" Pick up "; strbig [6] =" Hundred "; strbig [7] =" Thousand "; strbig [8] =" 100 million "; strbig [9 ] = "10"; strbig [10] = "hundred"; strbig [11] = "Thousand"; strbig [12] = "10,000";} public void converttocn (double number) {string strnum = Num.toString () Console.write;} public string getcn (string number) {int Nlen = Number.length; string straTemp = ""; for (int i = 0; i Case '9': return ""; default: return ";}} In fact, it is not difficult for the topic. It is not open. b. There is a table EMP, field (ID, name, divname, depid, amount); another table DEP, field (depid, depname, amount) (department), requires that all department's AMOUNT does not equal Department workers AMOUNT and department. It was a bit awkward when I read it. I didn't make it. I came back to check this way. Select * from Dep Where Amount Not in (SELECT SUM (Amount) from Emp Group by DepName) At that time, it was mainly unclear from the use of Group, failed. The above is a written test. I started to think that the written test may not play, I don't want me to take the interview. A total of four people have come up with a total of two. The question is mainly: 1. Just current written test I certainly don't excuse as much as possible. 2. Interview Answer to sum up: 1. Good company interviews you more people 2. The general written test is not difficult, the idea must let go! 3. Good companies have to test your E text (Generally a translation of a paragraph) Self-evaluation: 45 points