Find Interview Questions for Top Companies
Gallagher Offshore Interview Questions and Answers
Ques:- One half of a two digit number exceeds its one third by 6. Find the sum of the digits of the number?
Right Answer:
The sum of the digits of the number is 11.
Comments
Sohini Mitra Sep 2, 2022

Let the number be 10Y+X
(10Y+X)/2 = (10X+Y)/3+6
(10Y+X)(1/2-1/3) = 6
10Y+X = 36
Therefore, sum of the digits = 3+6 = 9

Ans: 9

Ques:- Find the greatest number which is such that when 697, 909 and 1227 are divided by it, the remainders are all the same?
Right Answer:
The greatest number is 66.
Comments
Kavisha Chintamani Sep 14, 2021

3

Ques:- Three 6 faced dice are thrown together. The probability that all the three show the same number on them is -.
Right Answer:
The probability that all three dice show the same number is ( frac{1}{6} ).
Ques:- WHAT IS WORKING CAPITAL
Right Answer:
Working capital is the difference between a company's current assets and current liabilities, indicating the short-term financial health and operational efficiency of the business.
Ques:- In a game of billiards, A can give B 20 points in 60 and he can give C 30 points in 60. How many points can B give C in a game of 100?
Right Answer:
B can give C 10 points in a game of 100.
Comments
Sanjay kumar Aug 28, 2021

50

Ques:- How to replace particular string.For example:- suppose their are 1000 of records for email-id.like tarun.it@hotmail.com..but i want to replace the only hotmail.com for all email-ids not the user name(tarun.it) with yahoo.com.
Right Answer:
You can use the `REPLACE` function in SQL Server to replace "hotmail.com" with "yahoo.com" in the email addresses. Here’s the SQL query:

```sql
UPDATE your_table_name
SET email_column = REPLACE(email_column, 'hotmail.com', 'yahoo.com')
WHERE email_column LIKE '%hotmail.com';
```
Ques:- What is an Exception ? What are types of Exception ?
Right Answer:
An exception is an event that occurs during the execution of a program that disrupts the normal flow of instructions. The types of exceptions include:

1. **Checked Exceptions**: These are exceptions that are checked at compile-time, such as `IOException` or `SQLException`.
2. **Unchecked Exceptions**: These are exceptions that occur at runtime and are not checked at compile-time, such as `NullPointerException` or `ArrayIndexOutOfBoundsException`.
3. **Errors**: These are serious issues that a typical application should not try to catch, such as `OutOfMemoryError` or `StackOverflowError`.
Ques:- How to remove duplicate records from a table?
Right Answer:
To remove duplicate records from a table in SQL Server, you can use a Common Table Expression (CTE) with the `ROW_NUMBER()` function. Here’s an example query:

```sql
WITH CTE AS (
SELECT *,
ROW_NUMBER() OVER (PARTITION BY column1, column2 ORDER BY (SELECT NULL)) AS rn
FROM your_table
)
DELETE FROM CTE WHERE rn > 1;
```

Replace `column1`, `column2` with the columns that define duplicates, and `your_table` with the name of your table.
Ques:- How many types of system privileges are there, Can we add or delete privileges?
Right Answer:
There are two types of system privileges: administrative privileges and object privileges. In SQL Server, you cannot directly add or delete system privileges; they are predefined by the system. However, you can grant or revoke them to users or roles.
Ques:- How do you connect Power BI to different data sources
Right Answer:
You can connect Power BI to different data sources by using the "Get Data" option in Power BI Desktop. From there, you can choose from various data source types such as Excel, SQL Server, SharePoint, Web, and many others. After selecting a data source, you will need to provide the necessary connection details and credentials to establish the connection.
Ques:- What is Power BI and what are its main components
Right Answer:
Power BI is a business analytics tool by Microsoft that allows users to visualize data and share insights across their organization. Its main components are:

1. **Power BI Desktop** - A desktop application for creating reports and data visualizations.
2. **Power BI Service** - An online service for sharing and collaborating on reports and dashboards.
3. **Power BI Mobile** - Mobile applications for accessing reports and dashboards on smartphones and tablets.
4. **Power BI Gateway** - A bridge that facilitates secure data transfer between on-premises data sources and Power BI services.
5. **Power BI Report Server** - An on-premises server for hosting Power BI reports and traditional paginated reports.
Ques:- What are bookmarks in Power BI and how are they used
Right Answer:
Bookmarks in Power BI are a feature that allows users to capture the current state of a report page, including filters, slicers, and visuals. They can be used to create a guided navigation experience, highlight specific insights, or save different views of the data for easy access later. Users can easily switch between bookmarks to present different perspectives of the data.
Ques:- What is the use of Power Query Editor in Power BI
Right Answer:
Power Query Editor in Power BI is used to connect to, transform, and clean data before loading it into the Power BI model. It allows users to perform data shaping tasks such as filtering, merging, and aggregating data.
Ques:- What is the difference between import and direct query mode in Power BI
Right Answer:
In Power BI, Import mode loads data into the Power BI model, allowing for faster performance and advanced data modeling features, while DirectQuery mode connects directly to the data source, querying it in real-time without storing the data in Power BI, which can lead to slower performance but ensures the data is always up-to-date.
AmbitionBox Logo

What makes Takluu valuable for interview preparation?

1 Lakh+
Companies
6 Lakh+
Interview Questions
50K+
Job Profiles
20K+
Users