Answers to such questions in interviews (to be added)

1. What situations will cause threads to wait and block? Then branch out to more threads discussing the topic. Such as threads and connections, thread pools, spin locks, biased locks, parallel computing, and more.

Answer: The use of thread locks will cause threads to wait, such as wait, sleep 

2. What factors may cause data inconsistency? Then the topic is extended to transaction management, caching strategy and data synchronization related discussions.

3. How do you usually check when there is a problem with the system? Then the topic is extended to those problems that are usually encountered in system operation, and how to avoid these problems as much as possible?

4. What methods do you usually use for system performance tuning? What performance issues have you encountered in the systems you've built, and how did you try to find solutions?

5. Talk about the object life cycle process and object replication process? Then extend to the discussion of object-oriented design.

6. If you were asked to design a network communication protocol, what factors would you consider? .....

7. Describe the inheritance principle of javascript objects. ......

8. What is the difference between IE and Firefox's capture event mechanism? ......

9. What are the differences and application scenarios of CSS for div positioning? .....

static : Default value. No special positioning, objects follow HTML positioning rules

 

absolute (absolute positioning): Drag the object out of the document flow and use the left, right, top, bottom and other properties to position it absolutely relative to its closest parent with the most positioning settings. If no such parent object exists, then the body object is used. And its cascade is defined by the z-index property 

 

relative (relative positioning): Objects cannot be stacked, but will be offset in the normal document flow according to properties such as left , right , top , bottom .

10. Which linux commands are commonly used in your work? What problems do you usually write shell scripts to solve? What system parameters are typically tuned to affect system performance? ......

11. What types of bugs are there in the systems you have built? Which stages of the software process cause more bugs? .....

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326177973&siteId=291194637