Sobes.tech

Explain the principle of optimistic locking in concurrency control and its features.

Junior — Middle
264

What method can be used to load the contents of a text file into a string variable in your programming language?

Junior — Middle
253

What happens when two keys receive the same hash code in HashMap?

Junior — Middle
223

What methods can be used to prevent deadlock in a multithreaded application when organizing code?

Middle — Middle+
204

What tests would you create to check the behavior of the List interface?

Junior — Middle
204

What steps will you take to optimize a long-running SQL query?

Junior — Middle
203

Which metric is most relevant for evaluating improvements after optimizing a slow query?

Junior — Middle
202

What methods and tools can be used to diagnose the causes of stopping or slowing down a Java server?

Junior — Middle
200

What are the main rules and features for handling NULL values when working with SQL queries?

Junior — Middle
181

What approaches are used to conduct testing to avoid future system performance degradation?

Junior — Middle
178

If two objects with the same identifier are created, will they occupy the same memory location and refer to the same instance?

Junior — Middle
175

What difficulties can be encountered when processing and using files in applications?

Junior — Middle
175

Can you explain the concept of pessimistic locking and what it entails?

Junior — Middle
173

What tests need to be created to verify the correctness of adding an element to an ArrayList?

Junior — Middle
169

What can cause an index not to be used after its creation in a database?

Junior — Middle
165

What is your experience with Docker and how well do you know how to use it in projects?

Junior — Middle
163

What actions does the database system take when two transactions try to modify the same record simultaneously?

Junior — Middle
163

In what situations can resource deadlocks occur in multithreaded programming?

Junior — Middle
157

What actions occur if a version inconsistency is detected in optimistic locking?

Junior — Middle
150