用友实习笔试题

时间:2020-12-10 10:43:08 笔试题目 我要投稿

用友实习笔试题

  1 要想精神健康,人们必须有自尊。人们只有不断赢得他们所尊重的人的尊重,才能够保持他们的自尊,而他们要赢得这种尊重,就必须善待他们所尊重的人。

用友实习笔试题

  以下哪个结论可从以上陈述中推出?

  (A)精神健康的人会得到别人的善待。

  (B)精神健康的人会善待他们所尊重的人。

  (C)精神健康的人为得到他人的善待就必须有自尊。

  (D)只有善待他人,才能期望得到他人的善待。

  (E)自尊的人很少善待他们所尊重的人。

  2请简述什么是时间复杂度,描述你所知道的排序算法及其时间复杂度.

  3请简述你基于表示层、业务逻辑层、数据层三层结构应用程序框架的理解。

  4当类只能有一个实例而且客户可以从一个众所周知的访问点访问它时;

  当这个唯一实例应该是通过子类化可扩展的,并且客户应该无需更改代码就能使用一个扩展的实例时。

  请指出上述情况可以使用设计模式 ,请写出该模式的实现代码。

  5下面的代码要根据XML数据来构建一个QueryControllerBean对象,该对象是对Html控件的`一个java抽象,QueryControllerBean分为不同的类型,每种类型都有独特的构造过程,请根据实际场景重构下面的代码,给出一个更好的解决方案,达到更好的可读性,可扩展性和可维护性。(给出方案和关键的伪代码)

  public static QueryControllerBean createQueryControllerBean(

  QueryMetaDataBean bean, MetaData metaData) {

  //前面省去了一些代码

  String type = bean.getType();

  if (type.equals(“text”)) {// 如果是文本框类型

  //构建文本框控件的代码

  } else if (type.equals("select")) {// 如果是下拉框类型

  //构建下拉框控件的代码

  } else if (type.equals(“reference”)) {// 如果是参照类型

  //构建参照控件的代码

  }else if (. . .){

  . . .

  }else{

  . . .

  }

  //省去了一些代码

  return controllerBean;

  }

  6写一段程序来删除一个目录及目录下的所有内容。

  7现在有一个记录笑话的数据表:jokes。这个表包含五个列:ID、JokeText、JokeDate、AuthorName和AuthorEmail。这些列可以使我们标识笑话(ID),明了他们的内容(JokeText),明了他们被加入的时间(JokeDate),知道笑话的作者(AuthorName)以及知道笑话作者的email(AuthorEmail)。其中,一个作者可以发布多个笑话,一个作者也可以包含多个email地址。该表数据示例如下:

  ID JokeText JokeDate AuthorName AuthorEmail

  1 Why did the… 2007-04-05 Ke Yank Kevin@sitePoint.com

  2 Knock knock… 2007-06-08 Joan Smith Joan@somewhere.com

  3 A man walked… 2007-05-06 Ke Yank Kyank@attglobal.net

  请问:该数据表在设计上存在什么问题?可以怎样设计来解决问题,给出您的设计。重新设计后的表符合那些范式?简述第三范式的定义(说出关键点即可)。

  8有数据表A(a,b,c)和数据表B(d,e,f),要求写sql文,查出B表满足A.a=B.d的记录以及A表的所有记录。

  9请写出sql语句统计第7题提供的表中各笑话作者的笑话个数。

  10 请给出下面两段文摘的中文翻译。

  JBoss -Entity Bean Locking

  Entity beans are a great way to provide an object-oriented interface to relational data. Beyond that, they can improve performance by taking the load off of the database through caching and delaying updates until absolutely needed so that the database efficiency can be maximized. But, with caching, data integrity is a problem, so some form of application server level locking is needed for entity beans to provide the transaction isolation properties that you are used to with traditional databases.

  Oracle-Disable Shared Server

  You disable shared server by setting SHARED_SERVERS to 0. No new client can connect in shared mode. However, when you set SHARED_SERVERS to 0, Oracle Database retains some shared servers until all shared server connections are closed. The number of shared servers retained is Either the number specified by the preceding setting of SHARED_SERVERS or the value of the MAX_SHARED_SERVERS parameter, whichever is smaller. If both SHARED_SERVERS and MAX_SHARED_SERVERS are set to 0, then all shared servers will terminate and requests from remaining shared server clients will be queued until the value of SHARED_SERVERS or MAX_SHARED_SERVERS is raised again.

【用友实习笔试题】相关文章:

360笔试题目07-11

华为2017笔试题08-16

华为2017笔试试题08-10

桂林银行笔试题笔经07-20

QMS2007笔试审核知识模拟试题11-02

用友面试经验介绍01-28

用友T3用友通财务软件操作方法08-12

用友JAVA笔试真题07-24

眼线笔类型-如何挑选眼线笔11-09

用友T3(通10系列)软件套打用友凭证账簿方法08-22