i
Winjit Technologies
Filter interviews by
Promises are objects representing the eventual completion or failure of an asynchronous operation.
Promises are used in JavaScript to handle asynchronous operations.
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: Fetching data from an API returns a Promise that resolves with the data or rejects with an erro
Node.js is single threaded, but uses multiple threads for I/O operations.
Node.js uses a single thread to handle all JavaScript code execution.
It uses multiple threads from a thread pool to handle I/O operations asynchronously.
This allows Node.js to handle high concurrency without blocking the main thread.
Example: When reading a file, Node.js will use a separate thread from the pool to perform the I/O operation.
Reverse the Array of Strings
I applied via Referral and was interviewed before Sep 2021. There were 5 interview rounds.
Angular is a front-end framework while Node.js is a back-end runtime environment.
Angular is used for building dynamic web applications with a focus on the client-side.
Node.js is used for building server-side applications with JavaScript.
Angular uses TypeScript for building applications while Node.js uses JavaScript.
Angular has a large community and a lot of pre-built components while Node.js has a vast library of modul...
Top trending discussions
posted on 11 Nov 2024
Closures are functions that have access to variables from their containing scope even after the scope has closed.
Closures allow functions to access variables from their outer function even after the outer function has finished executing.
They are commonly used in event handlers, callbacks, and asynchronous programming.
Closures help in maintaining state in functional programming.
Virtual DOM is a lightweight copy of the actual DOM used for efficient updates in web development.
Virtual DOM is a concept used in frameworks like React to improve performance by minimizing actual DOM manipulations.
When changes are made to the virtual DOM, a comparison is done with the actual DOM to determine the minimal updates needed.
This approach reduces the number of costly DOM operations, resulting in faster rende
Data types in JavaScript include number, string, boolean, object, function, undefined, and null.
Number - represents numeric data, e.g. 10, 3.14
String - represents textual data, e.g. 'hello', '123'
Boolean - represents true or false values, e.g. true, false
Object - represents complex data structures, e.g. { key: 'value' }
Function - represents executable code, e.g. function() { }
Undefined - represents a variable that has ...
React code for a simple counter
Create a functional component for the counter
Use useState hook to manage the count state
Render the count value and buttons to increment and decrement the count
posted on 27 Nov 2024
Aptitude test with aptitude based questions
Variable hoisting is a behavior in JavaScript where variable declarations are moved to the top of their scope during compilation.
Variable declarations are hoisted to the top of their function or global scope.
Only the declarations are hoisted, not the initializations.
This can lead to unexpected behavior if variables are accessed before they are declared.
Closures in JavaScript allow functions to access variables from an outer function even after the outer function has finished executing.
Closures are created whenever a function is defined within another function.
Inner functions have access to the outer function's variables even after the outer function has returned.
Closures are commonly used to create private variables and functions in JavaScript.
Example: function outer...
posted on 24 Jul 2024
To read an external text file, you can use file handling techniques in programming languages like Python or Java.
Use file handling functions like open(), read(), and close() in Python to read an external text file.
In Java, use classes like FileReader and BufferedReader to read text files.
Specify the file path and mode (read mode) when opening the file.
Read the contents of the file line by line or as a whole, depending ...
Java program to find occurrences of characters in a string
Create a HashMap to store characters and their counts
Iterate through the string and update the counts in the HashMap
Print the characters and their counts from the HashMap
posted on 12 Nov 2024
Coding test was on Java programs. Basically for loop programs.
Normal aptitude questions.
based on 2 interviews
Interview experience
based on 16 reviews
Rating in categories
Software Engineer
307
salaries
| ₹3 L/yr - ₹13.9 L/yr |
Software Developer
213
salaries
| ₹2.8 L/yr - ₹9.1 L/yr |
Senior Software Engineer
151
salaries
| ₹4.4 L/yr - ₹16.4 L/yr |
Project Engineer
39
salaries
| ₹7.6 L/yr - ₹19 L/yr |
Technical Lead
30
salaries
| ₹10.4 L/yr - ₹21 L/yr |
Persistent Systems
TCS
Infosys
Wipro