一 基础题(10分钟)
1. 在C++或C#中(任意一种语言),struct和class有什么不同?
Struct的成员默认是公有的
class的成员默认是私有的
2. 类成员函数的重载,覆盖,隐藏的区别。
重载:允许存在多个同名函数,而这些函数的参数表不同
覆盖:是指子类重新定义父类虚函数的方法
隐藏:将父类成员函数封装
3. 用class定义一个链表,包括链表节点的定义,还有链表的基本方法定义。
Class Node Class LinkedList
{ {
} }
4. 下列关键字的含义
public:公有成员
private:私有成员
protected:受保护乘员
static:静态成员
const:定义常量
测试部分(15分钟)
黑盒测试:已知产品的功能设计规格,可以进行测试证明每个实现了的功能是否符合要求。
白盒测试:已知产品的内部工作过程,可以通过测试证明每种内部操作是否符合设计规格要求,所有内部成分是否以经过检查。

1)
2)
3)
4)
5)
6)
7)
8)
耐温测试:测试杯子耐温性,倒入高温水会不会破裂
耐压测试:对杯子进行挤压,并查看压力多少时杯子破裂
二 数据库/SQL(25分钟)
1. 用SQL语句实现从表t_Temp中提取所有记录,并按照字段f_Field升序排序
SELECT * FROM t_Temp INORDER BY f_Field ASC
2. 按照第2题的字段f_Field升序排序,实现从表t_Temp中只提取第20到第30条记录。
SELECT TOP 11 * FROM (SELECT TOP 11 * FROM t_Temp INORDER BY f_Field ASC
) INORDER BY f_Field ASC
三 算法题,任意语言(30分钟)。
1. 写一个算法实现对无序的数组的升序或者降序排序。
Public static void main(String[] args)
{
public static void selectSort(char[] data)
{
int i,j,k,temp;
for(i = 0; i
{k= i ;
for(j = i+1 ; j
{if(data[mx] < data[j])
k = j ;}
temp = a[i];a[i] = a[k];a[k] = temp;
}
}
}
2.已知数列:1,1,2,3,5,8,13,21,34,….. 写一个算法求第N个数值.
Public int fb(int n)
{
If(n=1 || n=2)
{return 1;}
Else
{
Return fb(n-2)+fb(n-1);
}
}
3.给出一个字符串,如’I like football and I like basketball’。请找出里面重复的字母,并找出它重复的次数。
四 翻译(20分钟)。
1.英->汉,请翻译下边一段文章。
Microsoft UI Automation (UIA) is similar to Microsoft Active Accessibility (MSAA) in that it provides a means for exposing and collecting information about user interface elements and controls to support user interface accessibility and software test automation. However, UIA is a newer technology that provides a much richer object model than MSAA, and is compatible with both Win32 and the .NET Framework. UIA is designed so that it can be supported across platforms other than Microsoft Windows. For controls and frameworks written from scratch, UIA is recommended today. While MSAA is handy for relatively simple controls, the technology doesn’t support the complexity of modern user interfaces.
MUIA是类似于MSAA的,它提供用户界面要素解释和信息收集,它控制着用户界面的互动性和软件测试自动化。不管怎样,UIA一个新的技术就是他所提供的项目模式比MSAA丰富很多,并且和Win32和.NET框架相兼容。UIA被设计成支持跨平台性,并超过Microsoft Windows。它使用scratch写入核心和框架,UIA现在都很受欢迎。当然MSAA便利之处在于它能把简单控制联系起来,但是这个技术不能支持复杂的用户界面模式。
2. 用英文写一篇自我介绍
Hello,it’s really my honor to have this opportunit for an interview.now,i will introduce myself briefly.
my name is Hongcheng,my english is heri.i am born in Fer 1991,and i’m come from Fengxin Country Jiangxi Province.my major is App Software Development.
i speng most of my time on study,and i have acquired basic knowledge of my major during my school time .In March 2012,Ibegin working in the Vance Complany as a intern (student) in WuHan. In here , not only the Company staff and the other teammates help me improve myself,but also they give me so much opportunit to show my private String suit。moreover ,i like play basketball、chess、reading、Classical music and tourism ['tu riz m] .that is me.
so ,at last ,i think i’m a good player and i’m a personof great honestry to others.Also i’m able to work under great pressur.that all,thank you for giving me the chance.