Premium Employer

Kyndryl

4.0
based on 2.5k Reviews
Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards
Filter interviews by

T & H SOFTWARE Interview Questions and Answers

Updated 17 May 2024
Popular Designations

Q1. what is abstraction and how can we achieve it?

Ans.

Abstraction is the concept of hiding complex implementation details and showing only the necessary features to the outside world.

  • Abstraction allows us to focus on what an object does rather than how it does it

  • Achieved through abstract classes and interfaces in object-oriented programming

  • Example: A car dashboard abstracts the internal workings of the car and provides only essential information to the driver

Add your answer

Q2. write a query to get 3rd highest salary from the employee table

Ans.

Query to retrieve the 3rd highest salary from the employee table

  • Use the ORDER BY clause to sort salaries in descending order

  • Use the LIMIT clause to retrieve the 3rd highest salary

Add your answer

Q3. write a code to get 2nd last node and its value from the singly linked list.

Ans.

Traverse the linked list to find the 2nd last node and return its value.

  • Traverse the linked list while keeping track of the current and previous nodes.

  • Once at the end of the list, return the value of the previous node.

Add your answer

Q4. you have an array of integer and retrieve the 2 smallest number from it without sorting the array.

Ans.

Use two variables to keep track of the smallest and second smallest numbers in the array.

  • Iterate through the array and update the variables accordingly.

  • Initialize the variables with the maximum possible integer value to start with.

  • Example: array = [5, 2, 8, 1, 3], smallest = 1, secondSmallest = 2.

Add your answer
Discover T & H SOFTWARE interview dos and don'ts from real experiences

Q5. how get() works insterally in hashmap

Ans.

The get() method in HashMap retrieves the value associated with a specified key.

  • get() method takes a key as input and returns the value associated with that key in the HashMap.

  • Internally, get() uses the hash code of the key to find the corresponding bucket in the HashMap.

  • If multiple keys have the same hash code, get() uses the equals() method to find the correct key-value pair.

Add your answer

Q6. what is normalization?

Ans.

Normalization is the process of organizing data in a database to reduce redundancy and improve data integrity.

  • Normalization helps in minimizing data redundancy by dividing the database into multiple tables and defining relationships between them.

  • It ensures data integrity by avoiding update anomalies and inconsistencies.

  • There are different normal forms such as 1NF, 2NF, 3NF, BCNF, and 4NF, each with specific rules to follow.

  • For example, in 1NF, each column should contain atomi...read more

Add your answer

Q7. what are constraints?

Ans.

Constraints are limitations or restrictions placed on a system or process.

  • Constraints define the boundaries within which a system must operate.

  • They can include limitations on resources, time, or functionality.

  • Examples of constraints in software engineering include memory limitations, processing speed, and input/output requirements.

Add your answer

Q8. difference between hashtable and hashmap

Ans.

Hashtable is synchronized, while hashmap is not. Hashtable does not allow null keys or values, while hashmap does.

  • Hashtable is synchronized, while hashmap is not

  • Hashtable does not allow null keys or values, while hashmap does

  • Hashtable is a legacy class, while hashmap is a newer class

Add your answer

More about working at Kyndryl

Top Rated IT/ITES Company - 2024
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Software Engineer Interview Questions from Similar Companies

3.9
 • 58 Interview Questions
3.8
 • 36 Interview Questions
3.4
 • 17 Interview Questions
3.8
 • 14 Interview Questions
4.3
 • 10 Interview Questions
2.0
 • 10 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