i
DXC Technology
Filter interviews by
Promises are objects representing the eventual completion or failure of an asynchronous operation. Types refer to the data types in TypeScript.
Promises are used for handling asynchronous operations in JavaScript.
They can be in one of three states: pending, fulfilled, or rejected.
Types in TypeScript help catch errors early by enforcing data types at compile time.
Examples: Promise.resolve(), Promise.reject(), string, num
Dependency Injection is a design pattern in which a class receives its dependencies from external sources rather than creating them itself.
Allows for easier testing by injecting mock dependencies
Promotes reusability and modularity by decoupling components
Reduces code duplication by centralizing dependency creation
Example: Angular uses Dependency Injection to provide services to components
Routing is the process of navigating between different pages or views in a web application.
Routing allows users to move between different parts of a web application without reloading the entire page
It is implemented using a router module in Angular, which maps URLs to components
Routes can have parameters that can be passed to components for dynamic content
Routing can be used to create single-page applications (SPAs) wh
posted on 21 Nov 2024
Time queue in API refers to managing requests in a sequential order.
Time queue ensures that API requests are processed in the order they are received.
It helps in preventing overload on the server by limiting the number of concurrent requests.
Examples include using promises or async/await in JavaScript to handle API calls sequentially.
Closure in JavaScript allows a function to access variables from its outer scope even after the function has finished executing.
Closure is created when a function is defined within another function and the inner function references variables from the outer function.
The inner function maintains a reference to the outer function's scope even after the outer function has finished executing.
Closures are commonly used in ev...
NAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
posted on 5 Aug 2024
I applied via Recruitment Consulltant and was interviewed in Jul 2024. There was 1 interview round.
based on 1 review
Rating in categories
Associate Professional Software Engineer
2.2k
salaries
| ₹2.6 L/yr - ₹7 L/yr |
Software Engineer
2k
salaries
| ₹2.4 L/yr - ₹11.7 L/yr |
Associate Professional
1.6k
salaries
| ₹2 L/yr - ₹7 L/yr |
Associate Software Engineer
1.2k
salaries
| ₹3 L/yr - ₹7 L/yr |
Professional 1
1.2k
salaries
| ₹3.4 L/yr - ₹13.6 L/yr |
Cognizant
Capgemini
TCS
Wipro