i
Tata Projects
Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards
Filter interviews by
Be the first one to contribute and help others!
posted on 24 Aug 2024
I applied via Referral and was interviewed in Jul 2024. There were 2 interview rounds.
Easy and simple basic maths is required
Palindrome and fibonacci sequences generation
I applied via Referral and was interviewed in Jan 2024. There was 1 interview round.
Easy-Moderate, Coding problem related to string
I applied via Company Website and was interviewed in Jan 2023. There were 2 interview rounds.
The basics of OOP (Object-Oriented Programming) pillars are encapsulation, inheritance, and polymorphism.
Encapsulation: Bundling data and methods together in a class to hide implementation details.
Inheritance: Creating new classes from existing ones, inheriting their properties and behaviors.
Polymorphism: Objects of different classes can be treated as objects of a common superclass, allowing flexibility and extensibili
A copy constructor is a special constructor that creates a new object by copying the values of another object.
Copy constructor is used to create a new object with the same values as an existing object.
It is passed by reference to avoid unnecessary object copying, which can be expensive.
Copy constructor cannot be void because it needs to return the newly created object.
Array is a contiguous block of memory, while linked list is a collection of nodes connected by pointers.
Array has constant time access to elements, while linked list requires traversing the list.
Array has fixed size, while linked list can dynamically grow or shrink.
Insertion and deletion in array is expensive, while linked list can easily insert or delete nodes.
Array is suitable for random access, while linked list is
To check if three points are colinear, calculate the slope between each pair of points and compare them.
Calculate the slope between the first two points using the formula: slope = (y2 - y1) / (x2 - x1)
Calculate the slope between the second and third points using the same formula
If the slopes between all pairs of points are equal, then the points are colinear
To determine if a point is inside or outside a circle, calculate the distance between the point and the center of the circle.
Calculate the distance between the point and the center of the circle using the distance formula: sqrt((x2 - x1)^2 + (y2 - y1)^2)
If the distance is less than the radius of the circle, the point is inside the circle. If it is equal to the radius, the point is on the circle. Otherwise, it is outsid
The resultant of two vectors can be found by adding the magnitudes and finding the direction using trigonometry.
To find the magnitude of the resultant, use the Pythagorean theorem: magnitude = sqrt(a^2 + b^2)
To find the direction of the resultant, use trigonometry: direction = atan(b/a)
If the vectors are given in terms of their components, add the corresponding components to find the resultant
Yes, a child class can point to a base class.
In object-oriented programming, a child class can inherit from a base class and use its methods and properties.
A child class can also override the methods of the base class to provide its own implementation.
Polymorphism allows a child class object to be treated as a base class object, enabling it to point to the base class.
This is useful for code reusability and creating a h
posted on 5 Feb 2024
I applied via Naukri.com and was interviewed before Feb 2023. There were 2 interview rounds.
I applied via Naukri.com and was interviewed before Dec 2021. There were 3 interview rounds.
I applied via Naukri.com and was interviewed in Dec 2021. There was 1 interview round.
posted on 25 Aug 2023
I applied via Referral and was interviewed before Aug 2022. There were 2 interview rounds.
Deputy Manager
1.1k
salaries
| ₹5.7 L/yr - ₹17 L/yr |
Assistant Manager
708
salaries
| ₹5 L/yr - ₹14.8 L/yr |
Senior Engineer
392
salaries
| ₹4 L/yr - ₹13.5 L/yr |
Manager
388
salaries
| ₹8 L/yr - ₹24.1 L/yr |
Senior Manager
347
salaries
| ₹12 L/yr - ₹32.5 L/yr |
Larsen & Toubro Limited
Reliance Infrastructure
GMR Group
Hindustan Construction Company