Featured Post

Top Questions People Ask About Pandas, NumPy, Matplotlib & Scikit-learn — Answered!

Image
 Whether you're a beginner or brushing up on your skills, these are the real-world questions Python learners ask most about key libraries in data science. Let’s dive in! 🐍 🐼 Pandas: Data Manipulation Made Easy 1. How do I handle missing data in a DataFrame? df.fillna( 0 ) # Replace NaNs with 0 df.dropna() # Remove rows with NaNs df.isna(). sum () # Count missing values per column 2. How can I merge or join two DataFrames? pd.merge(df1, df2, on= 'id' , how= 'inner' ) # inner, left, right, outer 3. What is the difference between loc[] and iloc[] ? loc[] uses labels (e.g., column names) iloc[] uses integer positions df.loc[ 0 , 'name' ] # label-based df.iloc[ 0 , 1 ] # index-based 4. How do I group data and perform aggregation? df.groupby( 'category' )[ 'sales' ]. sum () 5. How can I convert a column to datetime format? df[ 'date' ] = pd.to_datetime(df[ 'date' ]) ...

10 Tech Mahindra Fresher Interviews Questions

Here're the ten top interview questions asked during fresher interviews. These are general questions and applicable for all B. Tech branches.

10 Interview Questions

These are general interview questions who is looking for job either on/off campus drives.

1. What is Full-Service Web-hosting?

It is a service offered by website hosting companies. So that the site can be accessed via the world wide web.


2. What is meant by Port blocking within LAN?

It restricts the users to access services through various ports. The ports are USB, DVD port, Floppy, Removal device ports.

3. What is IDN?

It enables people to use Domain names in local languages.


4. Can we call one program (not include) from another program?

Yes, you can call. Here not include means external program.


5. How can you sort the elements of an array in descending order?

In C++, you can use Array.Reverse(arr);


10 Top Tech Mahindra Fresher Interviews Questions


6. How do I update my DNS records?

You can update DNS records in CNAME. Here're more options.


7. How do non-root -bridges decide, which port will affect the root port?

In each non-root bridge (CAT2, CAT3, CAT4), Root Port selection is based on the port having the lowest cost to the Root Bridge (CAT1).

8. Difference between response.write() and server.transfer()?

The response.write() - writes a string to the browser.

The server.transfer() - an ASP page transfers the current page request to another ASP page in the same server.


9. What are the top Organization structure attributes?

  • Simplicity
  • A clear line of authority
  • Lesser Managerial Levels
  • Unity of command and Direction
  • Here are more options

10. How does the browser knows to go to a certain IP address when you type google.com?

The router decides when it receives google.com. The router has configuration details such as routing IP address.

Comments

Popular posts from this blog

SQL Query: 3 Methods for Calculating Cumulative SUM

5 SQL Queries That Popularly Used in Data Analysis

Big Data: Top Cloud Computing Interview Questions (1 of 4)