Find Interview Questions for Top Companies
Themathcompany Interview Questions and Answers
Ques:- A leak in the bottom of a tank can empty the full tank in 8 hours. An inlet pipe fills water at the rate of 6 liters a minute. When the tank is full, the inlet is opened and due to the leak, the tank is empty in 12 hours. How many liters does the cistern hold?
Right Answer:
The cistern holds 720 liters.
Ques:- Two pipes A and B can separately fill a cistern in 60 min and 75 min respectively. There is a third pipe in the bottom of the cistern to empty it. If all the three pipes are simultaneously opened, then the cistern is full in 50 min. In how much time, the third pipe alone can empty the cistern?
Right Answer:
The third pipe can empty the cistern in 150 minutes.
Ques:- You client is a large real estate development company considering buying a piece of real estate. How do you analyze the investment?
Right Answer:
To analyze the investment, I would:

1. **Conduct Market Research**: Assess the local real estate market trends, demand, and supply.
2. **Evaluate Financial Metrics**: Calculate key metrics such as ROI, cash flow, cap rate, and net present value (NPV).
3. **Perform Due Diligence**: Review property documents, zoning laws, and any potential legal issues.
4. **Assess Location**: Analyze the property's location for accessibility, amenities, and future development plans.
5. **Estimate Costs**: Consider acquisition costs, renovation expenses, and ongoing operational costs.
6. **Risk Analysis**: Identify potential risks and develop mitigation strategies.
7. **Consult Stakeholders**: Gather input from relevant stakeholders, including financial advisors and real estate experts.
Ques:- Given a text file (FILE1) with lots of words (ex, an ebook), and another file (FILE2) with a list of blacklist words (slangs, porn, etc.), write a program to find the top 100 words(most frequent 100 words) from FILE1 which are not present in FILE2.
Comments
Admin May 17, 2020

Steps to solve this.
1. open FILE1 in read mode
2. read content by using read()
3 split content by using
so that you can get lines
4 split lines by split(' ') so that you can get words
5 repeat above 4 lines with file FILE2
6 iterate words list and create dictionary word and frequency as key values.
skip the value if it is found in file2 key words.
7 sort dict by using x= list(sorted(wordsarr.items(),wordsarr.get, reverse=true)
so that we can get sorted dict in desc order.
8 return top 100 words by using print(x[:101])

Ques:- How to clear cache in django ?
Right Answer:
To clear the cache in Django, you can use the following command in the Django shell:

```python
from django.core.cache import cache
cache.clear()
```

Alternatively, if you're using a specific cache backend, you can clear it using:

```bash
python manage.py clear_cache
```

Make sure to replace `clear_cache` with the appropriate command if you're using a custom cache management command.
Ques:- Write a program to check whether the object is of a class or its subclass.
Comments
Admin May 17, 2020

There is a method which is built-in to show the instances of an object that consists of many classes by providing a tuple in a table instead of individual classes. The method is given as isinstance(obj,cls) and in more details given as:
isinstance(obj, (class1, class2, ...)) that is used to check about the object’s presence in one of the classes. The built in types can also have many formats of the same function like isinstance(obj, str) or isinstance(obj, (int, long, float, complex)).
It is not preferred to use the class instead user-defined classes are made that allow easy object-oriented style to define the behavior of the object’s class. These perform different thing that is based on the class. The function differs from one class to another class. To find out the object of the particular class the following program is used:
def search(obj):
if isinstance(obj, box):
# This is the code that is given for the box and write the program in the object
elif isinstance(obj, Document):
# This is the code that searches the document and writes the values in it
elif
obj.search()
#This is the function used to search the object’s class.

Ques:- What are your favorite and least favorite technology products, and why?
Right Answer:
Favorite technology product: Visual Studio - because it offers a powerful integrated development environment (IDE) with great debugging tools and support for multiple languages.

Least favorite technology product: Internet Explorer - due to its slower performance and lack of support for modern web standards compared to other browsers.
Ques:- What are spot instances?
Right Answer:

Spot instances are a type of Amazon EC2 instance that allows you to bid on unused computing capacity at potentially lower prices than on-demand instances. They can be interrupted by AWS with little notice if the capacity is needed for on-demand instances.

Ques:- What is Route 53?
Right Answer:

Amazon Route 53 is a scalable and highly available Domain Name System (DNS) web service that translates domain names into IP addresses, helping to route end users to Internet applications.

Ques:- What is AWS?
Right Answer:

AWS, or Amazon Web Services, is a comprehensive cloud computing platform provided by Amazon that offers a wide range of services, including computing power, storage, and databases, as well as machine learning, analytics, and networking, allowing businesses to scale and grow without the need for physical infrastructure.

Ques:- What are Availability Zones and Regions?
Right Answer:

Availability Zones are isolated locations within a Region that provide high availability and fault tolerance. A Region is a geographical area that contains multiple Availability Zones, allowing for resource distribution and redundancy across different physical locations.

TheMathCompany or MathCo® is a global Enterprise AI and Analytics company, trusted for data-driven decision-making by some of the largest organizations across industries. Founded in 2016, MathCo builds custom data products through its innovative hybrid model and transfers the ownership of intellectual properties to its clients. NucliOS, MathCo’s proprietary platform with pre-built workflows and reusable plug-and-play modules, enables the vision of connected intelligence at a lower TCO. MathCo’s full-stack team provides a holistic range of services spanning strategy, advanced analytics, data engineering and governance, MLOps, GenAI, data visualization, and adoption advisory services. MathCo’s numerous accolades include recognitions in Gartner’s Magic Quadrant for D&A Providers, Everest Group’s Peak Matrix Assessment, and being listed as a Great Place to Work.
AmbitionBox Logo

What makes Takluu valuable for interview preparation?

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