Barclays
100+ PhonePe Interview Questions and Answers
Preeti has decided to go to the Grand Mall to buy some stuff for her father’s birthday. On reaching the place, she found a fascinating shop that has an unlimited quantity of each item they sell. T...read more
Given a value N, if we want to make change for N cents, and we have infinite supply of each of S = { S1, S2, .. , Sm} valued coins, how many ways can we make the change? The order of coins doesn’t ma...read more
Q3. You cannot come office today. But an emergency has arisen which requires your system and your system is password protected and only you know know the password. What will you do?
I would provide the password to a trusted colleague or supervisor who can access my system remotely.
Identify a trusted colleague or supervisor who has access to remote login
Provide them with the password and instructions on how to access the system
Ensure that they have the necessary permissions to perform any required tasks
Stay in communication with them to ensure that the emergency is being handled appropriately
For a given array with N elements, you need to find the length of the longest subsequence from the array such that all the elements of the subsequence are sorted in strictly increa...read more
It was a Technical round. The level was medium.
Technical Questions-
1. What is Multi-Threading?
2. Give differences between Java and C++
3. OOPs Concepts.
4. Some basic SQL Queries.
5. Why is Ja...read more
You are given an array Arr consisting of n integers, you need to find a valid triplet as explained below.
An array is said to have a valid triplet {arr[i], arr[j], arr[k]} ...read more
Given a boolean 2D matrix. The task is to find the number of distinct islands where a group of connected 1s (horizontally or vertically) forms an island. Two islands are considered to be distinct...read more
Ninja has been given a dictionary of words ‘WORDS’ of length ‘N’ and a sentence ‘SENTENCE’ consisting of words separated by a single space. Ninja has to make the ‘SENTENCE’ as small as poss...read more
You are given an array 'ARR' of integers of length N. Your task is to find the first missing positive integer in linear time and constant space. In other words, find the lowest positive in...read more
Given a graph with N nodes, numbered from 1 to N and M edges. Determine if it is a tree ?
Q11. A shot fired from a gun pointing towards a tree full of birds. All birds left except one. Why ?
The one bird was already dead.
The bird was already dead before the shot was fired.
The bird was injured and unable to fly away with the rest of the birds.
The bird was a decoy bird used for hunting purposes.
The bird was a trained bird used for falconry.
10 were of aptitude, 5 from Data Structures and Algorithms, 3 from time complexity, 10 from Maths ( statistics, probability) , 10 from Database management system & Operating System.
Reverse the given string word-wise. The last word in the given string should come at 1st place, the last-second word at 2nd place, and so on. Individual words should remain as it is.
Inp...read more
Q14. Cut cake into 8 pieces .You can use knife 3 times only
Cut cake into 8 pieces using knife 3 times only.
First, cut the cake horizontally into two equal halves.
Then, cut the cake vertically into four equal pieces.
Finally, cut the cake horizontally again into eight equal pieces.
Make sure to use the knife efficiently to minimize the number of cuts.
Practice visualization before making the cuts to avoid mistakes.
You’re given a string S of length N and a string P of length M. Your task is to find the number of occurrences of P in S in linear time.
For example:
If S = "ababa", and P = "ab", then "ab" occurs tw...read more
Q16. How you will find the smallest of 4 numbers without using >.< and min function using java
Finding smallest of 4 numbers without using >.< and min function in Java.
Initialize a variable with the first number
Compare it with the remaining numbers using if-else statements
If a smaller number is found, update the variable
Repeat until all numbers are compared
The final value of the variable will be the smallest number
The task is to print the Name and Age entered by the user
Input Format:
Line 1: A String Line 2: An Integer
Output Format:
Print String and Integer
Q18. What is Derivatives? Explain Futures, Swaps, Options.
Derivatives are financial instruments whose value is derived from an underlying asset or benchmark.
Futures are contracts to buy or sell an asset at a predetermined price on a future date.
Swaps are agreements to exchange cash flows or financial instruments based on predetermined conditions.
Options give the holder the right, but not the obligation, to buy or sell an asset at a predetermined price within a specific period.
Q19. Explain the background process that takes place during an atm transaction
ATM transaction involves multiple background processes including authentication, authorization, and communication with bank servers.
Customer inserts card and enters PIN
ATM authenticates the card and PIN
ATM requests authorization from bank server
Bank server verifies account balance and approves or denies transaction
ATM dispenses cash or completes other requested transaction
ATM updates account balance and sends transaction details to bank server
Q20. What is form 3CA and 3CD? Present tax audit limit? Recent amendments in applicability of tax audit?. How will you record goods in transit? What is credit risk? What is IRR? What is NPV? What is the difference b...
read moreA series of questions related to tax audit, accounting, finance, and investments.
Form 3CA and 3CD are documents required for tax audit in India.
The present tax audit limit is Rs. 5 crores.
Recent amendments in applicability of tax audit include an increase in the threshold limit for businesses with digital transactions.
Goods in transit can be recorded using a transit account.
Credit risk is the risk of loss due to a borrower's failure to repay a loan or meet contractual obligat...read more
Then He Asked Me About My Projects. I Had A Couple Of Projects In JAVA And He First Asked Me Why I Made These Projects, What Was My Goal For Making These Projects & The Technologies Used. He ...read more
Q22. How many barbers are required for a hypothetical town with 10000 people?
The number of barbers required depends on the average number of haircuts per day and the time it takes to complete a haircut.
The average number of haircuts per day per barber is typically around 10-15.
The time it takes to complete a haircut is usually around 30 minutes.
Assuming each person gets a haircut once every month, the number of haircuts per day would be 10000 / 30 = 333.33.
To accommodate this, around 333.33 / 10 = 33.33 barbers would be required.
Q23. What is the difference between Mean, Median, Mode?
Mean is the average of a set of numbers, median is the middle value, and mode is the most frequently occurring value.
Mean is calculated by summing all the numbers in a set and dividing by the total count.
Median is the middle value when the numbers are arranged in ascending or descending order.
Mode is the value that appears most frequently in a set of numbers.
Mean is affected by outliers, while median and mode are not.
For example, in the set {1, 2, 3, 4, 5}, the mean is 3, the...read more
Q24. How do you explain classes and objects to a 1st standard kid?
Classes are like blueprints and objects are like things made using those blueprints.
Classes are like instructions or rules that tell us how to make something.
Objects are the actual things that we make using those instructions.
For example, a class 'Car' tells us how to make a car, and an object 'myCar' is the actual car that we make using those instructions.
What is Semaphore
How to get queries
Q26. What is desired core profile in Finance?
The desired core profile in Finance includes strong analytical skills, attention to detail, knowledge of financial principles, and the ability to make sound financial decisions.
Strong analytical skills to analyze financial data and make informed decisions
Attention to detail to ensure accuracy in financial reporting and analysis
Knowledge of financial principles, including accounting, budgeting, and financial forecasting
Ability to make sound financial decisions based on analysi...read more
Q27. 1. Sorting Algo, write code, how do you calculate complexity of that and what are the types. 2. ArrayList sorting 3. Abstract class and Interface and which to use when and why? 4. Given a diagram of the archite...
read moreAnswering interview questions for a Developer position
Sorting algorithms: code, complexity calculation, and types
ArrayList sorting
Abstract class vs Interface
Explaining application architecture
Different types of joins and their usage
Swap logic with and without a third variable
Client-side vs server-side validation
Code deployment experience
Working in sprints
Q28. How would you impair a CGU and asset not a part of CGU [CGU = Cash generating unit]
To impair a CGU and asset not a part of CGU, assess the recoverable amount and compare it to the carrying amount.
Determine the recoverable amount of the CGU and the asset not part of the CGU.
Compare the recoverable amount to the carrying amount of the CGU and the asset.
If the recoverable amount is lower than the carrying amount, impair the CGU and the asset.
Recognize the impairment loss in the financial statements.
Q29. What is the difference between Future and Forward Contracts.
Future contracts are standardized and traded on exchanges, while forward contracts are customized and traded over-the-counter.
Future contracts are standardized agreements to buy or sell an asset at a predetermined price and date.
Forward contracts are customized agreements between two parties to buy or sell an asset at a mutually agreed price and date.
Future contracts are traded on exchanges, providing liquidity and transparency.
Forward contracts are traded over-the-counter (O...read more
Q30. What are your interests? Explain with examples.
My interests include investing, financial analysis, and staying updated on market trends.
I have a passion for investing and enjoy researching and analyzing different investment opportunities.
I am interested in financial analysis and enjoy studying financial statements to understand a company's performance.
I like to stay updated on market trends and economic news to make informed investment decisions.
I actively participate in investment clubs and online forums to discuss inves...read more
Q31. What is that thing which helps you to take difficult tasks.
The thing that helps me take difficult tasks is determination and a positive mindset.
Determination: Having a strong will and persistence to overcome challenges.
Positive mindset: Maintaining an optimistic attitude and believing in my abilities.
Goal setting: Breaking down difficult tasks into smaller, manageable goals.
Time management: Prioritizing tasks and allocating time effectively.
Seeking support: Asking for help or guidance when needed.
Learning from failures: Viewing setba...read more
Q32. What decision by Raguram Rajan made all banks worried?
Q33. Swap two number without using temperory variable
Swap two numbers without using a temporary variable.
Use addition and subtraction to swap the values
Use XOR operator to swap the values
Use multiplication and division to swap the values
Q34. How you will add 2 table
To add 2 tables, we need to use a join operation on a common column.
Identify the common column between the tables
Choose the appropriate join type (inner, outer, left, right)
Write the SQL query to join the tables
Example: SELECT * FROM table1 INNER JOIN table2 ON table1.column = table2.column
Q35. Do you know IFRS. Which IFRS relates to Revenue Recognition
Q36. What is difference between Mean, Median, Mode?
Mean is the average of a set of numbers, median is the middle value, and mode is the most frequently occurring value.
Mean is calculated by summing all the values and dividing by the number of values.
Median is the middle value when the numbers are arranged in ascending or descending order.
Mode is the value that appears most frequently in a set of numbers.
Mean is affected by outliers, while median and mode are not.
For example, in the set {1, 2, 3, 4, 5}, the mean is 3, the medi...read more
Q37. What are your improvement areas?
I am always looking for ways to improve my financial analysis skills and stay updated with industry trends.
Continuously learning and staying updated with the latest financial regulations and industry trends
Improving my data analysis and modeling skills
Enhancing my knowledge of financial software and tools
Developing better communication and presentation skills to effectively convey financial information
Working on time management and prioritization to meet deadlines
Building str...read more
Q38. Imagine i have set up a SPV. Explain in detail about it.
An SPV (Special Purpose Vehicle) is a legal entity created for a specific purpose, often used in finance to isolate risk.
SPVs are commonly used in securitization transactions to pool assets and issue securities backed by those assets.
They are designed to protect investors by isolating the assets and liabilities of the SPV from the sponsoring company.
SPVs can be used for various purposes such as financing projects, managing risk, or facilitating tax planning.
They are typically...read more
Q39. How accounting of derivatives is made?
Accounting of derivatives involves recognizing fair value changes and recording them in financial statements.
Derivatives are financial instruments whose value is derived from an underlying asset or benchmark.
Accounting for derivatives involves recognizing and measuring fair value changes in the financial statements.
Fair value changes are recorded in the income statement or other comprehensive income, depending on the purpose of the derivative.
Derivatives are initially recogni...read more
Q40. What is difference between compound and simple interest?
Compound interest includes interest on both principal and accumulated interest, while simple interest only includes interest on the principal.
Simple interest is calculated only on the principal amount.
Compound interest is calculated on both the principal and the accumulated interest.
Compound interest yields higher returns than simple interest over time.
Simple interest is commonly used for short-term loans, while compound interest is used for long-term investments.
The formula ...read more
Q41. Explain me some of the Object Oriented Programming Concepts?
Object Oriented Programming (OOP) concepts include encapsulation, inheritance, polymorphism, and abstraction.
Encapsulation: Bundling data and methods together in a class to hide implementation details.
Inheritance: Creating new classes from existing ones, inheriting their properties and behaviors.
Polymorphism: The ability of objects of different classes to respond to the same method in different ways.
Abstraction: Simplifying complex systems by breaking them down into smaller, ...read more
Q42. How are CDE's identified ? Give some example scenario?
CDEs are identified through data analysis and consultation with subject matter experts.
CDEs are identified by analyzing data to determine which variables are consistently collected across studies.
Subject matter experts are consulted to ensure that the identified variables are relevant and important to the field.
Examples of CDEs include demographic information, medical history, and clinical outcomes.
CDEs may also be identified through consensus-building processes, such as work...read more
Q43. Write the code for finding xpath for an object on web page and click on it
Use browser developer tools to inspect element and generate xpath, then use Selenium to click on it
Inspect element on web page using browser developer tools
Generate xpath for the object
Use Selenium WebDriver to locate and click on the object
Q44. What are all the delivery metrics you use how are these collected?
Various delivery metrics are used such as cycle time, lead time, throughput, and defect rate. Data is collected through tools like Jira and Excel sheets.
Cycle time: time taken to complete a task from start to finish
Lead time: time taken from task creation to completion
Throughput: number of tasks completed in a given time period
Defect rate: number of defects found in delivered work
Data collected through tools like Jira, Excel sheets, and project management software
Q45. What are the essential elements of good customer service?
Good customer service involves listening, empathy, promptness, and going above and beyond.
Active listening to understand customer needs
Showing empathy and understanding towards customer concerns
Prompt and timely response to customer queries and complaints
Going above and beyond to exceed customer expectations
Providing personalized solutions to meet individual customer needs
Q46. What do you know about AS- Impairment of Assets
Q47. What are your interest areas?
My interest areas include financial analysis, investment management, and risk assessment.
Financial analysis
Investment management
Risk assessment
Q48. How logistic regression works for multiple class classification?
Logistic regression works by calculating the probability of each class and assigning the observation to the class with the highest probability.
Logistic regression calculates the probability of each class using the logistic function.
The model then assigns the observation to the class with the highest probability.
It is commonly used for binary classification, but can be extended to multiple classes using techniques like one-vs-rest or multinomial logistic regression.
Q49. Explain the time complexity of different sorting algorithms.
Sorting algorithms have different time complexities based on their implementation and efficiency.
Bubble Sort: O(n^2) - compares adjacent elements and swaps them if they are in the wrong order.
Merge Sort: O(n log n) - divides the array into two halves, sorts them, and then merges them.
Quick Sort: O(n log n) - picks a pivot element and partitions the array around the pivot.
Heap Sort: O(n log n) - builds a max heap and repeatedly extracts the maximum element.
Insertion Sort: O(n^...read more
Q50. Explain 4 pillars of OOPs (Abstraction, Encapsulation, Inheritance and polymorphism)
OOPs pillars are Abstraction, Encapsulation, Inheritance, and Polymorphism.
Abstraction: Hides complex implementation details and only shows necessary features. Example: Car dashboard displaying speed without showing internal engine details.
Encapsulation: Bundling data and methods that operate on the data into a single unit. Example: Class in Java encapsulates data members and member functions.
Inheritance: Allows a new class to inherit properties and behavior of an existing cl...read more
Q51. Difference between union and union all
Union combines and removes duplicates, Union All combines all rows including duplicates.
Union is used to combine the result sets of two or more SELECT statements and remove duplicates.
Union All is used to combine the result sets of two or more SELECT statements and includes all rows, including duplicates.
Union is slower than Union All as it has to remove duplicates.
Union requires the same number of columns in all SELECT statements, while Union All does not.
Example: SELECT col...read more
Q52. Which are different types of APIs?
Different types of APIs include RESTful APIs, SOAP APIs, GraphQL APIs, and WebSockets.
RESTful APIs: Representational State Transfer APIs that use standard HTTP methods like GET, POST, PUT, DELETE.
SOAP APIs: Simple Object Access Protocol APIs that use XML for communication.
GraphQL APIs: Query language for APIs that allows clients to request only the data they need.
WebSockets: APIs that enable bidirectional communication between clients and servers.
Q53. What is difference IFRS and Ind As Financial Instruments
IFRS and Ind AS have different standards for financial instruments.
IFRS recognizes financial instruments as either financial assets or financial liabilities, while Ind AS recognizes them as either financial assets, financial liabilities, or equity instruments.
IFRS requires fair value measurement for all financial instruments, while Ind AS allows for amortized cost measurement for certain financial instruments.
IFRS has specific rules for hedge accounting, while Ind AS allows f...read more
Q54. What is PERT?
PERT stands for Program Evaluation and Review Technique. It is a project management tool used to analyze and estimate the time required to complete a project.
PERT is a probabilistic technique that uses three time estimates: optimistic, most likely, and pessimistic.
It calculates the expected time for each activity and the overall project duration.
PERT uses a network diagram to represent the project's activities and their dependencies.
It helps in identifying critical paths and ...read more
Q55. Prepared a full fledged working model of a publicly listed company
I have prepared a working model of a publicly listed company.
I analyzed the company's financial statements and market trends.
I created a detailed financial model using Excel.
I conducted sensitivity analysis to test the model's assumptions.
I used valuation techniques such as DCF and comparables analysis.
I presented my findings and recommendations to the team.
Example: I prepared a working model of Apple Inc. using its financial statements and market data.
Example: I used a 5-yea...read more
Q56. Write a code for palindrome
Code for palindrome checking
Convert the input to lowercase to ignore case sensitivity
Use two pointers, one at the start and one at the end of the string
Compare the characters at both pointers and move them towards each other
If all characters match, it's a palindrome
Q57. Key Achievments IND AS on Leases IND AS On Employee Benefits Tax Audit General questions Why Barclays
I have successfully implemented IND AS on Leases and Employee Benefits, handled Tax Audit General questions, and chose Barclays for its reputation and growth opportunities.
Implemented IND AS on Leases and Employee Benefits, ensuring compliance with accounting standards
Handled Tax Audit General questions, demonstrating strong knowledge of tax laws and regulations
Chose Barclays for its reputation as a leading financial institution and its potential for career growth
Successfully...read more
Q58. How would you create pnl of a credit card strategy change
To create P&L of a credit card strategy change, analyze revenue and expenses before and after the change.
Analyze current revenue streams from credit card products
Estimate potential impact of strategy change on revenue (e.g. increased interest income, higher fees)
Evaluate changes in expenses (e.g. marketing costs, operational costs)
Calculate net profit or loss resulting from the strategy change
Q59. Control environment - How one adheres process & policies while delivery the change.
Adhering to processes and policies while delivering change is crucial for maintaining control environment.
Ensure clear communication of processes and policies to all team members
Regularly monitor and enforce adherence to processes and policies
Provide training and support to help team members understand and follow processes
Document any deviations from processes and policies for review and improvement
Use technology and automation to streamline processes and ensure compliance
Q60. what is confidence interval of an estimator?
Confidence interval of an estimator is a range of values that is likely to contain the true value of the parameter being estimated.
Confidence interval provides a range of values within which we are confident the true parameter value lies.
It is calculated based on the sample data and the desired level of confidence.
For example, a 95% confidence interval for the mean weight of a population would be a range of values within which we are 95% confident the true mean weight lies.
Q61. how do you deal with missing values in a data?
I handle missing values by identifying them, deciding on a strategy (imputation or deletion), and documenting the process.
Identify missing values by checking for null values or using descriptive statistics.
Decide on a strategy for handling missing values such as imputation (mean, median, mode) or deletion (row or column).
Document the process of handling missing values to ensure transparency and reproducibility.
Q62. Give two tables perform different type of joins
Two tables performing different types of joins
Inner join: Returns rows when there is a match in both tables
Left join: Returns all rows from the left table and the matched rows from the right table
Right join: Returns all rows from the right table and the matched rows from the left table
Full outer join: Returns all rows when there is a match in either table
Q63. How to read and validate data from PDF file?
To read and validate data from a PDF file, use a PDF parsing library to extract text and then validate the extracted data.
Use a PDF parsing library like Apache PDFBox or iText to extract text from the PDF file
Validate the extracted data by comparing it with expected values or patterns
Consider using regular expressions for data validation
Handle different types of data formats within the PDF file, such as text, tables, or images
Q64. Write any javascript code
Javascript code to display 'Hello World!' on the webpage
Create a new HTML file
Add a script tag with 'type' attribute set to 'text/javascript'
Inside the script tag, use document.write() to display 'Hello World!'
Q65. What is PERT/CPM?
PERT/CPM is a project management technique used to plan and schedule tasks in a project.
PERT stands for Program Evaluation and Review Technique, while CPM stands for Critical Path Method.
PERT/CPM helps in determining the critical path, which is the longest sequence of dependent tasks that determines the project's duration.
It involves identifying all the tasks, estimating their durations, and determining the dependencies between them.
PERT uses three time estimates for each tas...read more
Q66. How is ChatGPT good and bad at the same time?
ChatGPT is good at generating human-like responses quickly, but can also produce inaccurate or biased information.
Good: ChatGPT can provide quick responses to user queries, saving time and effort.
Bad: ChatGPT may generate inaccurate information or biased responses based on the data it was trained on.
Good: ChatGPT can assist in customer service by answering frequently asked questions efficiently.
Bad: ChatGPT may lack empathy or understanding in sensitive situations, leading to...read more
Q67. Explain JOINS(Inner join, LEFT Join etc)
JOINS are used in SQL to combine rows from two or more tables based on a related column between them.
Inner Join: Returns rows when there is at least one match in both tables.
LEFT Join: Returns all rows from the left table, and the matched rows from the right table.
RIGHT Join: Returns all rows from the right table, and the matched rows from the left table.
FULL Join: Returns rows when there is a match in one of the tables.
Self Join: Joining a table with itself.
Q68. What do you know about internal audit?
Internal audit is an independent, objective assurance and consulting activity designed to add value and improve an organization's operations.
Internal audit evaluates the effectiveness of an organization's risk management, control, and governance processes.
It provides recommendations for improvement and helps organizations achieve their objectives.
Internal auditors are responsible for assessing the accuracy of financial statements and ensuring compliance with laws and regulati...read more
Q69. Difference between controller and controller extension
Controller handles the logic for a Visualforce page, while controller extension extends the functionality of a standard or custom controller.
Controller is used to handle the logic for a Visualforce page
Controller extension extends the functionality of a standard or custom controller
Controller can be used to create new records, update existing records, and perform other operations on the Salesforce platform
Controller extension can be used to add additional methods and variable...read more
Q70. Write a code for pop node from stack data structure.
Code to pop a node from a stack data structure in C#.
Create a method to remove and return the top element from the stack.
Check if the stack is empty before popping the node to avoid errors.
Decrement the top index after popping the node to update the stack.
Q71. What is GC and what types we have
GC stands for Garbage Collection, a process in programming languages where unused memory is automatically reclaimed.
Types of GC include: Mark and Sweep, Reference Counting, Generational, and Incremental.
Mark and Sweep: Identifies and removes unreachable objects.
Reference Counting: Keeps track of the number of references to an object and deletes it when the count reaches zero.
Generational: Divides objects into different generations based on their age and collects them accordin...read more
Q72. Can you catchup with new stack
Yes, I can catch up with new stack.
I have a strong foundation in software development and can quickly learn new technologies.
I have experience in adapting to new programming languages and frameworks.
I am proactive in keeping up with industry trends and continuously learning new skills.
I have successfully transitioned to new stacks in previous projects.
I can provide examples of projects where I quickly learned and utilized new technologies.
Q73. What do you think about globalization.
Globalization has both positive and negative impacts on the economy and society.
Globalization has increased international trade and investment, leading to economic growth and job creation.
However, it has also led to outsourcing and job loss in certain industries.
Globalization has also increased cultural exchange and diversity, but has also led to cultural homogenization.
It has also contributed to environmental degradation and income inequality.
Overall, globalization requires ...read more
Q74. what is data encapsulation?
Data encapsulation is the concept of bundling data and methods that operate on the data into a single unit, known as a class.
Encapsulation hides the internal state of an object and only exposes the necessary functionalities through methods.
It helps in achieving data abstraction and information hiding.
Example: A class 'Car' encapsulates data like speed, color, and methods like accelerate() and brake().
Q75. Usage of Hashmaps and Dictionaries
Hashmaps and dictionaries are data structures used to store key-value pairs for efficient retrieval and storage.
Hashmaps and dictionaries are commonly used in programming to store and retrieve data based on a unique key.
They offer fast lookup times, typically O(1) on average, making them ideal for scenarios where quick access to data is required.
Examples of using hashmaps include storing user information with a unique user ID as the key, or mapping words to their frequencies ...read more
Q76. What is micro and macro economics.
Microeconomics deals with individual economic agents while macroeconomics deals with the economy as a whole.
Microeconomics focuses on the behavior of individuals and firms in making decisions regarding the allocation of limited resources.
Macroeconomics studies the overall performance of the economy, including issues such as inflation, unemployment, and economic growth.
Microeconomics examines the supply and demand of specific goods and services, while macroeconomics looks at t...read more
Q77. Program to write highest number of array?
Program to find the highest number in an array of strings.
Convert each string element in the array to an integer
Iterate through the array to find the highest number
Return the highest number found
Q78. Explain about Teradata architecture
Teradata architecture is a massively parallel processing (MPP) architecture designed for data warehousing and analytics.
Teradata architecture follows a shared-nothing approach.
It consists of parsing engine, BYNET, access module processors (AMPs), and disks.
Parsing engine receives SQL queries and generates an execution plan.
BYNET is responsible for interconnecting the parsing engine and AMPs.
AMPs store and process data in parallel.
Disks store the actual data in a distributed m...read more
Q79. multiple inheritance allowed in java?
No, multiple inheritance is not allowed in Java.
Java does not support multiple inheritance for classes to avoid the diamond problem.
However, multiple inheritance is allowed for interfaces in Java.
Example: class A extends B, C is not allowed, but interface X extends Y, Z is allowed.
Q80. How to manage difficult situation
Managing difficult situations involves staying calm, analyzing the problem, communicating effectively, and finding a solution.
Stay calm and composed to think clearly
Analyze the situation to understand the root cause
Communicate effectively with all parties involved
Collaborate with team members to brainstorm solutions
Implement the best solution and monitor its effectiveness
Q81. Walk me through a trading process
A trading process involves buying and selling financial instruments in the market.
Research and analysis of market trends and opportunities
Placing buy or sell orders through a trading platform
Monitoring and managing open positions
Executing trades based on predetermined strategies
Recording and analyzing trade data for performance evaluation
Q82. tell about Trade life cycle
Trade life cycle refers to the stages involved in a trade from initiation to settlement.
The trade life cycle includes trade initiation, trade execution, trade confirmation, trade settlement, and trade reconciliation.
During trade initiation, the trader identifies the opportunity and decides to execute the trade.
Trade execution involves the actual buying or selling of the security.
Trade confirmation involves verifying the details of the trade and ensuring that both parties agre...read more
Q83. What does Financial Instruments mean?
Financial instruments refer to assets that can be traded, such as stocks, bonds, derivatives, and currencies.
Financial instruments are assets that can be traded on financial markets.
They include stocks, bonds, derivatives, currencies, and commodities.
These instruments can be used for investment, hedging, or speculation.
Examples include shares of a company, government bonds, options contracts, and foreign exchange.
The value of financial instruments can fluctuate based on marke...read more
Q84. What is straddle and strangle
Straddle and strangle are options trading strategies involving the purchase or sale of both a call and a put option with the same expiration date.
A straddle involves buying or selling a call and put option at the same strike price and expiration date.
A strangle involves buying or selling a call and put option with different strike prices but the same expiration date.
Both strategies are used when the trader expects a significant price movement in the underlying asset but is un...read more
Q85. What is Investment banking
Investment banking is a financial service that helps companies and governments raise capital by underwriting and selling securities.
Investment banks act as intermediaries between issuers and investors
They provide advice on mergers and acquisitions, and help companies go public
Investment banking services include underwriting, trading, research, and asset management
Examples of investment banks include Goldman Sachs, JPMorgan Chase, and Morgan Stanley
Q86. What is sanctions and ofac?
Sanctions and OFAC are regulatory measures imposed by governments to restrict or prohibit certain activities with specific countries, entities, or individuals.
Sanctions are penalties or restrictions imposed on countries, entities, or individuals to achieve specific foreign policy or national security objectives.
OFAC stands for Office of Foreign Assets Control, a U.S. government agency responsible for enforcing economic and trade sanctions based on U.S. foreign policy and nati...read more
Q87. how to download PDF file?
To download a PDF file, you can use a web browser or a command line tool like wget or curl.
Use a web browser to navigate to the webpage containing the PDF file link
Right-click on the link to the PDF file and select 'Save link as' or 'Download linked file'
Alternatively, you can use command line tools like wget or curl to download the PDF file
Q88. difference between regression and re-testing.
Regression testing is testing the entire application after a change, while re-testing is testing a specific part after a bug fix.
Regression testing involves testing the entire application to ensure that new changes have not affected existing functionality.
Re-testing involves testing a specific part of the application that was previously found to have a bug, after the bug has been fixed.
Regression testing is done to ensure that new changes do not introduce new bugs, while re-t...read more
Q89. Explain sharing in salesforce
Sharing in Salesforce refers to the process of granting access to records and data to users or groups based on their roles and permissions.
Sharing rules can be defined to grant access to specific records or data based on criteria
Manual sharing can be used to grant access to individual records
Role hierarchy determines the level of access a user has to records
Sharing settings can be customized for objects and fields
Sharing can also be extended to external users through communit...read more
Q90. What is Kyc Quality Control?
KYC Quality Control (QC) involves ensuring compliance with regulations and internal policies by reviewing and verifying customer information.
Reviewing customer documentation for accuracy and completeness
Verifying customer identities through various checks and screenings
Identifying and reporting any discrepancies or suspicious activities
Ensuring compliance with anti-money laundering (AML) and know your customer (KYC) regulations
Maintaining detailed records of all QC activities...read more
Q91. diff btw static and final
Static is used to define class-level variables and methods, while final is used to define constants and prevent inheritance or modification.
Static variables and methods belong to the class itself, while final variables cannot be changed once initialized.
Static members can be accessed without creating an instance of the class, while final members must be accessed through an instance.
Static variables are shared among all instances of a class, while final variables are unique to...read more
Q92. Big data with hadoop Spark hive
Big data technologies like Hadoop, Spark, and Hive are commonly used for processing and analyzing large datasets.
Hadoop is a distributed storage and processing framework for big data
Spark is a fast and general-purpose cluster computing system for big data
Hive is a data warehouse infrastructure built on top of Hadoop for querying and analyzing large datasets
These technologies are often used together in big data projects to handle large volumes of data efficiently
Q93. tell about cash management
Cash management involves managing the inflow and outflow of cash in an organization to ensure financial stability.
Cash management involves forecasting cash flow and creating a budget.
It also involves managing accounts receivable and payable.
Effective cash management can help an organization avoid cash shortages and improve financial performance.
Examples of cash management techniques include cash pooling and cash concentration.
Cash management also involves ensuring compliance ...read more
Q94. What is Credit Default Swap
A Credit Default Swap (CDS) is a financial derivative contract that allows an investor to hedge against the risk of default on a debt instrument.
CDS is essentially a form of insurance against the default of a borrower or issuer of a debt security.
The buyer of a CDS makes periodic payments to the seller in exchange for protection against default on a specified debt obligation.
If the borrower defaults, the seller of the CDS compensates the buyer for the loss incurred.
CDS can be...read more
Q95. What does Barclays do?
Barclays is a multinational investment bank and financial services company.
Provides banking, investment, and wealth management services
Offers retail and corporate banking services
Operates globally with a presence in over 40 countries
Known for its innovation in digital banking services
Q96. What are derivatives
Derivatives are financial instruments whose value is derived from an underlying asset or group of assets.
Derivatives can be used for hedging, speculation, or arbitrage.
Common types of derivatives include options, futures, forwards, and swaps.
Derivatives allow investors to take on leverage and potentially increase returns, but also come with higher risks.
Example: A call option on a stock gives the holder the right to buy the stock at a specified price within a certain time fra...read more
Q97. Frequency of elements in array.
Count the frequency of elements in an array of strings.
Iterate through the array and use a hashmap to store the frequency of each element.
If the element is already in the hashmap, increment its count. Otherwise, add it to the hashmap with a count of 1.
Return the hashmap containing the frequencies of each element.
Q98. Selenium program to Handel alerts.
To handle alerts in Selenium, use the Alert interface methods like accept(), dismiss(), getText(), and sendKeys().
Use driver.switchTo().alert() to switch to the alert
Use accept() method to click on OK button in the alert
Use dismiss() method to click on Cancel button in the alert
Use getText() method to get the text present in the alert
Use sendKeys() method to enter text in the alert input box
Q99. What is JIT compiler
JIT compiler stands for Just-In-Time compiler, which compiles code during runtime instead of ahead of time.
JIT compiler improves performance by compiling code on the fly as it is needed
It converts bytecode into native machine code for execution
Examples include Java HotSpot JIT compiler and .NET JIT compiler
Q100. what are futures
Futures are financial contracts that obligate the buyer to purchase an asset or the seller to sell an asset at a predetermined future date and price.
Futures are standardized contracts traded on exchanges, where the buyer agrees to purchase an asset at a future date for a price agreed upon today.
They are commonly used in commodities, currencies, and financial instruments trading.
Futures allow investors to hedge against price fluctuations and speculate on the future price movem...read more
Top HR Questions asked in PhonePe
Interview Process at PhonePe
Top Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month