i
Nagarro
Filter interviews by
I applied via Naukri.com and was interviewed in Dec 2023. There were 2 interview rounds.
1. Find longest repeating character from back.
2. Find all non-duplicates in an array and return in sorted manner.
The class will have to provide its own implementation of the conflicting default method.
When implementing multiple interfaces with the same default method, a class must provide its own implementation of the conflicting method.
The class cannot inherit the default implementation from both interfaces.
The class can choose to implement one of the default methods and provide its own implementation for the other.
Alternatively...
Terminal operations in streams produce a result or a side effect, while intermediate operations transform or filter the data.
Terminal operations are the final operations in a stream pipeline, such as forEach, collect, or reduce.
Intermediate operations are operations that can be chained together, such as filter, map, or sorted.
Terminal operations trigger the processing of the stream and produce a result or a side effect...
try vs try-with-resources
The 'try' statement is used to define a block of code to be tested for exceptions.
The 'try-with-resources' statement is used to automatically close resources that implement the AutoCloseable interface.
Try-with-resources is more concise and less error-prone compared to try-catch-finally.
Try-with-resources can handle multiple resources in a single statement.
Iterator is a universal interface for iterating over a collection, while ListIterator is a specialized interface for iterating over lists.
Iterator can only move forward, while ListIterator can move in both directions.
ListIterator has additional methods like previous(), hasPrevious(), and add().
ListIterator is only available for List implementations, while Iterator can be used with any collection.
Projections in Spring Data JPA allow customizing the shape of the data returned from a query.
Projections are used to retrieve specific fields or a subset of fields from an entity.
They help in reducing the amount of data transferred over the network.
Projections can be defined using interfaces or classes.
They can be used with both JPQL and native SQL queries.
Projections can be used to fetch related entities as well.
The two types of compiler in Angular are JIT (Just-in-Time) compiler and AOT (Ahead-of-Time) compiler.
JIT compiler compiles the code at runtime in the browser.
AOT compiler compiles the code before the application is deployed to the browser.
JIT compilation is slower but allows for faster development and debugging.
AOT compilation is faster but requires additional build step before deployment.
Data binding in Angular allows automatic synchronization of data between the model and the view.
Interpolation: {{ }} - binds data from the component to the view
Property binding: [] - binds data from the component to an element property
Event binding: () - binds an event from the view to a method in the component
Two-way binding: [()] - combines property and event binding to achieve two-way data flow
Promises are used for asynchronous programming in JavaScript, while Observables are used for reactive programming.
Promises represent a single value that may be available now or in the future.
Observables represent a stream of values that can be emitted over time.
Promises are eager, meaning they start executing as soon as they are created.
Observables are lazy, meaning they only start executing when subscribed to.
Promises...
Constructor is a special method used to initialize an object, while ngOnInit is a lifecycle hook in Angular.
Constructor is used to create and initialize an object of a class.
ngOnInit is a lifecycle hook in Angular that is called after the component is initialized.
Constructor is defined using the constructor keyword, while ngOnInit is a method defined in the component class.
Constructor is called only once during the cre...
Inline templates are used for small, simple templates, while external templates are used for larger, complex templates.
Inline templates are defined within the component's TypeScript file using the template property.
External templates are defined in separate HTML files and linked to the component using the templateUrl property.
Inline templates are useful for small components or when the template is simple and doesn't re...
HttpClient module is used for http calls in Angular.
HttpClient module is part of the @angular/common/http package.
It provides a simplified API for making HTTP requests.
It supports various HTTP methods like GET, POST, PUT, DELETE, etc.
It also supports features like request/response headers, query parameters, error handling, etc.
Example: import { HttpClient } from '@angular/common/http';
I appeared for an interview in Dec 2024.
Basic quant and reasoning questions
Selenium MCQ
Java programs with MCQ
The driver is typically initialized in the setup method of a test automation framework.
Driver initialization is usually done in a setup method before test execution.
Commonly used methods for driver initialization include WebDriverManager, System.setProperty, and driver instantiation.
Example: WebDriverManager.chromedriver().setup();
Driver can be both static and non-static depending on the context of its usage.
Driver class can be static if it is used to initiate the WebDriver instance in a test automation framework.
Driver class can be non-static if it is used as an instance variable within a test class.
Static driver can be accessed directly without creating an object of the class.
Non-static driver requires an object of the class to be created befo
Static variables belong to the class itself, while non-static variables belong to instances of the class.
Static variables are shared among all instances of a class
Non-static variables are unique to each instance of a class
Static variables are initialized only once, at the start of the program
Non-static variables are initialized separately for each instance of the class
Static and non-static have their own disadvantages in QA automation testing.
Static methods cannot be overridden or inherited, making it difficult to create flexible test cases.
Non-static methods require an instance of the class to be created, which can lead to increased memory usage.
Static methods can lead to tight coupling between classes, making it harder to maintain and update the code.
Non-static methods may have de...
TestNG allows parallel execution of test cases to save time and improve efficiency.
TestNG provides the 'parallel' attribute in the testng.xml file to specify the level of parallelism for test execution.
Parallel execution can be achieved at the test level, class level, method level, or suite level.
TestNG also supports parallel execution of tests across multiple classes or suites using the 'parallel' attribute in the sui...
Parallel testing in TestNG allows running tests concurrently for faster execution.
Use 'parallel' attribute in testng.xml file to specify parallel execution mode.
Set 'parallel' attribute to 'methods', 'classes', or 'tests' based on the level of parallelism needed.
Example: <suite name='MySuite' parallel='tests'>
Use 'thread-count' attribute to specify the number of threads to use for parallel execution.
Parallel methods run multiple methods concurrently within a single test, while parallel tests run multiple tests concurrently.
Parallel methods execute multiple methods within a single test class concurrently.
Parallel tests execute multiple test classes concurrently.
Parallel methods are useful for speeding up the execution of a single test, while parallel tests are useful for running multiple tests faster.
Example: Runni...
Use Rest Assured to upload a file
Use the given file path to create a File object
Use MultiPartSpecBuilder to build the request with the file
Send the request using Rest Assured's given(), when(), and post() methods
The parameter for a POST method in Postman is typically sent in the request body.
Parameters are sent in the request body in key-value pairs
Parameters can be sent as form-data, x-www-form-urlencoded, or raw JSON
Example: {"key": "value"}
Cucumber knows the step definition file based on the annotations provided in the feature files.
Cucumber uses annotations like @Given, @When, @Then to map steps in feature files to corresponding step definition methods.
Step definition files are typically placed in a separate package or directory within the project structure.
Cucumber scans the project directory for step definition files based on the package structure and
Parameters used in cucumber are used to pass values to the step definitions in feature files.
Parameters are defined in feature files using < > syntax
Parameters can be passed to step definitions using Regular Expressions
Parameters can be used to make scenarios more reusable and dynamic
Datatable in Cucumber is used to pass multiple sets of data to a step definition in a scenario.
Datatables are defined using pipes (|) to separate values
Each row in the datatable represents a set of data passed to the step definition
Datatables can be used for parameterization and data-driven testing
Yes, I have created the test plan document at the start of the project.
Yes, I always create a test plan document at the beginning of a project to outline the testing approach and strategy.
The test plan document includes details on scope, objectives, resources, schedule, and test cases.
It helps in ensuring that all stakeholders are aligned on the testing process and expectations.
For example, in my previous project, I cr...
During the initial testing cycle of a project, focus is on establishing test cases, setting up test environments, and identifying potential issues.
Creating test cases based on requirements
Setting up test environments
Identifying potential issues and risks
Executing test cases and reporting defects
Collaborating with developers to resolve issues
Fibonacci sequence is a mathematical pattern where each number is the sum of the two preceding ones.
Fibonacci sequence is a series of numbers where each number is the sum of the two preceding ones.
The sequence starts with 1, 2, then each subsequent number is the sum of the two previous numbers (1+2=3, 2+3=5, 3+5=8, and so on).
This sequence is used in estimating because it reflects natural growth patterns found in natur
Testing matrix is a tool used to track test coverage and automation ROI is the return on investment from implementing automation testing.
Testing matrix is a visual representation of test cases, test scenarios, and their coverage across different platforms, browsers, devices, etc.
Automation ROI is the measure of the benefits gained from automation testing compared to the costs incurred in implementing and maintaining th...
I applied via Naukri.com and was interviewed in Nov 2024. There were 2 interview rounds.
The Aptitude Test session accesses mathematical and logical reasoning abilities
Vlookup is a function in Excel used to search for a value in a table and return a corresponding value from another column.
Vlookup stands for 'Vertical Lookup'
It is commonly used in Excel to search for a value in the leftmost column of a table and return a value in the same row from a specified column
Syntax: =VLOOKUP(lookup_value, table_array, col_index_num, [range_lookup])
Example: =VLOOKUP(A2, B2:D10, 3, FALSE) - searc...
My day in my previous organization involved analyzing large datasets, creating reports, and presenting findings to stakeholders.
Reviewing and cleaning large datasets to ensure accuracy
Creating visualizations and reports to communicate insights
Collaborating with team members to identify trends and patterns
Presenting findings to stakeholders in meetings or presentations
I possess strong technical skills in data analysis, including proficiency in programming languages, statistical analysis, and data visualization tools.
Proficient in programming languages such as Python, R, SQL
Skilled in statistical analysis and data modeling techniques
Experience with data visualization tools like Tableau, Power BI
Knowledge of machine learning algorithms and techniques
A Pivot Table is a data summarization tool used in spreadsheet programs to analyze, summarize, and present data in a tabular format.
Pivot tables allow users to reorganize and summarize selected columns and rows of data to obtain desired insights.
Users can easily group and filter data, perform calculations, and create visualizations using pivot tables.
Pivot tables are commonly used in Excel and other spreadsheet program...
To find the highest-paid employee in each department, we need to group employees by department and then select the employee with the highest salary in each group.
Group employees by department
Find the employee with the highest salary in each group
Retrieve the employee's name, salary, and department name
What people are saying about Nagarro
I applied via LinkedIn and was interviewed in Sep 2024. There were 3 interview rounds.
Basic interview on question like aptitude, javascript, typescript and react-native question
Function currying is a technique in functional programming where a function with multiple arguments is transformed into a sequence of nested functions, each taking a single argument.
Currying allows you to partially apply a function by fixing a number of arguments, which creates a new function.
It helps in creating reusable functions and improves code readability.
Example: const add = (a) => (b) => a + b; const add5 = add
IIFE stands for Immediately Invoked Function Expression, used for creating a function that is executed immediately after it is defined.
IIFE is used to create a private scope for variables to avoid polluting the global scope.
It is commonly used in React Native development to encapsulate code and prevent naming conflicts.
Example: (function() { console.log('IIFE executed'); })();
Call stack is used to keep track of function calls, while event loop manages asynchronous operations in JavaScript.
Call stack is a data structure that keeps track of function calls in a program.
When a function is called, it is added to the top of the call stack. When the function completes, it is removed from the stack.
Event loop is responsible for managing asynchronous operations in JavaScript, ensuring that they are ...
Nagarro interview questions for popular designations
I appeared for an interview in Jan 2025.
Get interview-ready with Top Nagarro Interview Questions
I applied via Campus Placement and was interviewed in Oct 2024. There were 3 interview rounds.
It contain 40 question which is very easy
It contain 3 coding question
I applied via Approached by Company and was interviewed in Sep 2024. There were 4 interview rounds.
Coding + aptitude test
I applied via Naukri.com and was interviewed in Jul 2024. There were 2 interview rounds.
Online Written MCQ Aptitude test was conducted to filter candidates at first stage.
Implementing BADIs involves creating an enhancement implementation and activating it in the system.
Identify the BADI relevant to the requirement
Create an enhancement implementation using transaction SE18
Implement the necessary logic in the BADI implementation
Activate the BADI implementation using transaction SE19
Filter BADI is quick due to its ability to selectively filter data based on specific criteria.
Filter BADI allows for selective filtering of data based on specific criteria, reducing the amount of data processed.
It can be implemented at various levels in the SAP system, such as at the application level or database level.
Filter BADI can improve performance by reducing the number of records retrieved from the database.
It ...
Screen enhancement can be implemented by using screen exits or BADI implementations in SAP.
Screen exits can be implemented using transaction SMOD or CMOD to add custom fields or logic to standard SAP screens.
BADI implementations can be used to enhance screens by implementing custom logic at specific points in standard SAP transactions.
Enhancements can also be achieved using SAP Screen Personas for a more user-friendly ...
To ensure currency column has different decimals based on currency in ABAP Report, use field symbols and currency conversion functions.
Use field symbols to dynamically assign the number of decimal places based on the currency
Utilize currency conversion functions like 'CONVERT_TO_FOREIGN_CURRENCY' to handle different decimal places for different currencies
Implement logic to determine the currency and set the decimal pla
Use the WRITE statement with the addition COLOR to color a single column and single row in ABAP Report.
Use the WRITE statement with the addition COLOR to specify the color for the text output.
For coloring a single column, use the WRITE statement within a loop for each row and specify the column number.
For coloring a single row, use the WRITE statement for each column in that row and specify the row number.
To implement a solution in SAP, follow these steps: analyze requirements, design solution, configure system, test, deploy, and support.
Analyze the business requirements to understand the scope of the solution.
Design the solution architecture and create a detailed plan.
Configure the SAP system according to the design specifications.
Test the solution to ensure it meets the requirements and is error-free.
Deploy the soluti...
I applied via Company Website and was interviewed in Sep 2024. There were 4 interview rounds.
Simple aptitude qyestions
! simple and 1 medium levelleetcode questions
Data structure question related to Array and Strings mostly
I applied via Campus Placement and was interviewed in Nov 2024. There were 3 interview rounds.
45 questions, 50 mins
3 questions esy to medium, 75 minutes
The duration of Nagarro interview process can vary, but typically it takes about less than 2 weeks to complete.
based on 597 interviews
Interview experience
based on 4.2k reviews
Rating in categories
Associate Staff Engineer
3.3k
salaries
| ₹10 L/yr - ₹35.2 L/yr |
Staff Engineer
3k
salaries
| ₹15 L/yr - ₹43.2 L/yr |
Senior Engineer
2.6k
salaries
| ₹5.8 L/yr - ₹23.6 L/yr |
Senior Software Engineer
1.1k
salaries
| ₹5.2 L/yr - ₹27.8 L/yr |
Engineer
912
salaries
| ₹3.5 L/yr - ₹11.2 L/yr |
Deloitte
Cognizant
TCS
Accenture