Add office photos
Mastek logo
Engaged Employer

Mastek

Verified
3.5
based on 797 Reviews
Video summary
Filter interviews by
Software Engineer
Clear (1)

Mastek Software Engineer Interview Questions and Answers

Updated 13 Dec 2024

Q1. What Stored procedure in sql , Database, query to find maxiumum salary

Ans.

Use a stored procedure in SQL to find the maximum salary in a database table.

  • Create a stored procedure that selects the maximum salary from the table.

  • Use the MAX() function in SQL to find the maximum salary value.

  • Execute the stored procedure to retrieve the maximum salary.

Add your answer
right arrow

Q2. what is Oops, Polymorphism

Ans.

Oops stands for Object-Oriented Programming. Polymorphism is the ability of a function to behave differently based on the object it is called with.

  • Oops is a programming paradigm that uses objects and classes to design applications.

  • Polymorphism allows a function to take different forms based on the object it is called with.

  • Example: Inheritance is a form of polymorphism where a subclass can override a method from its superclass.

Add your answer
right arrow

Q3. What's OOPs concept

Ans.

OOP is a programming paradigm based on the concept of objects, which can contain data in the form of fields and code in the form of procedures.

  • Encapsulation: Bundling data and methods that operate on the data into a single unit (object).

  • Inheritance: Ability of a class to inherit properties and behavior from another class.

  • Polymorphism: Ability to present the same interface for different data types.

  • Abstraction: Hiding the complex implementation details and showing only the nece...read more

Add your answer
right arrow

Q4. Revise oops concepts , sql.

Ans.

OOPs concepts include inheritance, polymorphism, encapsulation, and abstraction. SQL is a language used to manage databases.

  • Inheritance allows a class to inherit properties and methods from another class.

  • Polymorphism allows objects to take on multiple forms.

  • Encapsulation is the practice of hiding data and methods within a class.

  • Abstraction is the process of hiding complex implementation details and only showing the necessary information.

  • SQL is used to create, modify, and quer...read more

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

Q5. Reverse a array

Ans.

Reverse an array of strings

  • Create a new array and iterate through the original array in reverse order, adding each element to the new array

  • Use built-in array methods like reverse() or spread operator for a more concise solution

  • Alternatively, you can swap elements from start to end and end to start until you reach the middle of the array

Add your answer
right arrow

Q6. Sorting algorithm

Ans.

Sorting algorithm is a method to arrange elements in a specific order.

  • Sorting algorithms can be categorized as comparison-based or non-comparison-based.

  • Examples of sorting algorithms include Bubble Sort, Merge Sort, and Quick Sort.

  • Efficiency of sorting algorithms is measured in terms of time complexity and space complexity.

Add your answer
right arrow

Q7. Explain Inheritance

Ans.

Inheritance is a concept in object-oriented programming where a class inherits properties and behaviors from another class.

  • Allows a class to inherit attributes and methods from another class

  • Promotes code reusability and reduces redundancy

  • Creates a parent-child relationship between classes

  • Derived class can override or extend the functionality of the base class

  • Example: Class 'Car' can inherit from class 'Vehicle' and inherit properties like 'color' and methods like 'drive()'

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 Mastek Software Engineer

based on 9 interviews
3 Interview rounds
Aptitude Test Round
One-on-one Round
HR Round
View more
interview tips and stories logo
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Software Engineer Interview Questions from Similar Companies

Info Edge Logo
3.9
 • 50 Interview Questions
Visa Logo
3.5
 • 34 Interview Questions
Lowe's Logo
4.1
 • 17 Interview Questions
View all
Recently Viewed
COMPANY BENEFITS
Dilip Buildcon
304 benefits
COMPANY BENEFITS
Dilip Buildcon
304 benefits
COMPANY BENEFITS
IRB Infrastructure
60 benefits
COMPANY BENEFITS
KNR Constructions
20 benefits
JOBS
Browse jobs
Discover jobs you love
INTERVIEWS
Trane Technologies
No Interviews
INTERVIEWS
Mastek
No Interviews
INTERVIEWS
Trane Technologies
No Interviews
INTERVIEWS
Boston Scientific
No Interviews
INTERVIEWS
Trane Technologies
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