北京宇信科技面试.docx

上传人:工**** 文档编号:547738208 上传时间:2023-01-03 格式:DOCX 页数:20 大小:27.46KB
返回 下载 相关 举报
北京宇信科技面试.docx_第1页
第1页 / 共20页
北京宇信科技面试.docx_第2页
第2页 / 共20页
北京宇信科技面试.docx_第3页
第3页 / 共20页
北京宇信科技面试.docx_第4页
第4页 / 共20页
北京宇信科技面试.docx_第5页
第5页 / 共20页
点击查看更多>>
资源描述

《北京宇信科技面试.docx》由会员分享,可在线阅读,更多相关《北京宇信科技面试.docx(20页珍藏版)》请在金锄头文库上搜索。

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

2、efine as the starting point of new thread in a class from which new the thread can be excution? b void start() void run() void runnable() static void main(String args) 3:Which statement about listener is true? A什么是Listener component allow multiple listeners to be added. multiple listener be add to a

3、 single component, the event only affected one listener. don?t allow multiple listeners to be add. 4:软件生命周期的瀑布模型把软件项目分为3个阶段、8个子阶段,以下哪一个是正常的开发顺序? a A.计划阶段、开发阶段、运行阶段 B.设计阶段、开发阶段、编码阶段 C.设计阶段、编码阶段、维护阶段 D.计划阶段、编码阶段、测试阶段 5: b1. What will be printed when you execute the following code? 2. 3. class X 4. b =

4、 new Y(); () 7. 8. (X); 9. 10. 11. 12. class Y 13. 14. Y() 15. (Y); 17. 18. 19. 20. public class Z extends X 21. 22. Y y = new Y(); () 24. 25. (Z); 26. 27. public static void main(String args) 28. 29. new Z(); 30. 31. 32. 33. Choices: 6: c 1. Give the following method: 2. public void method( ) 3. St

5、ring a,b; 4. a=new String(“hello world”); 5. b=new String(“game over”); 6. (a+b+”ok”); 7. a=null; 8. a=b; 9. (a); 10. 11. In the absence of compiler optimization, which is the earliest point the obj ect a refered is definitely elibile to be garbage collection. line 5 line 6 line 7 line 9 7: c 1. Whi

6、ch is the most appropriate code snippet that can be inserted at line 18 i n the following code? 2. 3. (Assume that the code is compiled and run with assertions enabled) 4. 5. 1. import *; 6. 7. 2. 8. 9. 3. public class AssertTest 10. 11. 4. 12. 13. HashMap cctld; 14. 15. 6. 16. 17. AssertTest() 18.

7、19. 8. 20. 21. 9. cctld = new HashMap(); 22. 23. (in, India); 24. 25. (uk, United Kingdom); 26. 27. (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. 4

8、1. country = (String)(countryCode); 42. 43. country; 44. 45. 21. 46. 47. 22. countryCode != null; countryCode != null : Country code can not be null ; cctld != null : No country code data is available; cctld : No country code data is available; 8:Which declares for native method in a java class corr

9、ected? b native void method() native void method(); native method(); void native method(); 9: d 1. What will be the result of executing the following code? 2. 3. public static void main(String args) 4. 5. char digit = a; 6. for (int i = 0; i 7. (digit) 9. 10. case x : 11. 12. int j = 0; 13. (j); 14.

10、 15. default : 16. 17. int j = 100; 18. (j); 19. 20. 21. i = j; (i); 24. 25. 26. Choices: will be printed 11 times. code will not compile because the variable i cannot be declared twice within the main() method. code will not compile because the variable j cannot be declared twice within the switch

11、statement. of these. 篇二:北京某公司运维工程师面试题 一、有文件file1 1、查询file1里面空行的所在行号 awk if($0/$/)print NR file or grep -n $ file |awk BEGINFS=”:”print $1 2、查询file1以abc结尾的行 grep abc$ file1 3、打印出file1文件第1到第3行 sed -n 1,3p file1 head -3 file1 二、如何将本地80端口的请求转发到8080端口,当前主机IP为 -A PREROUTING -d -p tcp -m tcp dport 80 -j DN

12、AT to-destination :9000 三、crontab 在11月份内,每天的早上6点到12点中,每隔2小时执行一次/usr/bin/ 怎么实现 0 6-12/2 * 11 * /usr/bin/ 四、编写个shell脚本将/usr/local/test 目录下大于100K的文件转移到/tmp目录下 #!/bin/bash for file in ls /root do if -f $file ; then if ls -l $file|awk print $5 -gt 10000 ; then mv $file /tmp/ fi fi done 五、简述raid0 raid1 raid5 三种工作模式的工作原理及特点。 RAID 0:连续以位或字节为单位分割数据,并行读/写于多个磁盘上,因此具有很高的数据传输率,但它没有数据冗余,因此并不能算是真正的RAID结构。RAID 0只是单纯地提高性能,并没有为数据的可靠性提供保证,而且其中的一个磁盘失效将影响到所有数据。因此,RAID 0不能应用于数据安全性要求高的场合。 RAID 1:它是通过磁盘数据镜像实现数据冗余,在成对的独立磁盘上产生互为备份的数据。当原始数据繁忙时,可直接从镜像拷贝中读取数据,因此RAID 1可以提高读取性能。RAID 1是磁盘阵列中单位成本最高的,但提供了很高的数据安全性和可用性。当一

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

当前位置:首页 > 办公文档 > 工作范文 > 思想汇报

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