IVP (India)
10+ UBS Interview Questions and Answers
Q1. What is arrow function in JS
Arrow functions are a concise way to write functions in JavaScript.
Arrow functions have a shorter syntax compared to regular functions.
They do not have their own 'this' keyword, and instead inherit 'this' from the parent scope.
Arrow functions are best suited for non-method functions, and cannot be used as constructors.
Example: const add = (a, b) => a + b;
Q2. DBMS query of second highest employee , find employeeid of manager whose employee name is 'something' (based on self join & only one table)
Use self join in a DBMS query to find the employeeid of the manager whose employee name is 'something'.
Use a self join on the table to compare employee and manager names
Order the results by employeeid in descending order to get the second highest employee
Select the manager's employeeid where the employee name is 'something'
Q3. program to reverse a linked list
Reverse a linked list by changing the next pointers of each node to point to the previous node.
Start with three pointers: current, prev, and next.
Iterate through the linked list, updating the next pointers to point to the previous node.
Update prev, current, and next pointers in each iteration until the end of the list is reached.
Q4. What is runtime polymerphism
Runtime polymorphism is the ability of a subclass to override a method from its superclass during runtime.
Runtime polymorphism is achieved through method overriding in object-oriented programming.
It allows a subclass to provide a specific implementation of a method that is already defined in its superclass.
The actual method called is determined by the type of object at runtime.
Example: Animal class has a method 'makeSound', Dog subclass overrides it with 'bark', Cat subclass ...read more
Q5. What is abstraction in oops
Abstraction in OOP is the concept of hiding complex implementation details and showing only the necessary features to the outside world.
Abstraction allows us to focus on what an object does rather than how it does it
It helps in reducing complexity and improving maintainability of code
Example: A car is an abstraction of various components like engine, wheels, etc. Users interact with the car without needing to know the internal workings
Q6. What is CTE in sql
CTE stands for Common Table Expression in SQL, used to create temporary result sets that can be referenced within a SELECT, INSERT, UPDATE, or DELETE statement.
CTEs improve readability and maintainability of complex queries
CTEs can be recursive, allowing for hierarchical data querying
CTEs are defined using the WITH keyword followed by the CTE name and query
Q7. Uses of B Tree
B Trees are used for indexing in databases and file systems.
Used for efficient searching, insertion, and deletion operations in databases.
Helps in maintaining sorted data for quick retrieval.
Commonly used in file systems to store large amounts of data efficiently.
Each node in a B Tree can have multiple children, reducing the height of the tree.
Q8. What reactor bolier chilling pump (types of pump)
Reactor boiler chilling pumps include centrifugal pumps, positive displacement pumps, and axial flow pumps.
Centrifugal pumps are commonly used for high flow and low-pressure applications.
Positive displacement pumps are used for high-pressure applications.
Axial flow pumps are used for high flow and low-pressure applications.
Examples of reactor boiler chilling pumps include end suction pumps, split case pumps, and vertical turbine pumps.
Q9. Working principal of chiller (cycle of chiller brine chilling)
A chiller works by circulating a refrigerant through a cycle of evaporation, compression, condensation, and expansion.
The chiller uses a refrigerant to absorb heat from the water or air being chilled
The refrigerant evaporates at low pressure and absorbs heat
The refrigerant is then compressed, which increases its temperature
The compressed refrigerant then condenses, releasing the heat it absorbed
The refrigerant is then expanded, which lowers its temperature and pressure, and t...read more
Q10. 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 positions on the price movements of assets without owning the assets themselves.
They are often used to manage risk in financial markets.
Derivatives are traded on exchanges or over-the-counter (OTC) mark...read more
Q11. What is hedge fund?
A hedge fund is an investment fund that pools capital from accredited individuals or institutional investors and invests in a variety of assets.
Hedge funds are typically only available to accredited investors due to their complex and risky nature.
They often use leverage and derivatives to amplify returns.
Hedge funds charge both a management fee and a performance fee based on the fund's profits.
They can invest in a wide range of assets including stocks, bonds, commodities, and...read more
Q12. Ability to sale speciality product
I have a proven track record of successfully selling specialty products by understanding customer needs and providing tailored solutions.
Identify target market for specialty product
Understand unique selling points of the product
Tailor sales pitch to highlight benefits for customers
Provide excellent customer service to build trust and loyalty
Track sales performance and adjust strategies as needed
Q13. What is dirty price
Dirty price is the price of a bond including accrued interest.
Dirty price includes both the current market price of the bond and the accrued interest since the last coupon payment.
It is also known as the full price or invoice price of a bond.
Dirty price is used to calculate the total cost of purchasing a bond.
For example, if a bond has a face value of $1,000 and the accrued interest is $20, the dirty price would be $1,020.
Interview Process at UBS
Top Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month