SAP笔试(技术部分)
出自求职百科
点击排行
- Index - (261231)
- 宝洁 - (58985)
- 华为 - (55660)
- 普华永道 - (43287)
- IBM - (41174)
- 中国银行 - (36796)
- 毕马威 - (34754)
- 富士康 - (31678)
- 招商银行 - (31465)
- 强生 - (31410)
最近更新
Prerequisite Notice:
Answers are preferred in English; Test time is 60 minutes; Finish more than one question.
1.Give an example of implementing a Stack in the template way(only template class declaration without detail definition and realization)
2.Whats the difference between String and StringBuffer?
3.Which came the first,chicken or the egg?
4.In C ,therere four types of Casting Operators,please enumerate and explain them especially the difference.
5.Lets say we have a database with 1 one-column table.It contains same record s. Could you please give at least 1 solution to help us get records between line 5 and 7. No line number,row id or index etc.
6.What will be the output of the following codes?
- include <iostream.h>
- define DBL(x) x x
int main()
{
int a=3;
int b=4;
int c=DBL(a)*DBL(b);
cout<<c<<endl;
return 0;
}
7.Please write a program to realize the model described in the figure.You should design your program as generic as possible so that we can enhance the m odel in the future easily without making too much change in your program.
Process1:X=A B;
Process2:Y=C D;
Process3:if E>=0
Z=E;
Process4:if E<0
Z=E/B;
