Filter interviews by
A child process is a process created by another process, known as the parent process.
Child processes inherit resources and attributes from the parent process.
Child processes can communicate with the parent process and other child processes.
Examples include when a program spawns multiple processes to perform different tasks.
Callback hell is a situation in asynchronous programming where multiple nested callbacks make the code difficult to read and maintain.
Occurs when multiple asynchronous operations are nested within each other
Can lead to deeply nested code which is hard to understand and debug
Can be mitigated using promises, async/await, or libraries like async.js
OOPs principles are a set of guidelines that help in designing and implementing object-oriented programs.
Encapsulation: Hiding the internal details of an object and exposing only the necessary information.
Inheritance: Creating new classes from existing ones, inheriting their properties and methods.
Polymorphism: Ability of objects to take on multiple forms or behaviors.
Abstraction: Focusing on essential features of...
Event emitter is a mechanism in Node.js that allows communication between objects using events.
Event emitter is a built-in module in Node.js.
It allows objects to emit named events and register listeners for those events.
Listeners are functions that are executed when the event is emitted.
Event emitter is commonly used in Node.js for handling asynchronous operations.
Example: EventEmitter class in Node.js can be used...
Node.js uses an event loop to handle asynchronous operations, allowing non-blocking I/O and efficient execution of code.
The event loop is a single-threaded model that manages asynchronous callbacks.
It operates in phases: timers, I/O callbacks, idle, poll, check, and close callbacks.
Example: setTimeout() schedules a callback to be executed after a specified delay.
I/O operations (like reading files) are offloaded to...
React is a JavaScript library for building user interfaces.
React is used for creating interactive UI components.
It allows developers to build reusable UI components.
React uses a virtual DOM for efficient rendering.
React is commonly used in web development for single-page applications.
Loops are used in programming to repeat a block of code multiple times until a certain condition is met.
Loops help in automating repetitive tasks
Types of loops include for, while, and do-while
Example: for loop to iterate over an array and perform an operation on each element
A class representing a car with properties and methods.
Create a class named Car
Add properties like make, model, year, color
Include methods like start(), stop(), accelerate(speed), brake()
Example: class Car { constructor(make, model, year, color) { this.make = make; this.model = model; this.year = year; this.color = color; } start() { console.log('Car started'); } stop() { console.log('Car stopped'); } accelerate(s...
I applied via Naukri.com and was interviewed in Apr 2024. There was 1 interview round.
Callback hell is a situation in asynchronous programming where multiple nested callbacks make the code difficult to read and maintain.
Occurs when multiple asynchronous operations are nested within each other
Can lead to deeply nested code which is hard to understand and debug
Can be mitigated using promises, async/await, or libraries like async.js
React is a JavaScript library for building user interfaces.
React is used for creating interactive UI components.
It allows developers to build reusable UI components.
React uses a virtual DOM for efficient rendering.
React is commonly used in web development for single-page applications.
Loops are used in programming to repeat a block of code multiple times until a certain condition is met.
Loops help in automating repetitive tasks
Types of loops include for, while, and do-while
Example: for loop to iterate over an array and perform an operation on each element
A child process is a process created by another process, known as the parent process.
Child processes inherit resources and attributes from the parent process.
Child processes can communicate with the parent process and other child processes.
Examples include when a program spawns multiple processes to perform different tasks.
Node.js uses an event loop to handle asynchronous operations, allowing non-blocking I/O and efficient execution of code.
The event loop is a single-threaded model that manages asynchronous callbacks.
It operates in phases: timers, I/O callbacks, idle, poll, check, and close callbacks.
Example: setTimeout() schedules a callback to be executed after a specified delay.
I/O operations (like reading files) are offloaded to the ...
Event emitter is a mechanism in Node.js that allows communication between objects using events.
Event emitter is a built-in module in Node.js.
It allows objects to emit named events and register listeners for those events.
Listeners are functions that are executed when the event is emitted.
Event emitter is commonly used in Node.js for handling asynchronous operations.
Example: EventEmitter class in Node.js can be used to c...
I applied via Referral and was interviewed in Apr 2023. There were 3 interview rounds.
Write a code which includes inheritance and polymorphism.
I applied via Approached by Company and was interviewed in Aug 2022. There were 4 interview rounds.
OOPs principles are a set of guidelines that help in designing and implementing object-oriented programs.
Encapsulation: Hiding the internal details of an object and exposing only the necessary information.
Inheritance: Creating new classes from existing ones, inheriting their properties and methods.
Polymorphism: Ability of objects to take on multiple forms or behaviors.
Abstraction: Focusing on essential features of an o...
I applied via Campus Placement and was interviewed before May 2023. There were 2 interview rounds.
Easy appti is there no worry
2 question based on array and ll
I applied via Campus Placement and was interviewed before Feb 2023. There were 3 interview rounds.
Online Basic aptitude questions test.
A class representing a car with properties and methods.
Create a class named Car
Add properties like make, model, year, color
Include methods like start(), stop(), accelerate(speed), brake()
Example: class Car { constructor(make, model, year, color) { this.make = make; this.model = model; this.year = year; this.color = color; } start() { console.log('Car started'); } stop() { console.log('Car stopped'); } accelerate(speed)...
I applied via Recruitment Consulltant and was interviewed before Mar 2022. There were 4 interview rounds.
I applied via Naukri.com and was interviewed in Dec 2021. There was 1 interview round.
Top trending discussions
posted on 24 Mar 2015
Program to create a copy of a doubly linked list with an arbit pointer.
Traverse the original list and create a new node for each node in the list.
Store the mapping of original node to the new node in a hash table.
Traverse the original list again and set the next and arbit pointers of the new nodes.
Return the head of the new list.
Implement functionality for online test with timer and handle power failure scenarios
Create a timer function to track the time
Store the start time and end time of the test
Implement a backup system to save progress in case of power failure
Use a database to store test data and progress
Handle edge cases like internet connectivity issues
A recursive function to check if a number is prime or not.
Create a function that takes a number as input.
Check if the number is less than 2, return false.
Check if the number is 2, return true.
Check if the number is divisible by any number less than it, return false.
If none of the above conditions are met, call the function recursively with the number minus 1.
To reverse a linked list, we need to traverse the list and change the direction of the pointers.
Create three pointers: prev, curr, and next
Initialize prev to null, curr to head of the linked list, and next to null
Traverse the list and change the direction of the pointers: next = curr.next; curr.next = prev; prev = curr; curr = next;
Set the new head of the linked list to prev
It is not possible to stop man in the middle attack over an insecure communication line without using any kind of encryption.
Without encryption, the communication line is inherently insecure and vulnerable to man-in-the-middle attacks.
One possible solution is to use a secure communication line, such as a VPN or a dedicated private network.
Another solution is to use digital signatures to verify the authenticity of the c...
HTTP is unsecured while HTTPS is secured with SSL/TLS encryption.
HTTP stands for Hypertext Transfer Protocol while HTTPS stands for Hypertext Transfer Protocol Secure.
HTTP operates on port 80 while HTTPS operates on port 443.
HTTP is unencrypted while HTTPS is encrypted with SSL/TLS.
HTTPS provides authentication and data integrity while HTTP does not.
HTTPS is used for secure online transactions such as online banking, e...
Heap and stack memory are two types of memory allocation in a program. Local variables are stored in stack memory. Memory tables are used to track memory allocation.
Heap memory is used for dynamic memory allocation, while stack memory is used for static memory allocation.
Local variables are stored in stack memory and are only accessible within the scope of the function they are declared in.
Memory tables are used to kee...
The duration of Pratham Software interview process can vary, but typically it takes about less than 2 weeks to complete.
based on 7 interview experiences
Difficulty level
Duration
based on 79 reviews
Rating in categories
Senior Software Engineer
123
salaries
| ₹6.5 L/yr - ₹18.6 L/yr |
Software Engineer
103
salaries
| ₹6 L/yr - ₹13.1 L/yr |
System Analyst
50
salaries
| ₹13.9 L/yr - ₹22 L/yr |
Lead Software Engineer
26
salaries
| ₹15.5 L/yr - ₹31 L/yr |
Senior Test Engineer
17
salaries
| ₹10.5 L/yr - ₹15 L/yr |
Prime Focus Technologies
Subex
Yalamanchili Software Exports
Algonomy