宇信易诚笔试题

上传人:xzh****18 文档编号:34583164 上传时间:2018-02-25 格式:DOC 页数:10 大小:194.50KB
返回 下载 相关 举报
宇信易诚笔试题_第1页
第1页 / 共10页
宇信易诚笔试题_第2页
第2页 / 共10页
宇信易诚笔试题_第3页
第3页 / 共10页
宇信易诚笔试题_第4页
第4页 / 共10页
宇信易诚笔试题_第5页
第5页 / 共10页
点击查看更多>>
资源描述

《宇信易诚笔试题》由会员分享,可在线阅读,更多相关《宇信易诚笔试题(10页珍藏版)》请在金锄头文库上搜索。

1、我知道笔试 B 是英文水平测试,包括三部分, 单词、英译汉、作文 ,难度都不大但是他们的要求非常之高,总共 6 个题,共 11 个空,我们必须对 9 个才算及格,也就是说最多错一道题吧,因为有些题是 3 个空,有些是 2 个空, 1 个空的就那么 1、2 道吧。题型大概是这样的:题目大概都是在 10 多个框中放 10 多个数字,然后根据框中的数字来完成图表中(流程控制图)的逻辑判断和逻辑走向以此来给出它所要求的空的答案。选择题 1:鉴于 Java 的特点,它最适合的计算环境是 bA.并行计算环境 B.分布式计算环境 C.高强度计算环境 D.开放式计算环境 2:Which method you

2、define as the starting point of new thread in a class from which new the thread can be excution? bA.public void start() B.public void run() C.public void runnable() D.public static void main(String args) 3:Which statement about listener is true? A 什么是 ListenerA.Most component allow multiple listener

3、s to be added. B.If multiple listener be add to a single component, the event only affected one listener. C.Component don?t allow multiple listeners to be add. D.none 4:软件生命周期的瀑布模型把软件项目分为 3 个阶段、8 个子阶段,以下哪一个是正常的开发顺序? aA.计划阶段、开发阶段、运行阶段 B.设计阶段、开发阶段、编码阶段 C.设计阶段、编码阶段、维护阶段 D.计划阶段、编码阶段、测试阶段 5: b 1. What wi

4、ll be printed when you execute the following code? 2. 3. class X 4. 5. Y b = new Y(); 6. X() 7. 8. System.out.print(X); 9. 10. 11. 12.class Y 13. 14. Y() 15. 16. System.out.print(Y); 17. 18. 19. 20.public class Z extends X 21. 22. Y y = new Y(); 23. Z() 24. 25. System.out.print(Z); 26. 27. public st

5、atic void main(String args) 28. 29. new Z(); 30. 31. 32. 33.Choices: A.Z B.YZ C.XYZ D.YXYZ 6: c1. Give the following method: 2. public void method( ) 3. String a,b; 4. a=new String(“hello world”); 5. b=new String(“game over”); 6. System.out.println(a+b+”ok”); 7. a=null; 8. a=b; 9. System.out.println

6、(a); 10. 11.In the absence of compiler optimization, which is the earliest point the object a refered is definitely elibile to be garbage collection. A.before line 5 B.before line 6 C.before line 7 D.before line 9 7: c1. Which is the most appropriate code snippet that can be inserted at line 18 in t

7、he following code? 2. 3. (Assume that the code is compiled and run with assertions enabled) 4. 5. 1. import java.util.*; 6. 7. 2. 8. 9. 3. public class AssertTest 10. 11.4. 12. 13.5. private HashMap cctld; 14. 15.6. 16. 17.7. public AssertTest() 18. 19.8. 20. 21.9. cctld = new HashMap(); 22. 23.10.

8、cctld.put(in, India); 24. 25.11. cctld.put(uk, United Kingdom); 26. 27.12. cctld.put(au, Australia); 28. 29.13. / more code. 30. 31.14. 32. 33.15. / other methods . 34. 35.16. public String getCountry(String countryCode) 36. 37.17. 38. 39.18. / What should be inserted here? 40. 41.19. String country

9、 = (String)cctld.get(countryCode); 42. 43.20. return country; 44. 45.21. 46. 47.22. A.assert countryCode != null; B.assert countryCode != null : Country code can not be null ; C.assert cctld != null : No country code data is available; D.assert cctld : No country code data is available; 8:Which decl

10、ares for native method in a java class corrected? bA.public native void method() B.public native void method(); C.public native method(); D.public void native method(); 9: d1. What will be the result of executing the following code? 2. 3. public static void main(String args) 4. 5. char digit = a; 6.

11、 for (int i = 0; i 0) 8. System.out.println(“Finish”); 9. 10. 11.Which well be output: A.Doing it for l is 3 B.Doing it for l is 1 C.Doing it for l is 2 D.Doing it for l is 0 13:Use the operator “” and “”. Which statement is true? bA.1010 0000 0000 0000 0000 0000 0000 0000 4 give 0000 1010 0000 0000

12、 0000 0000 0000 0000 B.1010 0000 0000 0000 0000 0000 0000 0000 4 give 1111 1010 0000 0000 0000 0000 0000 0000 C.1010 0000 0000 0000 0000 0000 0000 0000 4 give 0000 0000 0000 0000 0000 0000 0000 0000 D.1010 0000 0000 0000 0000 0000 0000 0000 4 give 1111 1010 0000 0000 0000 0000 0000 0000 14:Which sta

13、tements about Java code security are not true? aA.The bytecode verifier loads all classes needed for the execution of a program. B.Executing code is performed by the runtime interpreter. C.At runtime the bytecodes are loaded, checked and run in an interpreter. D.The class loader adds security by sep

14、arating the namespaces for the classes of the local file system from those imported from network sources. 15: b1. What will happen when you attempt to compile and run the following code? 2. 3. class Base 4. 5. 6. 7. int i = 99; 8. 9. public void amethod() 10. 11. 12. 13. System.out.println(Base.amethod(); 14. 15. 16. 17. Base() 18. 19. 20. 21. amethod(); 22. 23. 24. 25. 26. 27.public class Derived extends Base 28. 29. 30. 31.int i = -1; 32. 33. 34. 35.public static void main(String argv

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 中学教育 > 试题/考题 > 高中试题/考题

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号