- ·上一篇知名企业资料:SAP(逻辑智力测试)
- ·下一篇知名企业资料:Sap 笔试题目
SAP笔试(技术部分)
作者:佚名 来源:不详 发布时间:2007-4-27 15:31:00
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.What''s the difference between String and StringBuffer?
3.Which came the first,chicken or the egg?
4.In C++,there''re four types of Casting Operators,please enumerate and explain
them especially the difference.
5.Let''s 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;
|
请在邮件中注明:信息来自Byszp.COM
[各地求职生活指南]
[进入查询知名企业资料]
![]() ![]() |


