Filter interviews by
I applied via Approached by Company and was interviewed before May 2023. There was 1 interview round.
Promise is an object representing the eventual completion or failure of an asynchronous operation.
Promises are used to handle asynchronous operations in JavaScript.
A Promise can be in one of three states: pending, fulfilled, or rejected.
Promises can be chained using .then() method to handle success and failure.
Example: new Promise((resolve, reject) => { ... }).then(result => { ... }).catch(error => { ... });
Callback is a function passed as an argument to another function to be executed later. Async await is a syntax for writing asynchronous code in a synchronous manner.
Callback is used in event handling, asynchronous programming, and more.
Async await is a modern way to write asynchronous code in a synchronous style.
Example: Callback - setTimeout function in JavaScript.
Example: Async await - fetching data from an API in Ja
Hoisting is a JavaScript behavior where variable and function declarations are moved to the top of their containing scope during the compilation phase.
Variable and function declarations are hoisted to the top of their scope.
Only declarations are hoisted, not initializations.
Function declarations take precedence over variable declarations.
Example: console.log(x); var x = 5; // Output: undefined
Event loop is a mechanism in programming that allows for asynchronous execution of code.
Event loop is commonly used in JavaScript to handle asynchronous operations.
It allows for non-blocking I/O operations by continuously checking the event queue.
Event loop ensures that the program does not get stuck waiting for a single operation to complete.
EventEmitter is a class in Node.js that allows multiple functions to be attached to an event and triggered when the event is emitted.
EventEmitter is a core module in Node.js that allows communication between objects in a loosely coupled way.
It is used for handling events in Node.js applications.
Listeners can be attached to EventEmitter instances using the 'on' method and events can be emitted using the 'emit' method.
Ex...
Request and Response objects are created in Node.js using the 'http' module.
Require the 'http' module in your code
Use the 'http.createServer()' method to create a server
Access the request and response objects in the callback function
let, var, and const are all used to declare variables in JavaScript, but they have different scopes and behaviors.
let: block-scoped variable, can be reassigned
var: function-scoped variable, can be reassigned
const: block-scoped variable, cannot be reassigned, but its properties can be modified
No, you cannot declare a variable with the same name using var keyword.
Variables declared with var keyword can only be declared once within the same scope
Attempting to declare a variable with the same name using var will result in a syntax error
Middleware is software that acts as a bridge between different applications or components, allowing them to communicate and work together.
Middleware facilitates communication between different software components
It can handle tasks such as data conversion, security, and logging
Examples include message brokers like RabbitMQ, web servers like Apache Tomcat, and API gateways like Kong
Debugging memory leaks involves identifying the source of the leak and fixing it to free up memory.
Use memory profiling tools like Valgrind or Instruments to detect memory leaks
Check for unreleased memory allocations in the code
Look for circular references or retain cycles in object-oriented programming languages
Use tools like LeakSanitizer in C/C++ programs to detect memory leaks
Review code for potential memory leaks,
Top trending discussions
I applied via Company Website and was interviewed before Feb 2020. There was 1 interview round.
I applied via Naukri.com and was interviewed before Oct 2020. There were 3 interview rounds.
I applied via LinkedIn and was interviewed before Jan 2021. There was 1 interview round.
I applied via Naukri.com and was interviewed before Jun 2021. There were 3 interview rounds.
It includes, maths, English, Computer, general knowledge
I applied via Campus Placement and was interviewed before Feb 2020. There were 6 interview rounds.
I applied via Company Website and was interviewed before Oct 2020. There were 3 interview rounds.
I applied via Campus Placement and was interviewed in Mar 2021. There was 1 interview round.
SQL is a programming language used to manage and manipulate relational databases.
SQL stands for Structured Query Language
It is used to create, modify, and query databases
Common commands include SELECT, INSERT, UPDATE, and DELETE
SQL is used in a variety of industries, including finance, healthcare, and e-commerce
DBMS stands for Database Management System. It is a software system that allows users to define, create, maintain and control access to databases.
DBMS is used to manage large amounts of data efficiently.
It provides a way to store, retrieve and manipulate data in a structured way.
Examples of DBMS include MySQL, Oracle, and Microsoft SQL Server.
I applied via Company Website and was interviewed in Jul 2021. There was 1 interview round.
I applied via Campus Placement and was interviewed before Aug 2020. There were 3 interview rounds.
A bit is the smallest unit of digital information. It can have a value of either 0 or 1.
A bit is a binary digit, represented as either 0 or 1.
It is the basic unit of information used in computing and digital communications.
A group of 8 bits is called a byte.
The size of a bit is dependent on the architecture of the computer system.
C is a programming language and does not have a fixed number of bits.
C is a high-level programming language that can be compiled to run on different architectures with varying bit sizes.
The number of bits in C depends on the hardware architecture it is compiled for.
For example, C code compiled for a 32-bit architecture will have 32-bit integers, while code compiled for a 64-bit architecture will have 64-bit integers.
based on 1 interview
Interview experience
Software Engineer
4
salaries
| ₹13 L/yr - ₹30 L/yr |
Technical Lead
4
salaries
| ₹24.1 L/yr - ₹38 L/yr |
Senior Manager-HR
3
salaries
| ₹28 L/yr - ₹38 L/yr |
Senior Software Engineer
3
salaries
| ₹18 L/yr - ₹22.1 L/yr |
TCS
Accenture
Wipro
Cognizant