神州泰岳测试试题(笔试)

来源:互联网 发布:采购一般用哪些软件 编辑:程序博客网 时间:2024/04/26 08:14

一、 基本素质(25’’)
1、 将2吨冰变成水,最快的方法是什么?
2、 加热会凝固的东西是什么?
3、 请就“欧洲见闻录”猜一小说名字
4、 如何能够与自己的主管保持良好的工作关系?
5、 你认为IT研发人员要具备的五种最重要的素质是什么?为什么?
6、 如果有人对你感叹“好心不得好报”,你如何来改变他的观点?(用不超过一百个汉字来描述)
7、 你主张加班和主张不加班的理由分别是什么?
8、 假设你的朋友请你帮忙到超市买以下物品:
葡萄、鸡蛋、土豆、胡萝卜、桔子、菠菜、苹果、咸鸭蛋、酸奶
如果你只能靠脑子记忆,你会用什么办法来更容易地记下?
二、 计算机基础(30分钟)
9、Word97/2000中的“格式刷”如何使用?
10、Word97/2000中的“大纲视图”与“页面视图”的区别是什么?
11、在七原色中,那种颜色能够与紫色形成最大对比的颜色搭配?
12、Gif图形格最高支持多少颜色数?
13、Photoshop中的将被编辑图形放大显示的快捷键是什么?
14、美工设计某个页面的底色为RGB(153,134,255),则体现在页面中的HTML代码为<body bgcolor=”???????”>,请写出???????所代表的代码。
15、要求网页上的某个URL链接(链接文字为”link”)点击后开一个新的浏览器窗口,然后在窗口中显示http://localhost/c.html,请写出对应代码。
16、要求在html页面上做一个宽度为40像素的文本输入框,文本框中输入的文字都以Arial字体显示。对应的代码是<input type=”test” name=”username” style=”FONT-FAMILY: Arial” style=”width:??”>,请写出??所代表的html代码。
17、在某个网站的根目录下有两个文件:index.html和mail.html,要求用户访问默认页面index.html 5秒后,页面自动跳转到mail.html。对应的html代码是<meta http-equiv=”refresh” content=”5;URL=?????”>,请写出?????对应的代码。
18、要求用jsp实现以下功能:用户在浏览器的地址栏中看到的地址是http://127.0.0.1/test/a.jsp,但实际在浏览器中看到的页面内容却是http://127.0.0.1/text/b.jsp。请问在a.jsp中用一句什么样的jsp代码可以实现这个功能?
19、要求以css方式实现鼠标移动到网页上链接时链接不出现下划线,请写出对应的css代码
20、在C语言fopen()函数中,打开文件的方式用”r”与”r+”的区别是什么?打开文件的方式用”r”与”w”的区别是什么?”w”与”wb”的区别是什么?
21、C语言中常常使用#include语句指明所要用的“函数头文件”,在Windows2000操作系统下,系统的“函数头文件”放在什么地方?UNIX操作系统下,系统的“函数头文件”放在什么地方?
22、画出程序流程图:用C语言编程,判断一个给定的字符串是否为有效的IP地址,输出判断结果。举例:testip 10.1.1.1输出“10.1.1.1 is a valid IP Address”
三、 数据库开发(25分钟)
23、ASP执行原理是:
A. Connection.        B. ResordSet.        C.存储用户信息,进行安全管理.
D.应用服务器.
26、Exchange Server作为文档管理服务器,常用的开发手段包括:
A.ADO.             B.WebDAV.         C.Socket.       D.CDO.
27、MS SharePoint Portal Server实现的主要功能包括:
A.门户服务.       B.文档管理服务.        C.信息检索服务.   D.以上都是.
28、Every night the sales database backup fails. Which DBCC command could repair the Sales database and check the data integrity and indices?
A.DBCC NEWALLOOC    B.DBCC CHECKALLOC    C.DBCC CHECKDB
D.DBCC DBREPAIR
29、You install SQL server on an IIS machine.You need to optimize IIS. What do you configure on SQL Server?
A.Set working set size      B.Min Server memory      C.Max server memory
D.Max worker threads
30、It took you hours to create an index on a table.What should you do to protect it?
A.Backup master database    B.Backup user database  
C.Make differential backup of user database         D.Backup log
31、You need to produce a list of the five highest revenue transactions from the Orders table in the Sales database.The Orders table is defined as follows:

CREATE TABLE Orders{
OrderID                  int IDENTITY(1,1)            NOT NULL,
SalePersonID              int                          NOT NULL,
RegionID                 int                         NOT NULL,
Orderdate                 datetime                    NOT NULL,
OrderAmount              int                         NOT NULL,
}

Which statement will produce the report?
A. SELECT TOP 5 OrderAmount,SalePersonID FROM Orders ORDER BY OrderAmount.
B. SELECT TOP5 OrderAmount,SalePersonID FROM Orders.
C. SELECT TOP 5 with TIES OrderAmount,SalePersonID FROM Orders ORDER BY OrderAmount.
D. SELECT TOP 5 with TIES OrderAmount,SalePersonID FROM Orders ORDER BY OrderID.
32、You are creating a large index on the EMP table.This index will have a high number of inserts.To speed up creation of the index, what can be done?
A. Use the NOLOGGING clause in the CREATE INDEX command.
B. Use the same INITRANS value of the corresponding table on the index.
C. SET the DB_BLOCK_SIZE to multiples of 5.
D. Place indexes in separate tablespaces.
33、The CALC_COMM procedure is no longer needed and should be remouved. Which command will successfully drop this procedure?
A. DROP calc_comm;
B. REMOVE calc_comm;
C. DROP PROCEDURE calc_comm;
D. ALTER calc_comm. DROP PROCEDURE;
34、Which of these statements is always true?
A.A database must contain at least three datafiles.
B.Control files must be mirrored.
C.A database has at least two groups of redo log files.
D.The members of a redo log group can have various sizes if they can be stored on one disk.
35、For which column would you create an index?
A.A column that is small
B.A column that is updated frequently
C.A column containing a wide range of values
D.A column with a small number of null values

四、分析理解,请分析下术JavaScript函数,回答下面问题:(20分钟)
function popup_search(factory,backfill_fill_form,backfill_attr){
var
url=”http://DEMO/exam.exe?OP=SEARCH”+”+FACTORY=”+factory+
”+KEEP.IsPopUp=1”+”+KEEP.backfill_field=”+backfill_field+
“+KEEP.backfill_form=”+backfill_form;
if (typeof backfill_attr==”string”&& backfill_attr.length!=0){
 var f=document.forms[backfill_form];
 if(typeof f==”object”){
  var e=f.elements[backfill_form];
  var name_qbe=””;
  if(backfill_attr==”QBE” && val.length>0){
   var n=val.split(/[,]/,3);
   if(typeof n[0]==”string”&&n[0].length>0)
    name_qbe+=”+QBE.IN.last_name=”+escape(n[0]);
   if(typeof n[0]==”string”&&n[1].length>0)
    name_qbe+=”+QBE.IN.last_name=”+escape(n[1]);
   if(typeof n[0]==”string”&&n[2].length>0)
    name_qbe+=”+QBE.IN.last_name=”+escape(n[2]);
   val=””;
  }
  if(val.length>0||name_qbe.length>0){
   if(val.length>0)
    url+=”+QBE.IN.”+backfill_attr+”=”+escape(val);
   if(name_qbe.length>0)
    url+=name_qbe;
  
}
 }
}
var name=””;
var features=”location=no”+”,menubar=no”+”,toolbar=no”;
w=window.open(url,name.features);
w.focus();
return w;
}
 
36、入口参数backfill_field和backfill_from应该表示什么含义?
37、调用该函数应该会弹出一个新的浏览器窗口。如果需要使窗口的高度为100,宽度为150,应该如何修改?
38、如果用popup_search(“cr”,”SET.assignee”,”main”,”QBE”)方式调用该函数,打开新窗口的URL大致应该怎样?
五、JAVA基础和开发(20分钟)
39.如下代码的输出是什么?
 
class ValHold{
    public int I=10;
 }
 public class ObParm{
  public static void main(String argv[]){
      ObParm o=new ObParm();
      o.amethod();
   }
   public void amethod(){
      int I=00;
      ValHold v=new ValHold();
      v.i=30;
      another(v,i);
      System.out.println(v,i);
   }//End of amethod
   public void another(ValHold v,int i){
     I=0;
     v.i=20;
     ValHold vh=new ValHold();
     V=vh;
     System.out.println(v.i+” ”+i);
   }//End of another
 }
40、描述如下代码的错误,并改正之:
 
public interface SomethingIsWrong{
  public voi daMethod(int aValue){
   System.out.println(“Hi Mom”);
  }
 }

41、以下界面都用了什么控件?请一一列出。另外,界面中是否应用了高级特效技术?你可以做出多少种特效效果?(比如淡入淡出、图像通道合成及半透明处理、面板弹出等)

 
42、同样对上面的界面,如果是你,你会用什么样的布局方式来进行部署,请详细阐述?另外对A、B、C三种内容的界面风格提出自己的想法。
43、JDBC访问数据库后得到的ResultSet 以0还是1开始?
44、对如下的继承关系,你在作对对象持久化时准备怎样设计数据库表,并给出相应的数据库访问代码?