Add office photos
Engaged Employer

KPIT Technologies

3.5
based on 2.6k Reviews
Filter interviews by

Interview Questions and Answers

Updated 2 Sep 2024
Popular Designations

Q1. What is join and types of join?

Ans.

Join is used to combine rows from two or more tables based on a related column between them.

  • Types of joins include inner join, outer join (left, right, full), cross join, self join.

  • Inner join returns rows when there is at least one match in both tables.

  • Outer join returns all rows from one table and matching rows from the other table.

  • Cross join returns the Cartesian product of the two tables.

  • Self join is used to join a table to itself.

Add your answer

Q2. Write a program to reverse the array in C

Ans.

Program to reverse an array of strings in C

  • Declare an array of strings

  • Use a loop to swap elements from start to end

  • Print the reversed array

Add your answer

Q3. Write a program to reverse the string in C

Ans.

Program to reverse a string in C

  • Use a loop to iterate through the characters of the string

  • Swap the characters from start to end of the string

  • Continue swapping until reaching the middle of the string

Add your answer

Q4. Tell me about friendly function?

Ans.

A friendly function is a function that is not a member of a class but has access to the private and protected members of the class.

  • A friendly function is declared with the keyword 'friend' in the class that it is granting access to.

  • It can access private and protected members of the class it is declared as a friend of.

  • It is not a member of the class itself, but can be defined outside of the class.

  • Example: class A { private: int x; friend void display(A obj) { cout << obj.x; } ...read more

Add your answer
Discover null interview dos and don'ts from real experiences

Q5. Tell me about 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

  • Supports the concept of parent and child classes

  • Derived class can override methods from the base class

  • Example: Class 'Car' can inherit from class 'Vehicle'

Add your answer

Q6. What are Oops concepts ?

Ans.

Oops concepts are the principles of Object Oriented Programming, including Inheritance, Encapsulation, Polymorphism, and Abstraction.

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

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

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

  • Abstraction: Hiding the complex implementation details and showing only the necessary features.

Add your answer

Q7. 4 pillar of oop

Ans.

Encapsulation, Inheritance, Polymorphism, Abstraction are the 4 pillars of OOP.

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

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

  • Polymorphism: Ability for objects to be treated as instances of their parent class.

  • Abstraction: Hides the complex implementation details and only shows the necessary features.

Add your answer

Q8. print 1st 10 prime number

Ans.

Print the first 10 prime numbers

  • Start with 2 as the first prime number

  • Use a loop to check for prime numbers

  • Keep track of the count of prime numbers found

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

Interview Process at null

based on 9 interviews in the last 1 year
3 Interview rounds
Aptitude Test Round
Technical Round
HR Round
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Associate Software Engineer Interview Questions from Similar Companies

3.7
 • 62 Interview Questions
3.7
 • 26 Interview Questions
3.7
 • 14 Interview Questions
3.7
 • 11 Interview Questions
3.7
 • 11 Interview Questions
View all
Share an Interview
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
70 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions
Get AmbitionBox app

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