天天看點

[面試彙總]-- 進階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用過哪一個?使用的目的是什麼?