98、开放式问题:工作中遇到不懂的问题是怎样去解决的?
参考解答:首先到百度上搜索中文的资料,一般都可以找到解决方案,如果还找不到解决方案就到google上搜索英文的资料,如果还没有解决方案就请教同事,如果同事也没有解决方案,就将问题提交到MSDN论坛。
99、开放性问题:你能说出哪些数据库?
参考解答:MSSQLServer、Oracle、Access、DB2、Sybase
100、开放性问题:你能说出尽可能多的你听说过的编程语言? (*)
参考解答:C#、VB.Net、Ada、Cobol、C、C++、Delphi、Erlang、F#、Fortran、Java、JavaScript、Pascal、Python、PowerShell、Ruby、Smalltalk。
101、请翻译下面的文章(*)
The BaseDataBoundControl is the root of all data-bound control classes. It defines the DataSource and DataSourceID properties and validates their assigned content. DataSource accepts enumerable objects obtained and assigned the ASP.NET 1.x way.
Mycontrol1.DataSource = dataSet;
Mycontrol1.DataBind();
DataSourceID is a string and refers to the ID of a bound data source component. Once a control is bound to a data source, any further interaction between the two (in both reading and writing) is handled out of your control and hidden from view. This is both good and bad news at the same time. It is good (rather, great) news because you can eliminate a large quantity of code. The ASP.NET framework guarantees that correct code executes and is written according to recognized best practices. You’re more productive because you author pages faster with the inherent certainty of having no subtle bugs in the middle. If you don’t like this situation—look, the same situation that many ASP.NET 1.x developers complained about—you can stick to the old-style programming that passes through the DataSource property and DataBind method. Also in this case, the base class saves you from common practices even though the saving on the code is less remarkable.
参考翻译(自我感觉翻译的很烂,仅供参考。):
BaseDataBoundControl是所有的数据绑定控件类的根类。它定义了DataSource、DataSourceID两个属性,并且对为它们赋值的内容进行验证。DataSource属性接受读取、设置ASP.Net 1.x方式的IEnumerable 对象。
Mycontrol1.DataSource = dataSet;
Mycontrol1.DataBind();
DataSourceID 是一个字符串,引用绑定的数据源控件的ID。一旦一个控件绑定到了数据源,这两者之间的任何交互(读和写)都会在你的控件之外被处理,并且被隐藏起来。这既是好消息也是坏消息。ASP.Net框架保证代码按照最佳实践进行代码的执行、编写。你会更加高效,因为你编写了更快的、没有任何错误的分页代码。如果你不喜欢这样的行为(看,就和ASP.Net 1.x开发人员抱怨的一样),你仍然可以使用老的编程风格,也就是将对象传递给DataSource属性,然后调用DataBind方法。另外在这种情况下,基类可以帮你避免常规的做法,即使看起来改进不明显。
102、在下述选项时,没有构成死循环的程序是 (C)
A.int i=100;while (1) { i=i%100+1; if (i>100) break; }
B.for (;;);
C.int k=1000; do { ++k; }while(k>=10000);
D.int s=36; while (s);–s;
103、下列哪个是和数据库访问技术关系不大的技术(C)
A、SQLHelper
B、EnterPrise Library
C、AppDomain
D、Linq
104、下列哪些说法是错误的
A、将bmp格式的文件修改为jpg是修改图片格式最简单的方法
B、将QQ动态表情显示在网页上用gif格式比较好
C、将bmp格式的图片放到网页中可以优化网站速度
D、png格式用在网页中可以实现透明的效果。
答案:A、C。A错误是因为修改文件的后缀并没有真的修改文件的格式,要使用Photoshop、mspaint等图片处理工具进行转换才可以。C错误是因为在网页中不能使用bmp图片。
105、从以下简写中任选一个简单描述
OAMISHRMCRMKM
参考答案:
OA(Office Automation):办公自动化
MIS(Managment Information system):管理信息系统
HRM(Human Resource Managment):人力资源管理,包括员工管理、薪资管理、入职管理、离职管理、报销管理、请假管理等
CRM(Customer Relation Managment):客户关系管理系统,包括客户管理、客户关怀、客户回访、投诉管理、咨询管理、报修管理等
KM(Knowledge Managment):知识管理
106、请在数据库中设计表来保存一个树状结构的公司组织结构
参考呼叫中心项目的代码和板书。
107、下面程序的执行结果是什么?
public struct Point
{
public int x;
public int y;
public Point(int x, int y)
{
this.x = x;
this.y = y;
}
}
Point p1 = new Point(100, 100);
Point p2 = p1;
p1.x = 200;
Console.WriteLine(“{0},{1}”, p1.x, p2.x);
答案:
200,100
解答:结构体是复制传递的。
108、在Windows命令行中敲入下面的指令各有什么反应 :
cd ..
notepad
cmd
ipconfig
dir
答案:
cd ..:进入上一级目录
notepad:打开记事本
cmd:启动另外一个命令行
ipconfig:打印网络设置信息
dir:显示当前目录下的文件
109、下列这些软件用过哪些?他们是用来做什么的?
TypeAndRun、FoxMail、Reflector、UltraEdit、VSS、VirtualPC、VMWare
参考答案:
TypeAndRun:快速通过敲命令的方式启动其他程序的工具。
FoxMail:邮件收发客户端
Reflector:.net程序反编译工具
UltraEdit:高级文本编辑器
VSS:源代码管理工具
VirtualPC:在一台计算机中虚拟出另外一个计算机的软件,是微软的产品
VMWare:和VirtualPC一样,也是一种虚拟机软件