Filter interviews by
To create a service in Angular, you can use the 'ng generate service' command or manually create a service file.
Use the Angular CLI command 'ng generate service serviceName' to create a new service file
Manually create a service file by creating a new TypeScript file with the '.service.ts' extension
Inject the service into components or other services by adding it to the providers array in the @Injectable decorator
Define...
Dependency injection in .NET Core allows for loosely coupled components and easier testing.
In .NET Core, dependency injection is built into the framework, making it easy to use and configure.
Services are registered in the ConfigureServices method of the Startup class.
Dependencies are injected into classes through constructor injection or property injection.
Interfaces are often used to define dependencies, allowing for
Top trending discussions
posted on 25 Dec 2024
Basic coding, logic implementation
posted on 24 Jan 2024
I applied via Recruitment Consulltant and was interviewed in Dec 2023. There were 2 interview rounds.
posted on 3 Apr 2024
I applied via Campus Placement
posted on 5 Dec 2024
posted on 6 Jun 2024
I applied via Naukri.com and was interviewed before Jun 2023. There were 2 interview rounds.
Given some JavaScript program to solve
Pure pipes do not have any side effects and always return the same output for the same input, while impure pipes can have side effects and may not return the same output for the same input.
Pure pipes are stateless and deterministic.
Impure pipes can have side effects like modifying global variables or making network requests.
Pure pipes always return the same output for the same input.
Impure pipes may not return the same...
Angular life cycle hooks are methods that allow you to tap into specific points in a component's life cycle.
ngOnChanges: called when an input property changes
ngOnInit: called once after the first ngOnChanges
ngDoCheck: called during every change detection run
ngAfterContentInit: called after content is projected into the component
ngAfterContentChecked: called after every check of projected content
ngAfterViewInit: called ...
An interceptor is a software component that intercepts incoming and outgoing requests, allowing for manipulation or monitoring of the data.
Interceptors are commonly used in web development frameworks to add cross-cutting concerns such as logging, authentication, or caching.
They can be used to modify the request or response before it reaches the intended destination.
Examples include HTTP interceptors in AngularJS or req
posted on 19 Mar 2024
I applied via Infosys and was interviewed before Mar 2023. There were 3 interview rounds.
General Aptitude test, logical and reasoning
A pointer is a variable that stores the memory address of another variable.
Pointers are used to indirectly access and manipulate data in memory.
They are commonly used in programming languages like C and C++.
Example: int *ptr; // declares a pointer to an integer variable
OSI (Open Systems Interconnection) model consists of 7 layers, each responsible for different functions in network communication.
Physical layer - deals with physical connection of devices (e.g. cables)
Data link layer - responsible for error detection and correction (e.g. Ethernet)
Network layer - handles routing and addressing (e.g. IP)
Transport layer - ensures reliable data transfer (e.g. TCP)
Session layer - manages se...
Cpp programs can use static, stack, or heap memory allocation for variables and objects.
Static memory allocation is done at compile time and is used for variables declared outside functions.
Stack memory allocation is done at runtime and is used for variables declared inside functions.
Heap memory allocation is done at runtime and is used for dynamic memory allocation using new and delete operators.
posted on 20 Dec 2024
I applied via Naukri.com and was interviewed in Nov 2024. There were 2 interview rounds.
posted on 24 Dec 2022
I applied via Company Website and was interviewed in Jun 2022. There were 2 interview rounds.
3 questions were asked again, 1 easy 1 medium-difficult and 1 difficult.
posted on 14 Oct 2024
I applied via Naukri.com and was interviewed in Sep 2024. There were 3 interview rounds.
Promises in JavaScript are objects 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() method to handle success and failure.
Example: const myPromise = new Promise((resolve, reject) => { ... });
Transient, Scoped, and Singleton are different types of dependency injection lifetimes in software engineering.
Transient: New instance is created every time it is requested. Suitable for lightweight objects with no shared state.
Scoped: Instance is created once per request within the scope. Suitable for objects that are shared within a single request.
Singleton: Single instance is created and shared throughout the applic...
I am a dedicated software engineer with a passion for problem-solving and creating innovative solutions.
Experienced in multiple programming languages such as Java, Python, and C++
Strong background in software development methodologies like Agile and Scrum
Skilled in database management and cloud computing technologies
Have worked on projects involving machine learning and artificial intelligence
based on 1 interview
Interview experience
TCS
Accenture
Cognizant
Infosys