Share the social recruitment experience under the next 3 years of work experience (detailed summary)

This time I won’t make a long discussion, and go directly to the topic!
Insert picture description here

Test questions

Q: You found a bug in the test, but the development manager thinks it is not a bug. How should you solve it?

First, submit the problem to the defect management database for record.

Then, to obtain the basis and standards for judgment:

  • According to requirements specifications, product descriptions, design documents, etc., confirm whether the actual results are inconsistent with the plan, and provide a direct basis for confirming the defects;
  • If there is no document basis, you can explain whether there is any inconsistency based on the general characteristics of similar software to confirm whether it is a defect;
  • According to the user's general usage habits, to confirm whether it is a defect;
  • Discuss with designers, developers and customer representatives and other relevant personnel to confirm whether it is a defect;
  • Make a reasonable statement, explain the reason for your judgment to the test manager, and be objective, rigorous, and not mixed with personal emotions.

Wait for the test manager to make the final decision. If there is still a dispute, you can report it to the superior through the channel provided by the company policy, and the superior can make a decision.

Q: Give you a website, how do you test it?

First, look for relevant documents such as requirements descriptions and website design, and analyze test requirements.

Develop test plan, determine test scope and test strategy, generally include the following parts: functional test; interface test; performance test; database test; security test; compatibility test

Design test cases:

Functional testing can include, but is not limited to the following aspects:

Link test. Whether the link jumps correctly, whether there are empty pages and invalid pages, whether there is an incorrect error message returned.
Submit a functional test.
Whether the multimedia elements can be loaded and displayed correctly.
Whether the multi-language support can correctly display the selected language, etc.
Interface testing can include but is not limited to the following aspects:

  • Whether the page style is uniform and beautiful

  • Whether the page layout is reasonable, whether the key content and hot content are prominent

  • Whether the control is used normally

  • For necessary but not installed controls, whether to provide automatic download and installation function.
    Text check
    Performance testing generally considers the following two aspects:

  • pressure test;

  • Load test

  • Strength test

Database testing needs to specifically determine whether it needs to be carried out. Databases generally need to consider aspects such as connectivity, data access operations, and data content verification.

Security test:

  • Basic login function check

  • Whether there is an overflow error that causes the system to crash or leak permissions

  • Check common security issues of related development languages, such as SQL injection, etc.

  • If you need advanced security testing, be sure to get the help of a professional security company, outsource testing, or get support for
    compatibility testing, and determine the supported platform combination according to the requirements description:

  • Browser compatibility;

  • Operating system compatibility;

  • Compatibility of the software platform; compatibility of the
    database
    Carry out tests and record defects. Reasonably arrange and adjust the test schedule, obtain the resources required for the test in advance, and establish a management system (for example, demand changes, risks, configurations, test documents, defect reports, human resources, etc.).

Periodically review, evaluate and summarize the test, and adjust the content of the test.

Java basics

1. HashMap source code, implementation principle, and how optimized HashMap is in JDK8.

2. How does the expansion of HaspMap expand, and why is it the power of 2 to the power of N?

3. The difference between HashMap, HashTable and ConcurrentHashMap.

4. Which of HashTable or ConcurrentHashMap performs better under extremely high concurrency, why, and how to achieve it.

5. What are the security risks of HashMap if it does not handle thread safety under high concurrency, and what are the specific manifestations.

6. The limited scope of the four modifiers in java.

7. Methods in the Object class.

8. The difference between an interface and an abstract class. Note that the JDK8 interface can be implemented.

9. Two ways of dynamic proxy and their differences.

10. The way of Java serialization.

11. The difference between pass-by-value and pass-by-reference, what is Java like, and is there any pass-by-value reference.

12. Will an ArrayList be deleted during the loop, and why?

JVM

1. The memory structure of JVM.

2. The working process of JVM method stack, what is the difference between method stack and local method stack.

3. How do references in the JVM stack relate to objects in the heap.

4. You can learn about escape analysis techniques.

5. The common algorithms of GC, the garbage collection process of CMS and G1, which two of the various stages of CMS are Stop the world, will CMS generate fragments, and the advantages of G1.

6. Understanding, advantages and disadvantages of mark removal and mark sorting algorithms.

7. The ratio of eden survivor area, why is this ratio, the working process of eden survivor.

8. How does the JVM judge whether an object should be GC? What types of roots can be considered.

9. The difference between strong and weak references and what GC performs on them.

10. Whether Java can GC direct memory.

11. The process of Java class loading.

12. The process and advantages of the parent delegation model.

13. Commonly used JVM tuning parameters.

14. Analysis of dump files.

15. Does Java have a way to actively trigger GC (no).

Multithreading

1. How many ways does Java implement multithreading?

2. Understanding of Callable and Future.

3. What are the parameters of the thread pool and the process of creating a thread in the thread pool.

4. The role and principle of the volitile keyword.

5. The usage, advantages and disadvantages of the synchronized keyword.

6. What are the implementation classes of the Lock interface and what are the usage scenarios.

7. The use and implementation principle of reentrant locks, the process of copy-on-write, read-write locks, segment locks (segment in ConcurrentHashMap)

8. Pessimistic lock, optimistic lock, advantages and disadvantages, what are the defects of CAS, and how to solve them.

9. How to ensure sequential execution of the three threads of ABC.

10. What are the thread status?

11. The difference between sleep and wait.

12. The difference between notify and notifyall.

13. Understanding of ThreadLocal and its realization principle.

Database related

1. Common database optimization methods

2. The advantages and disadvantages of indexes, what fields are indexed on

3. Database connection pool.

4. Common configuration of durid.

computer network

1. The difference between TCP and UDP.

2. Shake hands three times, wave hands four times, why wave hands four times.

3. Long connection and short connection.

4. The connection pool is suitable for long connections or short connections.

Design Patterns

1. Observer mode

2. Agency model

3. Singleton mode, there are five ways of writing, you can refer to the five ways to realize the article singleton mode

4. Can test which design patterns are used in Spring

Distributed correlation

1. Control of distributed transactions.

2. How to design distributed locks.

3. How to design a distributed session.

4. What are the components of dubbo and what are their functions.

5. What are the load balancing algorithms of zookeeper?

6. How does dubbo use the interface to communicate.

Cache related

1. The difference between redis and memcached.

2. What data structures does redis support?

3. Is redis single-threaded? Is all work single-threaded?

4. How does redis store a String.

5. Redis deployment method, master-slave, cluster.

6. The sentinel mode of redis, how to find and store a key value in the redis cluster.

7. Redis persistence strategy.

Frame related

1. How does the Controller of SpringMVC correspond one-to-one between parameters and data from the front end.

2. How does Mybatis find the specified Mapper and how to complete the query.

3. How does Quartz complete timing tasks.

4. Implementation of custom annotations.

5. What design patterns does Spring use?

6. What are the advantages of Spring's IOC?

7. How does Spring maintain the beans it owns.

At last

In view of the fact that many people have been interviewing recently, I have also compiled a lot of interview topic materials here, as well as experience from other major companies. Hope it helps everyone.

Latest finishing interview questions
Insert picture description here

The answers to the above interview questions are organized into document notes.
I also sorted out some interview materials & the latest interview questions collected by some big companies in 2020 (all organized into documents, a small part of the screenshots), if necessary, you can click to enter the password: qf

Newly organized e-books

Insert picture description here

The latest compilation of interview documents

Insert picture description here
The above is the whole content of this article, I hope it will be helpful to everyone's study, and I hope you can support it. One-click three consecutive!
Insert picture description here

Guess you like

Origin blog.csdn.net/S11035762/article/details/109207931