天天看点

[面试汇总]-- 高级java工程师笔试题

判断题

1、UDP协议可以保持包的发送序列,TCP不能

2、UDP有连接,建立需要三次握手

3、71.86.162.0和71.86.160.0 NETMASK 255.254.0.0在同一网段中

4、64位计算机使用32位操作系统,一个进程可以使用8G物理内存

5、快速排序时间复杂性O(N^2)

6、一个线程只可以属于一个进程

7、BASE64可以用来对数据加密

8、RSA是非对称加密算法

填空

1、f(n)= 6×2^n+n^2,f(n)的渐进性态f(n)= O(      )

2、if( ( (a-1) & a )==0 ){....} 这段代码用来判断a是不是________

3、填空从第20个取到第29个,select * from chatroom limit _19_ , 1__

4、下面这段字符Accept-Language: zh-cn,zh;q=0.5 Accept-Charset: GB2312,utf-8;q=0.7,*;q=0.7 Accept: text/html,application/xhtml+xml,application/xml看起来像_____请求的一部分

5、下面常用端口对应哪些服务 22:_______   80:_______   3306:_______  21:_______

6、32位有符号整形最大正值是____________?(用10进制或者16进制表示均可)

7、git提交代码的常用命令commit pull push,提交代码的常见操作顺序是_______________

8、见过my.cnf这个文件么?是______的配置文件

9、见过hosts这个文件么?是______的配置文件

10、会python、php、perl、erlang、ruby中的哪些语言?________

问答题

1、MD5处理密码有的时候要用salt,作用是什么

2、翻译In theoretical computer science, the CAP theorem, also named Brewer's theorem after computer scientist Eric Brewer, states that it is impossible for a distributed computer system to simultaneously provide all three of the following guarantees:Consistency (all nodes see the same data at the same time), Availability (a guarantee that every request receives a response about whether it succeeded or failed), Partition tolerance (the system continues to operate despite arbitrary partitioning due to network failures)

3、数据库索引常用数据结构不可能是那种 链表、栈、树、队列?为什么?

4、tcpdump top w ll ps scp mv chmod chown cat ,任选5个解释用处

5、数据库连接池是干吗的?

6、Ngnix+tomacat搭建的网站服务器,nginx作用是什么?

7、redis、memcache用过哪一个?使用的目的是什么?