Ali Daniel carefully organizes Java interview documents: Spring+Linux+MySQL+Redis, etc.

Preface

Whether it is school recruitment or social recruitment, various interviews and written examinations cannot be avoided. How to prepare for these things is extremely important. Whether it is a written test or an interview, there are rules to follow. What I mean by "rules to follow" just means that you can prepare in advance for technical interviews.

After strategizing, the decisive victory is thousands of miles away! Without fighting an unprepared battle, I think everyone can prepare for the interview from the following aspects:

  1. Self introduction. (You can definitely introduce it like this: "My name is XX, gender, where I come from, that school is that, what do I love to do", remember: talk more about what is not on your resume, and talk more about where you are better than others!)
  2. What knowledge points may be involved in the interview and which knowledge points are the key points.
  3. Which questions are frequently asked during the interview, and how to answer them during the interview. (It is strongly not recommended to recite questions, first: how much can you remember by recitation this way? How long can you remember? Second: it is difficult to persist in studying the recitation method!)
  4. How to write your own resume.

The important points for everyone to be clear are:

  1. You must be careful about what you write on your resume. This may be a place where interviewers ask a lot of questions;
  2. Most fresh graduates have no work experience or internship experience when looking for a job.
  3. It is very important to show your project experience perfectly.

How to write a resume

As the saying goes: "Workers must first sharpen their tools if they want to do well." Preparing a good resume plays a vital role in finding a good job.

Why is the resume important?

Let’s start with the interview:

If you are applying online, your resume will inevitably be screened by HR. A resume HR may take 10 seconds to look at, and then HR will decide whether your level is Fail or Pass.

If you are inferring, if your resume does not have any advantages, even the people who infer you will be powerless.

In addition, even if you pass the screening, in subsequent interviews, the interviewer will judge whether you are worthy of his time for the interview based on your resume. Therefore, the resume is like a facade of ours. The degree determines whether you can enter the next round of interviews.

From the interview:

I find that everyone prefers to read the face scriptures, which is understandable, but most of the face scriptures do not tell you that many questions are only asked under certain conditions. To give a simple example: under normal circumstances, you will be asked what you know on your resume (Java, data structures, networks, algorithms, etc., everyone must ask). For example, if you write, you can redis. The interviewer will probably ask you some questions about redis. For example: the common data types and application scenarios of redis, why redis is single-threaded so fast, the difference between redis and memcached, redis memory elimination mechanism, etc.

So, first of all, you have to be clear: Don’t write on your resume what you don’t know . In addition, you have to consider how you can make your highlights stand out in your resume , such as: what you have done in a certain project and what problems have been solved (as long as there are projects, there must be problems to be solved), your certain After what technology is used in a project, the overall performance and concurrency have improved a lot and so on.

Interview and work are two different things. Smart people will lead the interviewer to their field of expertise, while others will be led by the interviewer. Although interviews and work are two different things, if you want to get the offffer you are satisfied with, you must be strong.

These 3 points you must know

1. Most of the company's HR say that we don't value academic qualifications (lie to you!), but if your school is not outstanding, it is difficult to stand out from a bunch of resumes, unless your resume has special highlights, such as : The internship experience of a certain big factory, the prize of a certain competition, etc.

  1. Most fresh graduates have no work experience or internship experience, so if you are a fresh graduate, don't miss the autumn and spring recruitment. Once you miss it, you will most likely face social recruitment. At this time, if you don’t have work experience, you may face various obstacles, resulting in not being able to find a good job.

  2. You must be careful about what you write on your resume. This is where the interviewer asks a lot of questions;

  3. It is very important to show your project experience perfectly.

Two rules you must know

①STAR法则(Situation Task Action Result):

  1. **Situation: **Under what circumstances did it happen;
  2. **Task:: **How ​​do you define your task;
  3. **Action: **In view of this situation analysis, what action did you adopt;
  4. **Result: **What is the result, what did you learn in this situation.

In short, the STAR law is a way to tell one's own story, or in other words, a clear and organized composition template. No matter what it is, if you use this rule reasonably and skillfully, you can easily describe the logical way of things to the interviewer and show the clarity, organization and logic of your own analysis and explanation of the problem.

The following paragraph is taken from Baidu Encyclopedia, I think it is very good:

The STAR rule, the skill rule for answering top 500 interview questions, is highly respected by successful interviewers and top 500 HR. Since this rule is widely used in answering interview questions, although we are still in the resume writing stage, we can think of the interview questions when writing resumes, which will make ourselves more proactive and confident, and achieve the relevance of resumes and interviews. The logic is strong, so you won't go to the interview in a month, but forget everything in your resume (not to mention some friends will slightly exaggerate the content of the resume). When we write a resume, everyone should write down their own work experience, activity experience, presumably every classmate will spend at least half a day or even longer searching all relevant experiences in their minds, and strive to find the best thing Write it on your resume. But at this time, we have to pay attention, any point of information on the resume may become the key question object in future interviews. Therefore, you can’t just write down the experience that makes you feel the best, and you must think about the future. In the interview, if the experience you wrote is asked by the interviewer, can you really answer fluently and smoothly, and through this experience, can you prove that you are the right person for this position?

②FAB rule (Feature Advantage Benefifit):

  1. **Feature: What is **;
  2. **Advantage: **What is better than others;
  3. **Benefifit: **If you hire you, what benefits will the recruiter get?

To put it simply, this rule is mainly to let your interviewer know your strengths and how it will help the company after recruiting you.

How to write project experience?

It is normal to have one or two project experiences on the resume, but very few can really show the project experience well to the interviewer. For the project experience, you can consider writing from the following points:

  1. A feeling about the overall design of the project
  2. What are you responsible for, what you did, and what role did you play in this project
  3. From this project, you learned those things, used those technologies, and learned the use of new technologies
  4. In addition, in the project description, it’s best to reflect your own comprehensive qualities, such as how you coordinated the collaborative development of project team members, or how you solved a difficult problem, or how you used it in this project What technology achieves what functions, such as: using redis as a cache to improve access speed and concurrency, using message queues to cut peaks and reduce traffic, and so on.

How to write professional skills?

Ask yourself what you will first, and then see what your intended company needs. Generally, HR may not know much about technology, so he may focus on the keywords of your professional skills when selecting resumes. For the skills that the company requires but you don't, you can spend a few days to learn it, and then write on your resume that you know this skill. For example, you can write:

  1. Dubbo: proficient
  2. Spring: proficient
  3. Docker: Master
  4. SOA distributed development: master
  5. Spring Cloud: understand

Some other small tips

  1. Try to avoid subjective expressions, reduce vague adjectives, try to be concise and clear, and have a clear logical structure.
  2. Pay attention to typesetting (no need to be colorful), try to use Markdown syntax.
  3. Pay attention to the authenticity of your resume, and be sure not to write something you don’t know, or deceptive content
  4. Project experience suggestions are sorted in reverse chronological order. In addition, project experience is not about many, but about bright spots.
  5. If there is too much content, there is no need to compress the content to one page, just keep the layout clean and tidy.
  6. At the end of your resume, it’s best to add: "Thank you for taking the time to read my resume. I look forward to the opportunity to work with you." This sentence shows that you will be very polite.

Let's talk about the technical questions the interviewer asks during the interview. The questions the interviewer asks during the interview will be different for each person.

Java basics

  1. The difference between overloading and rewriting
  2. What is the difference between String and StringBuffffer and StringBuilder? Why is String immutable?
  3. Automatic boxing and unboxing
  4. == and equals
  5. Some summary about fifinal keywords
  6. Summary of common methods of the Object class
  7. Exception handling in Java
  8. Get the two commonly used methods of keyboard input
  9. What is the difference between interface and abstract class

[External link image transfer failed. The source site may have an anti-leech link mechanism. It is recommended to save the image and upload it directly (img-f8A35YNn-1610956508269)(https://upload-images.jianshu.io/upload_images/22934207-d7616a8ac0763b4b?imageMogr2 /auto-orient/strip%7CimageView2/2/w/1240)]

Java Collection Framework

  1. Similarities and differences between Arraylist and LinkedList
  2. The difference between ArrayList and Vector
  3. The underlying implementation of HashMap
  4. The difference between HashMap and Hashtable
  5. The difference between HashMap and Hashtable
  6. Why is the length of HashMap a power of 2
  7. HashMap multi-threaded operation causes infinite loop problem
  8. The difference between HashSet and HashMap
  9. The difference between ConcurrentHashMap and Hashtable
  10. The specific implementation of ConcurrentHashMap thread safety/underlying specific implementation
  11. Summary of the underlying data structure of the collection framework

Ali Daniel carefully organizes Java interview documents: Spring+Linux+MySQL+Redis, etc.

Java multithreading

5 combos of synchronized keyword in an interview

  1. Talk about your understanding of the synchronized keyword
  2. Tell me how I use the synchronized keyword, is it used in the project?
  3. Talk about the underlying principle of the synchronized keyword
  4. Talk about what optimizations have been made at the bottom of the synchronized keyword after JDK1.6. You can introduce these advantages in detail.
  5. Is it
  6. Talk about the difference between synchronized and ReenTrantLock

Ali Daniel carefully organizes Java interview documents: Spring+Linux+MySQL+Redis, etc.

5 combos of thread pool in the second interview

  1. Talk about the difference between the synchronized keyword and the volatile keyword
  2. Why use thread pool?
  3. Implement the difference between Runnable interface and Callable interface
  4. What is the difference between execute() method and submit() method?
  5. How to create a thread pool

Ali Daniel carefully organizes Java interview documents: Spring+Linux+MySQL+Redis, etc.

4 combos about Atomic in three interviews

  1. Introduce Atomic atomic class
  2. What are the 4 types of atomic classes in the JUC package?
  3. Talk about the use of AtomicInteger
  4. Can you give me a brief introduction to the principle of the AtomicInteger class

AQS

  1. AQS introduction
  2. AQS principle analysis
  3. AQS principle overview
  4. How AQS shares resources
  5. AQS bottom layer uses the template method pattern

Summary of common interview points for computer networks

  1. The difference between TCP and UDP protocols
  2. Enter the URL address in the browser ->> The process of displaying the homepage
  3. The relationship between various protocols and HTTP protocol
  4. HTTP long connection, short connection
  5. TCP three handshake and four wave hands (frequent interviewer)

Linux

  1. Briefly introduce the Linux file system?
  2. Do you understand some common Linux commands?
  3. The difference between TCP and UDP protocols
  4. What are the main types of kernel locks in Linux?
  5. How to apply for a large chunk of kernel memory?
  6. What are the functions to apply for kernel memory through the partner system?
  7. What is the function of Linux soft interrupt and work queue?

MySQL

  1. Talk about my understanding of the two common storage engines of MySQL: MyISAM and InnoDB
  2. Do you understand database indexes?
  3. Why can index improve query speed?
  4. Let's start with the basic storage structure of MySQL
  5. How does Mysql add indexes to table fields? ? ?
  6. What are the technical characteristics of Mysql?
  7. Talk about common optimization methods for large tables
  8. When the number of records in a single MySQL table is too large, the CRUD performance of the database will be significantly reduced. Some common optimization measures are as follows
  9. Compared with Oracle, what are the advantages of Mysql?

Redis

  1. Why use redis / why use cache
  2. Why use redis instead of map/guava for caching?
  3. The difference between redis and memcached
  4. Redis common data structure and usage scenario analysis
  5. redis set expiration time
  6. Redis memory elimination mechanism (There are 2000w data in MySQL and only 20w data in Redis. How to ensure that the data in Redis are all hot data?)
  7. Redis persistence mechanism (how to ensure that the data can be restored after redis hangs and restarts)
  8. Cache avalanche and cache penetration problem solutions
  9. How to ensure data consistency between the cache and the database when it is double-written?
  10. How to solve Redis's concurrent competition Key problem

Spring

  1. The scope of Spring Bean
  2. Isolation level in Spring transaction
  3. Transaction propagation behavior in Spring transaction
  4. What are the benefits of using the Spring framework?
  5. What is Inversion of Control (IOC)? What is dependency injection?
  6. The life cycle of IOC container to Bean:
  7. Briefly describe the AOP and IOC concepts AOP:
  8. What design patterns are used in the Spring framework?
  9. Please give an example of how to inject a Java Collection in Spring?

message queue

  1. Talk about what is a message queue
  2. Why use message queue
  3. Some problems caused by using message queues
  4. Comparison of common message queues
  5. activemq What if the data submission is unsuccessful (message is lost)
  6. How to solve the message duplication problem
  7. What happens when I send a publish message to a non-existent exchange? What happens when you execute a consume action to a non-existent queue?
  8. Why do we say that the condition to ensure that the message is reliably persisted is that the queue and exchange have the durable attribute, and the message has the persistent attribute?

Dubbo

  1. What is Dubbo?
  2. What is RPC? What is the principle of RPC
  3. Why use Dubbo?
  4. What is distributed
  5. Why is it distributed?
  6. Explain how Dubbo works
  7. Let me explain what load balancing is
  8. Zookeeper downtime and direct connection to dubbo
  9. Let's take a look at the load balancing strategy provided by Dubbo

data structure

  1. What is a queue
  2. Type of queue
  3. Queue in the Java collection framework
  4. What is Set
  5. HashSet and TreeSet underlying data structure
  6. What is the common implementation class of List
  7. What can be the string type of the column?
  8. Talk about the difference between B+ tree and B tree, advantages and disadvantages, etc.?

Write at the end

Finally, I will emphasize a few points:

  1. You must be cautious about what you write on your resume, and you must be very familiar with the things on your resume. Because under normal circumstances, the interviewer will ask based on your resume; it is also very important to have a project that can be on the table. This is likely to be a place where the interviewer will ask a lot of questions, so review yourself before the interview Project done
  2. Talk to the interviewer about basic knowledge such as the use of design patterns, the use of multi-threading, etc., which can be combined with specific project scenarios or how you use them in daily life;
  3. Pay attention to your own open source Github project, the interviewer may dig into your Github project to ask questions;
  4. It is recommended to know in advance the values ​​of the company you want to interview and judge whether you are suitable for this company.

In addition, I personally feel that the interview is also like a brand new journey. Failure and victory are common things. Therefore, I advise you not to become discouraged and lose your fighting spirit because of the interview failure. Don't be complacent because you passed the interview. What awaits you is a better future, keep on!

Ali Daniel carefully organizes Java interview documents: Spring+Linux+MySQL+Redis, etc.

Ali Daniel carefully organizes Java interview documents: Spring+Linux+MySQL+Redis, etc.

The editor of this document has been sorted out and is suitable for a surprise before the interview. Readers and friends in need can pay attention to the editor.

Information acquisition method: like + click here or scan the QR code in the picture to add the information address
WeChat QR code.gif

Guess you like

Origin blog.csdn.net/lyl5454/article/details/112786061