i
Wipro
Filter interviews by
I was interviewed in Dec 2024.
I chose Flask over Django and FastAPI due to its simplicity, flexibility, and ease of use for smaller projects.
Flask is lightweight and minimalistic, making it easier to set up and use for smaller projects.
Flask allows for more flexibility in terms of project structure and customization compared to Django.
Flask is well-suited for rapid prototyping and smaller applications where simplicity is key.
Django, on the other ha...
Flask request and response block code snippet
Use Flask's request object to access incoming request data
Use Flask's jsonify function to create a JSON response
Handle different HTTP methods like GET, POST, etc. in the route function
ORM stands for Object-Relational Mapping, a programming technique for converting data between incompatible type systems in object-oriented programming languages.
ORM is used to map objects from an application to tables in a relational database.
It simplifies data manipulation by allowing developers to work with objects instead of SQL queries.
Popular ORM tools include Hibernate for Java, Entity Framework for .NET, and Seq
Use ORM code to select item from a table in database.
Use ORM query methods like find(), findOne(), or where() to select items from a table.
Specify the table name and any conditions for the selection.
Example: User.find({ where: { id: 1 } }) will select a user with id 1 from the User table.
Node.js is a runtime environment that allows you to run JavaScript code outside of a web browser.
Node.js is built on Chrome's V8 JavaScript engine.
It uses an event-driven, non-blocking I/O model that makes it lightweight and efficient.
Node.js is commonly used for building server-side applications and APIs.
It has a large ecosystem of open-source libraries and frameworks, such as Express.js.
Middleware is a software component that acts as a bridge between an application's request and response.
Middleware functions have access to the request and response objects
They can modify the request and response objects
Middleware can be used for tasks like authentication, logging, error handling, etc.
A promise is an object representing the eventual completion or failure of an asynchronous operation.
Promises are used to handle asynchronous operations in JavaScript.
They can be in one of three states: pending, fulfilled, or rejected.
Promises can be chained using .then() to handle success and .catch() to handle errors.
Example: new Promise((resolve, reject) => { setTimeout(() => resolve('Done!'), 1000); });
promise.all is a method in JavaScript that takes an array of promises and returns a single promise that resolves when all of the input promises have resolved.
Used to handle multiple asynchronous operations at once
Returns a single promise that resolves when all input promises have resolved
If any of the input promises is rejected, the returned promise is rejected with the reason of the first rejected promise
A callback is a function passed as an argument to another function to be executed later.
Callbacks are commonly used in asynchronous programming to handle tasks that take time to complete.
They are often used in event handling, timers, and AJAX requests.
Callbacks can be synchronous or asynchronous, depending on when they are executed.
Example: setTimeout(callback, 1000) will execute the callback function after 1 second.
I was interviewed in Jul 2024.
Idempotent term in patch and put means that multiple identical requests have the same effect as a single request.
Idempotent means that the result of a successful request is the same regardless of how many times it is repeated.
In PATCH and PUT requests, idempotent means that sending the same request multiple times will not have any additional side effects.
For example, if a PATCH request updates a resource with specific ...
Java memory types and where objects are stored
Java memory consists of stack and heap
Primitive data types are stored in stack
Objects and arrays are stored in heap
References to objects are stored in stack
Example: int num = 5; // num is stored in stack, value 5 is stored in stack
Example: String str = new String(); // str reference is stored in stack, actual String object is stored in heap
Yes, hash map stores unique keys.
Hash map in Java does not allow duplicate keys. If you try to insert a duplicate key, it will replace the existing value with the new one.
However, hash map allows duplicate values.
Example: HashMap
Java 8 introduced new methods for HashMap such as forEach, compute, merge, etc.
Java 8 introduced new methods like forEach, compute, merge for HashMap operations
Java 8 allows using lambda expressions for iterating over HashMap entries
Java 8 introduced default methods in Map interface for HashMap
No, static methods or variables cannot be created inside static main() method.
Static methods or variables cannot be created inside another static method.
Static methods or variables can only be created at the class level, outside of any method.
Example: public class MyClass { static int myVariable = 10; }
I was asked a problem around Edit distance and how to compute a average for a stream of data.
I am a passionate Backend Developer with 5 years of experience in building scalable and efficient web applications.
5 years of experience in backend development
Proficient in programming languages like Java, Python, and Node.js
Strong understanding of database management systems such as MySQL and MongoDB
Experience in developing RESTful APIs and microservices
Familiar with cloud technologies like AWS and Azure
I applied via Naukri.com and was interviewed in Jan 2024. There were 2 interview rounds.
I applied via Walk-in and was interviewed in Mar 2024. There was 1 interview round.
I applied via Referral and was interviewed in Aug 2022. There were 2 interview rounds.
based on 2 reviews
Rating in categories
Project Engineer
32.6k
salaries
| ₹1.8 L/yr - ₹8.3 L/yr |
Senior Software Engineer
22.9k
salaries
| ₹5.8 L/yr - ₹22.5 L/yr |
Senior Associate
21.1k
salaries
| ₹0.8 L/yr - ₹5.5 L/yr |
Senior Project Engineer
20.5k
salaries
| ₹5 L/yr - ₹19.1 L/yr |
Technical Lead
18.5k
salaries
| ₹8.2 L/yr - ₹30 L/yr |
TCS
Infosys
Tesla
Amazon