The process of passing interviews is an important skill that needs to be pumped, like all others. Our students often come with this request, and we know how to solve it: interview questions are often repeated, so for you we decided to collect a selection of popular questions that you can be asked at an interview for Junior positions in popular technologies.
So, if you are wondering what questions are asked in an interview, then this article is for you. And if you want to know the answers to them, then follow the links to our YouTube channel and watch broadcast recordings of mock interviews with Solvery mentors. There you could find out how real interviews go and ask questions to Solvery mentors.
Examples of interview questions for various technologies:
What are the 2 main groups of types in Swift?
What is Value Type and Reference Type?
What does “Value Type belongs to Reference Type” mean?
When we create a Value Type object, what does the variable store?
Does copy-on-write (COW) work for any structure?
Why is it better to use Value Type at some points and Reference Type at others?
Is it possible to implement structures and protocols?
Is it possible to inherit from structures?
How is memory organized?
What is a memory leak and why does it occur?
What is Automatic Reference Counting (ARC)?
Under what conditions is the counter decremented?
If there is only 1 weak reference to an object, will it be created or not?
How can you catch memory leaks?
Tell us about the life cycle of View controllers?
What method is used to calculate Constraints?
Pros and cons of working with Constraints?
What is the difference between “frame” and “construct”?
Tell us about solid principles and how they are applied in practice?
What are the areas of memory? What types are there and what can happen to them? Where will some data types be stored, and where others?
How can one understand whether an object is being used or not when two objects have a historical reference to each other?
How not to compare strings?
Can an existing string be added to the string pool?
What are the disadvantages of a string pool in terms of security?
How is the string pool created?
Is it possible to remove a row from a pool?
What patterns can you name?
What can be done with the Builder pattern and not with the constructor?
What structure is closest to the command pattern? What can replace it?
What can you say about microservices, what are their pros and cons?
How would you organize the interaction of several services? What sync channels would you use?
How would you arrange for a message to be sent to the customer about the completed purchase, so that if the transaction is canceled, then the message does not go away?
What data types do you know?
What is a context manager?
How can you make your own context manager?
What are iterators and generators?
Have you experienced multithreading? What is it and how does it work?
What do you know about decorators? Which ones did you use?
What is the order in which queries are executed?
What methods can you name? What is their difference and what are they used for?
Name the basic principles of OOP
How is inheritance implemented in python? Talk about multiple inheritance.
What is solid? What is it for?
What is a garbage collector?
What object does Java have that carries all the generated classes?
There are primitive and reference types: can you tell us more about them and what is their difference?
Is it possible to convert reference types to primitive ones?
What are access modifiers?
What are the collections?
What are the implementations, what is their difference?
Why do thread races happen?
What is a Semaphore?
How are errors handled?
What is the difference between primitive types and Java?
What is the advantage of Kotlin in Android development?
There are 2 classes, how to write inheritance between them?
Data class can be inherited? What is it for?
Any and Unit – Differences
How to make a static field? Class?
Inline functions – how do they work?
Helper functions – what do you know?
Can primitive types be used?
Are constructors needed in the data class?
What parts does it consist of and which part is responsible for what?
Why is a manifest needed?
What do we store in resources?
How is text measured?
What are the differences between units of measure?
The main components of android – tell us more about each of them
What Activity lifecycle methods can you name?
What are fragments and why are they needed?
Tell us about data types in JS
Why is an array also an object?
What do you know about scopes?
Tell us about hosting, what do you know?
Why did arrow functions begin to be used instead of classical ones?
Tell us about the closure, what do you know about it?
How to make that the age of the object could not be changed?
Tell us about Async Await
Tell us about the REACT components you know
What are the advantages of functional over class?
List lifecycle methods
What patterns do you know? What types?
What can you tell us about abstract factory?
What can you say about the adapter?
String – what type?
Tell me about the garbage collector
What collections do you know? What are their competitive versions do you know?
How to avoid thread desynchronization?
What do you know about monitor and semaphore?
What types of databases do you know, tell us more about them
What are indexes, what types are there?
What are the disadvantages of indexes?
The client is a bank. There is a dictionary where the key is the price of the goods. I would like the price to correspond to several values. What would you choose as the key and value of the map, what types of documents will be stored?
How does a map work?
What are Hash collisions?
How to compare 2 numbers, are they equal to each other or not?
How do strings work?
What are slices and how do they work?
How to identify the problem if the microservice throws a 500 error
TCP and UDP – what’s the difference?
Process vs Thread – What’s the difference?
What do you know about goroutines?
Tell us about primitive data types in JS
What is the difference between null and undefined?
What is a popular bug related to the null type?
What are the differences between function declaration and function expression?
What do you know about methods like call, apply and bind? What are these methods, what are they for, and what are their differences?
What is a closure and what is it used for?
Promises – what are they and what states do they have?
Benefits of Using Syntactic Sugar Over Promises
Tell us about Promise.race
How does Angular work?
What are the types of bindings and how do they differ?
What can you tell us about pipes?
What is Observable? What are the advantages over promises?
What are hot and cold Observables?
Differences subjects, subjects behavior, replay subjects
Name the operators you know about working with streams and tell about them.
Burj Khalifa elevators with access cards. There is a 15-storey building: 1st floor – front door, 2-6 floors – economy, 7-11 – comfort, 12-15 – luxury. People between 3 classes should not visit each other. How to test an elevator with minimal steps? What if there are 150 floors and 30 categories?
In the call center, you need to check 10 phones to see if they receive calls. And now 100 phones. How to do it?
Name 3 main boosting
Name the main parameters in CatBoost
Difference between L1 and L2
Why are convolutional networks called locally connected, what are the alternatives?
Where might a 1 by 1 convolution be needed?
What is the task of matching?
What are neural network regularization methods, what are they for and how do they work?
What is the point of the argument?
Argumentation-level regularization, what can you say about it?
Docker is it?
Tell us about the life cycle of the model