
NatWest Group

30+ NatWest Group Interview Questions and Answers for Freshers
Q1. How would you resolve a merge conflict if two developers are working on the same branch?
Resolve merge conflict by communicating with the other developer, reviewing changes, and using version control tools.
Communicate with the other developer to understand their changes and discuss how to resolve the conflict.
Review the conflicting changes in the code to identify the differences and decide which changes to keep.
Use version control tools like Git to merge the changes manually or use tools like Git's merge tool to automatically resolve conflicts.
Test the merged cod...read more
Q2. What is the purpose of the 'with' keyword in Python?
The 'with' keyword in Python is used for resource management and ensures that clean-up actions are performed.
Used for managing resources like files, sockets, etc.
Automatically closes the resource when the block of code is exited
Helps in avoiding resource leaks and ensures proper clean-up
Follows the context management protocol
Q3. Write a program to find the sum of the contiguous subarray within a one-dimensional array of numbers that has the largest sum.
Program to find the sum of the contiguous subarray with the largest sum in a one-dimensional array.
Start with initializing variables for current sum and max sum as the first element of the array.
Iterate through the array, updating current sum by adding the current element or starting a new subarray.
Update max sum if current sum is greater, and continue until the end of the array.
Return the max sum as the result.
Q4. Longest Subarray Zero Sum Problem Statement
Given an array of integers arr
, determine the length of the longest contiguous subarray that sums to zero.
Input:
N (an integer, the length of the array)
arr (list of ...read more
Find the length of the longest contiguous subarray with zero sum in an array of integers.
Use a hashmap to store the prefix sum and its corresponding index.
Iterate through the array and update the hashmap with the current sum and index.
If the same sum is encountered again, the subarray between the two indices has a sum of zero.
Q5. Wait in selenium and how to find all links present in a page xpath
To wait in Selenium, we can use explicit and implicit waits. To find all links in a page using XPath, we can use the findElements() method.
To wait in Selenium, we can use explicit wait with ExpectedConditions or implicit wait with the setScriptTimeout() method.
Explicit wait waits for a certain condition to occur before proceeding with the next steps.
Implicit wait sets a maximum time for the driver to wait for an element to appear.
To find all links in a page using XPath, we ca...read more
Q6. What is page object model and test ng annotations
Page Object Model (POM) is a design pattern used in test automation to create an object repository for web UI elements.
POM helps in creating reusable and maintainable code by separating the test logic from the page-specific details.
Each web page is represented as a separate class, and the UI elements and their actions are defined as methods within that class.
POM improves code readability, reduces code duplication, and enhances test maintenance.
TestNG annotations are used in T...read more
Q7. How to handle alert in selenium and methods
To handle alerts in Selenium, we use the Alert interface and its methods.
To switch to an alert, we use the switchTo() method of WebDriver class.
To accept or dismiss an alert, we use the accept() or dismiss() method of Alert interface.
To get the text of an alert, we use the getText() method of Alert interface.
To send text to an alert, we use the sendKeys() method of Alert interface.
Q8. How to take screenshot and project framework
To take a screenshot in automation testing, use the built-in methods provided by the testing framework.
In Selenium, use the getScreenshotAs() method to capture a screenshot.
In Appium, use the getScreenshotAs() method to capture a screenshot.
In TestNG, use the ITestResult interface to capture a screenshot on test failure.
In Cucumber, use the After hook to capture a screenshot after each scenario.
Q9. Is functional components and class components both are same or not?
Functional components and class components are not the same in React. Functional components are simpler and more lightweight, while class components have additional features like state and lifecycle methods.
Functional components are stateless and are just JavaScript functions that return JSX.
Class components have access to state and lifecycle methods like componentDidMount and componentDidUpdate.
Functional components are easier to read and test, while class components can be ...read more
Q10. What is software testing life cycle
Software Testing Life Cycle (STLC) is a process followed to ensure quality in software development by conducting various testing activities.
STLC consists of several phases: requirement analysis, test planning, test case development, test environment setup, test execution, and test closure.
Each phase has specific objectives and deliverables, ensuring that the testing process is systematic and thorough.
STLC helps in identifying defects early, reducing the cost of fixing them, a...read more
Q11. How many locator is present in selenium
There are 8 locators present in Selenium.
Selenium provides 8 different locators to identify elements on a web page.
The locators are: ID, Name, Class Name, Tag Name, Link Text, Partial Link Text, CSS Selector, and XPath.
Each locator has its own syntax and usage.
For example, to locate an element by ID, you can use driver.findElement(By.id("elementId"));
Q12. How to find broken link
To find broken links, use a link checker tool or browser extension.
Use a link checker tool like Xenu's Link Sleuth or W3C Link Checker
Install a browser extension like Check My Links for Chrome or Link Checker for Firefox
Manually check links by clicking on them and checking for error messages
Regularly check for broken links to ensure website functionality
Q13. How good are you with using excel (Solver, what if analysis, Pivot charts) and are you comfortable with the following features?
I am proficient in using Excel, including Solver, What If analysis, and Pivot charts.
I have experience using Solver to optimize solutions in Excel.
I am comfortable with conducting What If analysis to explore different scenarios.
I can create and manipulate Pivot charts to visualize data effectively.
Q14. What is a project and what is the difference between project and product management?
A project is a temporary endeavor with a specific goal, while product management focuses on the development and marketing of a product.
A project is a temporary effort undertaken to create a unique product, service, or result.
Project management involves planning, executing, and closing the project, while product management focuses on the development and marketing of a product.
Project management is focused on achieving specific goals within a set timeframe and budget, while pro...read more
Q15. what do you mean by scrum review and scrum retrospective?
Scrum review is a meeting where the team demonstrates the work completed during the sprint. Scrum retrospective is a meeting where the team reflects on the sprint and identifies areas for improvement.
Scrum review is also known as sprint review and is usually held at the end of the sprint to showcase the completed work to stakeholders.
Scrum retrospective is a meeting held after the sprint review where the team discusses what went well, what could be improved, and how to make c...read more
Q16. 2. What are deferred Assets and Liabilities?
Deferred assets and liabilities are those that are recognized in the future due to certain events or transactions.
Deferred assets are expenses that have been paid in advance but will be recognized as an asset in the future, such as prepaid rent or insurance.
Deferred liabilities are revenues that have been received in advance but will be recognized as a liability in the future, such as unearned revenue or customer deposits.
Deferred assets and liabilities are recognized in the ...read more
Q17. How can you help RBS grow?
I can help RBS grow by leveraging my analytical skills and expertise to identify opportunities for improvement and develop strategies for expansion.
Conducting thorough market research to identify potential growth areas
Analyzing financial data to identify cost-saving opportunities
Developing and implementing strategies to attract new customers and retain existing ones
Identifying and mitigating risks that may hinder growth
Collaborating with cross-functional teams to drive innova...read more
Q18. What is leverage ratio
The leverage ratio is a financial metric that measures the proportion of debt used to finance a company's assets.
It is calculated by dividing a company's total debt by its total assets.
A higher leverage ratio indicates a higher level of debt relative to assets, which can be risky.
Regulatory bodies may set minimum leverage ratios for financial institutions to ensure stability.
For example, if a company has $1 million in debt and $5 million in assets, its leverage ratio would be...read more
Q19. 1. Difference Between Trial Balance and Balance Sheet?
Trial balance is a list of all ledger accounts and their balances, while balance sheet is a financial statement that shows a company's assets, liabilities, and equity at a specific point in time.
Trial balance is an internal document used to ensure the accuracy of accounting records before preparing financial statements.
Balance sheet is an external document that provides a snapshot of a company's financial position at the end of an accounting period.
Trial balance lists all acc...read more
Q20. What is Components in React?
Components in React are reusable, independent pieces of code that manage their own state and can be composed together to build complex user interfaces.
Components are the building blocks of React applications
They can be class components or functional components
Components can have their own state and lifecycle methods
Components can be reused throughout the application
Example:
, ,
Q21. Why React is reusable?
React is reusable because it allows developers to create components that can be easily reused throughout an application.
React components can be easily reused in different parts of an application, saving time and effort.
Components can be composed together to build complex UIs, promoting reusability.
React's virtual DOM efficiently updates only the components that have changed, improving performance and reusability.
Q22. what is DSCR ratio
DSCR is a financial ratio used to measure a company's ability to cover its debt obligations.
DSCR is calculated by dividing a company's operating income by its total debt service obligations.
A DSCR of 1 means the company is just able to cover its debt payments, while a DSCR above 1 indicates the company has more than enough income to cover its debt.
Lenders typically look for a DSCR of at least 1.25 to ensure the company can comfortably meet its debt obligations.
DSCR is an impo...read more
Q23. Difference between sql joins, few sql queries
SQL joins are used to combine rows from different tables based on a related column, while SQL queries are used to retrieve specific data from a database.
SQL joins are used to combine rows from different tables based on a related column
There are different types of SQL joins, such as inner join, left join, right join, and full outer join
SQL queries are used to retrieve specific data from a database based on certain conditions
Common SQL queries include SELECT, INSERT, UPDATE, an...read more
Q24. Difference between hashmap and hash table
HashMap is non-synchronized and allows null values, while HashTable is synchronized and does not allow null values.
HashMap is non-synchronized, meaning it is not thread-safe, while HashTable is synchronized and thread-safe.
HashMap allows null values for both keys and values, while HashTable does not allow null keys or values.
HashMap is generally preferred for non-thread-safe applications, while HashTable is used in multi-threaded environments.
Q25. Significance of equals and hashcode in java
Equals method is used to compare the content of objects while hashcode method is used to generate a unique integer value for an object.
Equals method is used to compare the content of objects for equality.
Hashcode method is used to generate a unique integer value for an object.
Both methods are important for implementing proper object comparison and hashing in Java.
Q26. What is agile methodologies?
Agile methodologies are a set of principles and practices that prioritize flexibility, collaboration, and iterative development in project management.
Focus on adaptive planning and continuous improvement
Emphasize collaboration between cross-functional teams
Deliver working software in short iterations
Respond to change quickly and effectively
Popular frameworks include Scrum, Kanban, and Extreme Programming
Q27. Give example of a data science project you worked on
Developed a predictive model to forecast customer churn for a telecommunications company
Collected and cleaned customer data including demographics, usage patterns, and customer service interactions
Performed exploratory data analysis to identify key factors influencing customer churn
Built a machine learning model using logistic regression to predict likelihood of customer churn
Evaluated model performance using metrics such as accuracy, precision, recall, and ROC curve
Provided ...read more
Q28. How do you match our values?
I match your values through my commitment to integrity, teamwork, and continuous improvement.
I prioritize honesty and transparency in all data analysis processes.
I value collaboration and actively seek input from team members to enhance project outcomes.
I am dedicated to ongoing learning and skill development to stay current in the field.
I strive for excellence in all tasks and take pride in delivering high-quality work.
I am passionate about making a positive impact through d...read more
Q29. Who is ceo of RBS?
The CEO of RBS (Royal Bank of Scotland) is Alison Rose, who took on the role in November 2019.
Alison Rose is the first female CEO of RBS.
She has been with the bank since 1994, holding various leadership roles.
Under her leadership, RBS has focused on digital transformation and customer service improvements.
Rose has emphasized the importance of sustainability and responsible banking.
Q30. Oops concepts in details
Oops concepts refer to Object-Oriented Programming principles like Inheritance, Polymorphism, Encapsulation, and Abstraction.
Inheritance: Allows a class to inherit properties and behavior from another class.
Polymorphism: Ability of objects to take on multiple forms.
Encapsulation: Bundling data and methods that operate on the data into a single unit.
Abstraction: Hiding the complex implementation details and showing only the necessary features.
Top HR Questions asked in NatWest Group for Freshers
Interview Process at NatWest Group for Freshers

Top Interview Questions from Similar Companies








Reviews
Interviews
Salaries
Users/Month

