Filter interviews by
I applied via Naukri.com and was interviewed in Apr 2024. There was 1 interview round.
Multithreading is the ability of a CPU to execute multiple threads concurrently, allowing for parallel processing.
Multithreading allows for better utilization of CPU resources by running multiple threads simultaneously.
Threads share the same memory space, allowing for efficient communication and data sharing.
Examples of multithreading include running multiple tasks in a web server concurrently or processing data in par
Reentrant lock is a synchronization primitive that allows a thread to acquire the same lock multiple times.
Allows a thread to acquire the same lock multiple times
Prevents deadlock by allowing a thread to re-enter the lock it already holds
Useful in situations where a method needs to call another method that also requires the same lock
Example: Java's ReentrantLock class
ConcurrentHashMap allows multiple threads to read/write concurrently, while HashMap is not thread-safe.
ConcurrentHashMap allows multiple threads to read/write concurrently without blocking each other.
HashMap is not thread-safe and can lead to data corruption if accessed by multiple threads simultaneously.
ConcurrentHashMap achieves thread-safety by using internal synchronization mechanisms like locks or CAS operations.
H...
GET method is used to request data from a server, while POST method is used to submit data to a server in HTTPS.
GET requests data from a specified resource, while POST submits data to be processed to a specified resource.
GET requests can be cached and remain in the browser history, while POST requests are not cached and do not remain in the browser history.
GET requests have length restrictions on the amount of data tha...
GET is used to retrieve data from a server, while POST is used to send data to a server.
GET requests are used to retrieve data from a specified resource. For example, fetching a list of products from an online store.
POST requests are used to submit data to be processed by a server. For example, submitting a form with user information to create a new account.
GET requests are idempotent, meaning they can be repeated mult...
REST API in backend development is used to allow communication between different systems over the internet.
Allows for communication between different systems or services
Follows a client-server architecture
Uses standard HTTP methods like GET, POST, PUT, DELETE
Supports multiple data formats like JSON, XML
Stateless, meaning each request from a client must contain all the information needed to fulfill the request
GET method is used to request data from a server, while POST method is used to submit data to a server in HTTPS.
GET requests data from a specified resource, while POST submits data to be processed to a specified resource.
GET requests can be cached and remain in the browser history, while POST requests are not cached and do not remain in the browser history.
GET requests have length restrictions on the amount of data tha...
GET is used to retrieve data from a server, while POST is used to send data to a server.
GET requests are used to retrieve data from a specified resource. For example, fetching a list of products from an online store.
POST requests are used to submit data to be processed by a server. For example, submitting a form with user information to create a new account.
GET requests are idempotent, meaning they can be repeated mult...
REST API in backend development is used to allow communication between different systems over the internet.
Allows for communication between different systems or services
Follows a client-server architecture
Uses standard HTTP methods like GET, POST, PUT, DELETE
Supports multiple data formats like JSON, XML
Stateless, meaning each request from a client must contain all the information needed to fulfill the request
posted on 14 Dec 2022
Software Engineer
84
salaries
| ₹2.5 L/yr - ₹8.5 L/yr |
Desktop Support Engineer
66
salaries
| ₹1.4 L/yr - ₹1.7 L/yr |
Senior Software Engineer
53
salaries
| ₹5.6 L/yr - ₹17.2 L/yr |
Softwaretest Engineer
22
salaries
| ₹3.2 L/yr - ₹4.8 L/yr |
Software Trainee
16
salaries
| ₹2 L/yr - ₹4.5 L/yr |
TCS
Infosys
Wipro
HCLTech