TT Information

1. How do you measure the automated phone?

2, automated design your Android or ios, use of technologies are what is?

3, is Python or Java Automation

4, how about the basics of Java? Frameworks to understand what

5, database crud know how much?

6, database tuning to know how much

7, middleware

8, repeat

9, queue

10, the server set up

11, you know how much of the common performance, what index yes. What criterion was?

12, to understand how much data interface

13, shell commands are what deep

------------------------------------------

1, packet capture tools commonly used functions, telling how the operation,

2, packet capture tool, how to locate the problem

3, if not caught packet, the question is where.

4, packet capture tool, how the rules specify,

5, if the filter problem,

6, how to capture the phone

7, how to modify the transmission data of the mobile phone side,

8, how weak network testing

9, redirection

10, how to break point

11, you use common packet capture tool, which can collection to the scene

12, the difference between nginx and tomcat container and what glashfaish

13, associated with your jenkins how much automation can

---------------------------

1, docker commonly used commands

2, design patterns to understand how much

3, only the basic features of a design automation java in time, can have an effect on what performance

4, commonly used commands and data structures redis how much you will

5, non-relational database query what would you

6、

----------------------------------

[1] program   Title: Classical problem: a pair of rabbits from the first 3 months after birth are born every month one pair of rabbits, bunnies grow up to the third month after the month gave birth to one pair of rabbits, if the rabbit not dead, asked the total number of rabbits per month how much?

1. Program analysis: number of rabbits column 1,1,2,3,5,8,13,21 law ....

 

 

 

[2] Program   Title: determining the number of prime numbers between 101-200 and the outputs of all primes.

1. Program Analysis: Analyzing Method primes: 2, respectively, with the removal of a number sqrt (this number), if divisible, this indicates that the number is not prime, a prime number and vice versa.

 

 

[3] Program   Title: print out all the numbers daffodils, narcissus refers to a so-called three-digit number, which is equal to the digits of the cube and the number itself. For example: 153 is a number daffodils, because cubic cubic cubic +3 +5 1 = 153.

1. Program analysis: using a control loop for the number of 100-999, each of the several decomposition bits, ten, one hundred.

 

 

 

[4] Program   Title: a positive integer decomposition of the quality factor. For example: the input 90, to print out 90 = 3 * 2 * 3 * 5. 

1. Program analysis: decomposition of the quality factor n, should find a smallest prime number i, then the following procedure is completed: 

(1) If the prime exactly equal to n, then the prime factor decomposition process has been completed, it can be printed out.

(2) if n> i, but is divisible by n i, you should print out the value of i, and n divided by using i as a new positive integer you repeat the first step.

(3) if n is not divisible by i, i + 1 is used as the value of i, the first step is repeatedly performed.

 

 

[5] Program   Title: using nested conditional operator to complete this question: academic students = 90 points represented by A, B is represented by between 60-89 minutes is represented by C 60 points or less.

1. Program analysis: (a> b) a:? B which is an example of the basic conditions for the operators.

 

 

[6] Program   Title: Enter two positive integers m and n, and seeking the least common multiple of the greatest common divisor.

1. Program analysis: using rolling division.

 

 

[7] Program   Title: Enter a line of characters, respectively, the statistics of the number of letters, spaces, numbers and other characters in them.

1. Program analysis: use for loop, if conditional statement.

 

 

[8] Program   Title: seeking s = a + aa + aaa + aaaa + aa ... the value of a, where a is a number. E.g. 2 + 22 + 222 + 2222 + 22222 (in this case the sum total of the number 5), a control keyboard a few numbers together.

 

【程序9】   题目:一个数如果恰好等于它的因子之和,这个数就称为"完数"。例如6=1+2+3。编程找出1000以内的所有完数。

 

 

【程序10】 题目:一球从100米高度自由落下,每次落地后反跳回原高度的一半;再落下,求它在第10次落地时,共经过多少米?第10次反弹多高?

 

【程序11】   题目:有1、2、3、4个数字,能组成多少个互不相同且无重复数字的三位数?都是多少?

1.程序分析:可填在百位、十位、个位的数字都是1、2、3、4。组成所有的排列后再去掉不满足条件的排列。   

 

【程序12】  题目:企业发放的奖金根据利润提成。利润(I)低于或等于10万元时,奖金可提10%;利润高于10万元,低于20万元时,低于10万元的部分按10%提成,高于10万元的部分,可提成7.5%;20万到40万之间时,高于20万元的部分,可提成5%;40万到60万之间时高于40万元的部分,可提成3%;60万到100万之间时,高于60万元的部分,可提成1.5%,高于100万元时,超过100万元的部分按1%提成,从键盘输入当月利润lirun,求应发放奖金总数sum?

1.程序分析:请利用数轴来分界,定位。注意定义时需把奖金定义成长整型。

 

 

 

【程序15】 题目:输入三个整数x,y,z,请把这三个数由小到大输出。

1.程序分析:我们想办法把最小的数放到x上,先将x与y进行比较,如果x>y则将x与y的值进行交换,然后再用x与z进行比较,如果x>z则将x与z的值进行交换,这样能使x最小。

----------------------

1、

 

2、项目中的监控:那个监控指标常见的有哪些?

 

3、微服务涉及到的技术以及需要注意的问题有哪些?

 

4、注册中心你了解了哪些?

 

5、consul 的可靠性你了解吗?

 

6、consul 的机制你有没有具体深入过?有没有和其他的注册中心对比过?

 

7、项目用 Spring 比较多,有没有了解 Spring 的原理?AOP 和 IOC 的原理

 

8、Spring Boot除了自动配置,相比传统的 Spring 有什么其他的区别?

 

9、Spring Cloud 有了解多少?

 

10、Spring Bean 的生命周期

 

11、HashMap 和 hashTable 区别?

 

12、Object 的 hashcode 方法重写了,equals 方法要不要改?

 

13、Hashmap 线程不安全的出现场景

 

14、线上服务 CPU 很高该怎么做?有哪些措施可以找到问题

 

15、Set

 

16、SQL 优化的常见方法有哪些

 

17、SQL 索引的顺序,字段的顺序

 

18、查看 SQL 是不是使用了索引?(有什么工具)

 

19、TCP 和 UDP 的区别?TCP 数据传输过程中怎么做到可靠的?

 

20、说下你知道的排序算法吧

 

21、查找一个数组的中位数?

 

22、你有什么问题想问我的吗?

 

电话二面(85 分钟)

 

1、自我介绍、工作经历、技术栈

 

2、项目中你学到了什么技术?(把三项目具体描述了很久)

 

3、微服务划分的粒度

 

4、微服务的高可用怎么保证的?

 

5、常用的负载均衡,该怎么用,你能说下吗?

 

6、网关能够为后端服务带来哪些好处?

 

7、Spring Bean 的生命周期

 

8、xml 中配置的 init、destroy 方法怎么可以做到调用具体的方法?

 

9、反射的机制

 

10、Object 类中的方法

 

11、hashcode 和 equals 方法常用地方

 

12、对象比较是否相同

 

13、hashmap put 方法存放的时候怎么判断是否是重复的

 

14、Object toString 方法常用的地方,为什么要重写该方法

 

15、Set 和 List 区别?

 

16、ArrayList 和 LinkedList 区别

 

17、如果存取相同的数据,ArrayList 和 LinkedList 谁占用空间更大?

 

18、Set 存的顺序是有序的吗?

 

19、常见 Set 的实现有哪些?

 

20、TreeSet 对存入对数据有什么要求呢?

 

21、HashSet 的底层实现呢

 

22、TreeSet 底层源码有看过吗?

 

23、HashSet 是不是线程安全的?为什么不是线程安全的?

 

24、Java 中有哪些线程安全的 Map?

 

25、Concurrenthashmap 是怎么做到线程安全的?

 

26、HashTable 你了解过吗?

 

27、如何保证线程安全问题?

 

28、synchronized、lock

 

29、volatile 的原子性问题?为什么 i++ 这种不支持原子性?从计算机原理的设计来讲下不能保证原子性的原因

 

30、happens before 原理

 

31、cas 操作

 

32、lock 和 synchronized 的区别?

 

33、公平锁和非公平锁

 

34、Java 读写锁

 

35、读写锁设计主要解决什么问题?

 

36、你项目除了写 Java 代码,还有前端代码,那你知道前端有哪些框架吗?

 

37、MySQL 分页查询语句

 

38、MySQL 事务特性和隔离级别

 

39、不可重复读会出现在什么场景?

 

40、sql having 的使用场景

 

41、前端浏览器地址的一个 http 请求到后端整个流程是怎么样?能够说下吗?

 

42、http 默认端口,https 默认端口

 

43、DNS 你知道是干嘛的吗?

 

44、你们开发用的 ide 是啥?你能说下 idea 的常用几个快捷键吧?

 

45、代码版本管理你们用的是啥?

 

46、git rebase 和 merge 有什么区别?

 

47、

 

----------------------------------------

具体面试题

1. Java 基础

1. JDK 和 JRE 有什么区别?

2. == 和 equals 的区别是什么?

3. 两个对象的 hashCode() 相同,则 equals() 也一定为 true,对吗?

4. final 在 java 中有什么作用?

5. java 中的 Math.round(-1.5) 等于多少?

6. String 属于基础的数据类型吗?

7. java 中操作字符串都有哪些类?它们之间有什么区别?

8. String str="i"与 String str=new String(“i”)一样吗?

9. 如何将字符串反转?

10. String 类的常用方法都有那些?

11. 抽象类必须要有抽象方法吗?

12. 普通类和抽象类有哪些区别?

13. 抽象类能使用 final 修饰吗?

14. 接口和抽象类有什么区别?

15. java 中 IO 流分为几种?

16. BIO、NIO、AIO 有什么区别?

17. Files的常用方法都有哪些?

【容器】

18. java 容器都有哪些?

19. Collection 和 Collections 有什么区别?

20. List、Set、Map 之间的区别是什么?

21. HashMap 和 Hashtable 有什么区别?

22. 如何决定使用 HashMap 还是 TreeMap?

23. 说一下 HashMap 的实现原理?

24. 说一下 HashSet 的实现原理?

25. ArrayList 和 LinkedList 的区别是什么?

26. 如何实现数组和 List 之间的转换?

27. ArrayList 和 Vector 的区别是什么?

28. Array 和 ArrayList 有何区别?

29. 在 Queue 中 poll()和 remove()有什么区别?

30. 哪些集合类是线程安全的?

31. 迭代器 Iterator 是什么?

32. Iterator 怎么使用?有什么特点?

33. Iterator 和 ListIterator 有什么区别?

34. 怎么确保一个集合不能被修改?

 

【多线程】

35. 并行和并发有什么区别?

36. 线程和进程的区别?

37. 守护线程是什么?

38. 创建线程有哪几种方式?

39. 说一下 runnable 和 callable 有什么区别?

40. 线程有哪些状态?

41. sleep() 和 wait() 有什么区别?

42. notify()和 notifyAll()有什么区别?

43. 线程的 run()和 start()有什么区别?

44.创建线程池有哪几种方式?

45.线程池都有哪些状态?

46. 线程池中 submit()和 execute()方法有什么区别?

47. 在 java 程序中怎么保证多线程的运行安全?

48. 多线程锁的升级原理是什么?

49. 什么是死锁?

50. 怎么防止死锁?

51. ThreadLocal 是什么?有哪些使用场景?

52. 说一下 synchronized 底层实现原理?

53. synchronized 和 volatile 的区别是什么?

54. synchronized 和 Lock 有什么区别?

55. synchronized 和 ReentrantLock 区别是什么?

56. 说一下 atomic 的原理?

 

【RabbitMQ】

135. rabbitmq 的使用场景有哪些?

136. rabbitmq 有哪些重要的角色?

137. rabbitmq 有哪些重要的组件?

138. rabbitmq 中 vhost 的作用是什么?

139. rabbitmq 的消息是怎么发送的?

140. rabbitmq 怎么保证消息的稳定性?

141.rabbitmq 怎么避免消息丢失?

142. 要保证消息持久化成功的条件有哪些?

143. rabbitmq 持久化有什么缺点?

144. rabbitmq 有几种广播类型?

145. rabbitmq 怎么实现延迟消息队列?

146. rabbitmq 集群有什么用?

147. rabbitmq 节点的类型有哪些?

148. rabbitmq 集群搭建需要注意哪些问题?

149. rabbitmq 每个节点是其他节点的完整拷贝吗?为什么?

150. rabbitmq 集群中唯一一个磁盘节点崩溃了会发生什么情况?

151. rabbitmq 对集群节点停止顺序有要求吗?

 

【Kafka】

 

152. kafka 可以脱离 zookeeper 单独使用吗?为什么?

153. kafka 有几种数据保留的策略?

154. kafka 同时设置了 7 天和 10G 清除数据,到第五天的时候消息达到了 10G,这个时候 kafka 将如何处理?

155. 什么情况会导致 kafka 运行变慢?

156. 使用 kafka 集群需要注意什么?

 

【Zookeeper】

 

157. zookeeper 是什么?

158. zookeeper 都有哪些功能?

159. zookeeper 有几种部署模式?

160. zookeeper 怎么保证主从节点的状态同步?

161. 集群中为什么要有主节点?

162. 集群中有 3 台服务器,其中一个节点宕机,这个时候 zookeeper 还可以使用吗?

163. 说一下 zookeeper 的通知机制?

 

 

【MySQL】

 

164. 数据库的三范式是什么?

165. 一张自增表里面总共有 7 条数据,删除了最后 2 条数据,重启 mysql 数据库,又插入了一条数据,此时 id 是几?

166. 如何获取当前数据库版本?

167. 说一下 ACID 是什么?

168. char 和 varchar 的区别是什么?

169. float 和 double 的区别是什么?

170. mysql 的内连接、左连接、右连接有什么区别?

171. mysql 索引是怎么实现的?

172. 怎么验证 mysql 的索引是否满足需求?

173. 说一下数据库的事务隔离?

174. 说一下 mysql 常用的引擎?

175. 说一下 mysql 的行锁和表锁?

176. 说一下乐观锁和悲观锁?

177. mysql 问题排查都有哪些手段?

178. 如何做 mysql 的性能优化?

 

【Redis】

 

179. redis 是什么?都有哪些使用场景?

180. redis 有哪些功能?

181. redis 和 memecache 有什么区别?

182. redis 为什么是单线程的?

183. 什么是缓存穿透?怎么解决?

184. redis 支持的数据类型有哪些?

185. redis 支持的 java 客户端都有哪些?

186. jedis 和 redisson 有哪些区别?

187. 怎么保证缓存和数据库数据的一致性?

188. redis 持久化有几种方式?

189.redis 怎么实现分布式锁?

190. redis 分布式锁有什么缺陷?

191. redis 如何做内存优化?

192. redis 淘汰策略有哪些?

193. redis 常见的性能问题有哪些?该如何解决?

 

【JVM】

 

194. 说一下 jvm 的主要组成部分?及其作用?

195. 说一下 jvm 运行时数据区?

196. 说一下堆栈的区别?

197. 队列和栈是什么?有什么区别?

198. 什么是双亲委派模型?

199. 说一下类加载的执行过程?

200. 怎么判断对象是否可以被回收?

201. java 中都有哪些引用类型?

202. 说一下 jvm 有哪些垃圾回收算法?

203. 说一下 jvm 有哪些垃圾回收器?

204. 详细介绍一下 CMS 垃圾回收器?

205. 新生代垃圾回收器和老生代垃圾回收器都有哪些?有什么区别?

206. 简述分代垃圾回收器是怎么工作的?

207. 说一下 jvm 调优的工具?

208. 常用的 jvm 调优的参数都有哪些?

 

 

 

Guess you like

Origin www.cnblogs.com/cm039/p/12027527.html
TT