Add office photos
Tech Mahindra logo
Engaged Employer

Tech Mahindra

Verified
3.5
based on 35.4k Reviews
Video summary
Filter interviews by
Associate Software Engineer
Fresher
Clear (2)

10+ Tech Mahindra Associate Software Engineer Interview Questions and Answers for Freshers

Updated 10 Nov 2024

Q1. 1) What is NullPointerExceprion and give me a example?

Ans.

NullPointerException is a runtime exception that occurs when a program tries to access or use an object reference that is null.

  • It is a common exception in Java programming.

  • It is thrown when a program attempts to use an object reference that has not been initialized.

  • It indicates that there is an attempt to access or invoke a method on an object that is null.

  • Example: String str = null; str.length();

View 2 more answers
right arrow

Q2. 2) Can you call the base class method without creating an instance?

Ans.

Yes, by using the super() method in the derived class.

  • super() method calls the base class method

  • Derived class must inherit from the base class

  • Example: class Derived(Base): def method(self): super().method()

View 2 more answers
right arrow

Q3. 5) What are access specifiers and what is their significance?

Ans.

Access specifiers define the level of access to class members. They ensure encapsulation and data hiding in object-oriented programming.

  • Access specifiers are keywords used in class definitions to specify the access level of class members.

  • There are three access specifiers in C++: public, private, and protected.

  • Public members can be accessed from anywhere in the program, while private members can only be accessed within the class.

  • Protected members can be accessed within the cla...read more

Add your answer
right arrow

Q4. 3) What is call by value and call hy refarance?

Ans.

Call by value and call by reference are two ways of passing arguments to a function.

  • Call by value passes a copy of the argument value to the function.

  • Call by reference passes a reference to the memory location of the argument.

  • Call by value is used for simple data types like int, float, etc.

  • Call by reference is used for complex data types like arrays, structures, etc.

Add your answer
right arrow
Discover Tech Mahindra interview dos and don'ts from real experiences

Q5. 4) How does C++ support Polymorphism?

Ans.

C++ supports polymorphism through virtual functions and inheritance.

  • Polymorphism allows objects of different classes to be treated as if they were of the same class.

  • Virtual functions are declared in the base class and overridden in the derived class.

  • Dynamic binding is used to determine which function to call at runtime.

  • Examples include function overriding, templates, and operator overloading.

Add your answer
right arrow

Q6. What is opps nd briefly about oops and variables

Ans.

OOPs stands for Object-Oriented Programming. It is a programming paradigm based on the concept of objects.

  • OOPs is a way of organizing and designing code around objects

  • Variables are used to store data within an object

  • In OOPs, variables are also known as properties or attributes

  • Variables can have different access modifiers like public, private, protected

  • Example: A car object can have properties like color, model, and speed

Add your answer
right arrow

Q7. What is IOT, angular js, give some live examples

Ans.

IOT is the interconnection of physical devices, while AngularJS is a JavaScript framework for web development.

  • IOT enables devices to communicate and exchange data, leading to automation and efficiency in various industries.

  • Examples of IOT include smart homes, wearable devices, and industrial automation.

  • AngularJS simplifies web development by providing a framework for building dynamic and responsive web applications.

  • Examples of AngularJS include Google Analytics, PayPal, and T...read more

Add your answer
right arrow

Q8. Uses of turbine and types of turbinew

Ans.

Turbines are used to convert kinetic energy into mechanical energy. There are various types of turbines such as steam, gas, and hydraulic.

  • Turbines are used in power generation, aviation, and marine propulsion.

  • Steam turbines are used in thermal power plants to generate electricity.

  • Gas turbines are used in aircraft engines and power plants.

  • Hydraulic turbines are used in hydroelectric power plants.

  • Wind turbines are used to generate electricity from wind energy.

  • Turbines can be cl...read more

Add your answer
right arrow

Q9. Tell me avkit yourslef

Ans.

I am a dedicated and passionate software engineer with experience in Java, Python, and web development.

  • Experienced in Java, Python, and web development technologies

  • Strong problem-solving skills

  • Excellent communication and teamwork abilities

Add your answer
right arrow

Q10. Terms and condition

Ans.

Terms and conditions are rules and guidelines that users must agree to follow in order to use a service or product.

  • Terms and conditions outline the rights and responsibilities of both the user and the company providing the service.

  • They often include information about privacy policies, payment terms, and usage restrictions.

  • Users are typically required to agree to the terms and conditions before using a service or product.

  • Examples of terms and conditions can be found on website...read more

Add your answer
right arrow
Contribute & help others!
Write a review
Write a review
Share interview
Share interview
Contribute salary
Contribute salary
Add office photos
Add office photos

Interview Process at Tech Mahindra Associate Software Engineer for Freshers

based on 12 interviews
4 Interview rounds
Aptitude Test Round
Coding Test Round
Technical Round
HR Round
View more
interview tips and stories logo
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Associate Software Engineer Interview Questions from Similar Companies

View all
Recently Viewed
INTERVIEWS
Tech Mahindra
Fresher
10 top interview questions
INTERVIEWS
Automobile Products Of India
10 top interview questions
INTERVIEWS
Cognizant
Fresher
5.6k top interview questions
INTERVIEWS
Concentrix Corporation
No Interviews
INTERVIEWS
Ixora Global Services
No Interviews
INTERVIEWS
LTIMindtree
10 top interview questions
INTERVIEWS
Accenture
20 top interview questions
INTERVIEWS
Sodexo
10 top interview questions
INTERVIEWS
TCS
10 top interview questions
INTERVIEWS
Salesforce
No Interviews
Share an Interview
Stay ahead in your career. Get AmbitionBox app
play-icon
play-icon
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
75 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter