找工作

来源:互联网 发布:百胜软件 编辑:程序博客网 时间:2024/04/28 15:09

9月13号开始寻找一份工作,投了深圳十几家公司的简历,没有什么消息,继续等待中…………!

希望在转弯处!

 9月20、21去了两家公司面试,结果都被英语给难住了。还有一个很明显的存在的问题:由于之前2.5年工作中都没有使用现在流行的框架,而是使用所在公司自己开发的框架。因此本人没有struts、spring、hibernate项目经验。

 面试试题:

1.Write a SQL statement that shows ONLY the contestants from countries with more than 10 medalists of ANYTYPE.

Table contestant{
      name_of_contestant char(200),
      country char(200)
}

Table medals{
      country char(200),
      number_of_gold_medals int,
      number_of_gold_medals1 int,
      number_of_gold_medals2 int
}

答案:

select a.name_of_contestant,a.country  from contestant a, medals b where a.country = b.country and b.number_of_gold_medals + b.number_of_gold_medals1 +b.number_of_gold_medals2 > 10;

2.汉诺塔N层求最少步骤算法。

3.一个switch结构的输出结果:

switch(i){
         default:
             System.out.println("default");
         case 3:
             System.out.println("3");
             break;
         case 6:
             System.out.println("6");
         case 9:
             System.out.println("9");
        }

当i=0时输出是:default 3

当i=3时输出是:3

当i=6时输出是:6 9

当i=9时输出是:9

当i=5时输出是:default 3

 

4.一个递归的算法的输出:

    public static void innerMethod(int e){
        System.out.println(e);
        if(e>=0){
            e--;
            innerMethod(e);
            System.out.println(e);
        }else{
            System.out.println(e);
        }
    }

innerMethod(3);

输出结果是:3 2 1 0 -1 -1 -1 0 1 2

待续中。。。。。