i
Indus Valley Partners
Filter interviews by
Clear (1)
SQL, English
A program to check if a number is a palindrome or not.
Convert the number to a string
Reverse the string
Compare the original string with the reversed string
If they are equal, the number is a palindrome
Polymorphism is the ability of an object to take on many forms.
Polymorphism allows objects of different classes to be treated as if they are of the same class.
It can be achieved through method overloading or method overriding.
Example: A shape class can have multiple subclasses like circle, square, rectangle, etc. All these subclasses can have a method called area() which can be called on any object of the shape class.
P...
A program to check if a number is a prime factor or not.
Take input number from user
Loop through all numbers from 2 to n/2
If n is divisible by any number, it is not a prime factor
If n is not divisible by any number, it is a prime factor
Polymorphism is the ability of an object to take on many forms.
Polymorphism allows objects of different classes to be treated as if they were objects of the same class.
It can be achieved through method overloading and method overriding.
Example: A shape class can have different subclasses like circle, square, and triangle, each with their own implementation of the draw method.
Polymorphism makes code more flexible and re
A program to check if a number is a prime factor or not.
Take input number from user
Loop through all numbers from 2 to n/2
If n is divisible by any number, it is not a prime factor
If n is not divisible by any number, it is a prime factor
I applied via Campus Placement and was interviewed before Mar 2022. There were 2 interview rounds.
Indus Valley Partners interview questions for designations
Top trending discussions
I applied via Naukri.com and was interviewed in Aug 2020. There were 3 interview rounds.
I was interviewed in Oct 2020.
I applied via Company Website and was interviewed before Feb 2020. There was 1 interview round.
I applied via Campus Placement and was interviewed in Oct 2020. There were 4 interview rounds.
Bubble sort is a simple sorting algorithm that repeatedly steps through the list, compares adjacent elements and swaps them if they are in the wrong order.
Start from the first element and compare it with the next element
If the next element is smaller, swap them
Repeat this process for all elements in the array
Continue this process until no more swaps are needed
A program to print all prime numbers
Take input from user for range of numbers
Loop through the range and check if each number is prime
Print the prime numbers
Hashmap is a data structure that stores key-value pairs and allows constant time access to values based on their keys.
Hashmap uses a hash function to map keys to indices in an array.
Collisions can occur when multiple keys map to the same index, which can be resolved using techniques like chaining or open addressing.
Examples of hashmap implementations include Java's HashMap class and Python's dict type.
Inheritance is a mechanism in object-oriented programming where a new class is created by inheriting properties of an existing class.
Inheritance allows code reuse and promotes code organization.
The existing class is called the parent or superclass, and the new class is called the child or subclass.
The child class inherits all the properties and methods of the parent class and can also add new properties and methods.
For...
I applied via Walk-in and was interviewed in Mar 2021. There was 1 interview round.
based on 2 interviews
1 Interview rounds
based on 3 reviews
Rating in categories
Business Analyst
173
salaries
| ₹0 L/yr - ₹0 L/yr |
Software Engineer
166
salaries
| ₹0 L/yr - ₹0 L/yr |
Associate Software Engineer
161
salaries
| ₹0 L/yr - ₹0 L/yr |
Operations Associate
108
salaries
| ₹0 L/yr - ₹0 L/yr |
Senior Software Engineer
105
salaries
| ₹0 L/yr - ₹0 L/yr |
Advent Construction
Edelweiss
Evalueserve
Genpact