Add office photos
Premium Employer

KLA-Tencor

3.9
based on 41 Reviews
Filter interviews by

10+ Infosys BPM Interview Questions and Answers

Updated 5 Feb 2024

Q1. What is the angle between minute and hour hand for a particular time ?

Ans.

The angle between minute and hour hand for a particular time can be calculated using a formula.

  • The formula is: |(30*H) - (11/2)*M| degrees

  • Where H is the hour hand position and M is the minute hand position

  • If the result is greater than 180 degrees, subtract it from 360 degrees to get the acute angle

  • For example, at 3:15, H=3 and M=15, so the angle is |(30*3) - (11/2)*15| = 7.5 degrees

Add your answer

Q2. If new and malloc both allocated in heap then how to access them separately? How to count number of objects created by new and created by malloc.ques

Ans.

To access objects allocated by new and malloc separately, keep track of the number of objects created by each method using counters.

  • Use a separate counter variable for objects created by new and malloc.

  • Increment the respective counter variable each time an object is created using new or malloc.

  • To access objects allocated by new, use the new counter variable.

  • To access objects allocated by malloc, use the malloc counter variable.

Add your answer

Q3. How default ” = ” operator and copy constructor is used and why we need to use them explicitlyques

Ans.

The default = operator and copy constructor are used to assign values and create copies of objects.

  • The default = operator is used to assign the values of one object to another object of the same class.

  • The copy constructor is used to create a new object by copying the values of an existing object.

  • Explicitly defining these functions is necessary when the default behavior is not sufficient or when the class contains dynamically allocated memory.

  • For example, if a class has a poin...read more

Add your answer

Q4. How to compare two objects. Equal method belong to which class.quest

Ans.

The equal method is used to compare two objects for equality.

  • The equal method is typically implemented in the class of the objects being compared.

  • It returns a boolean value indicating whether the two objects are equal.

  • The implementation of the equal method can vary depending on the requirements of the class.

  • For example, in the String class, the equal method compares the contents of the strings.

  • In the Integer class, the equal method compares the values of the integers.

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

Q5. In which case garbage collector cannot work explicitly

Ans.

The garbage collector cannot work explicitly when objects have explicit references.

  • Garbage collector cannot collect objects that have explicit references.

  • Explicit references can be created using pointers or strong references.

  • If an object is explicitly referenced, it will not be considered garbage by the collector.

  • Examples of explicit references include global variables or objects referenced by other active objects.

Add your answer

Q6. How will you add/multiply very large number

Ans.

To add/multiply very large numbers, use a programming language that supports big integer arithmetic.

  • Use a programming language like Python or Java that provides built-in support for big integer arithmetic.

  • Declare variables of appropriate data types (e.g., BigInteger in Java) to store the large numbers.

  • Use the addition or multiplication operator to perform the desired operation on the large numbers.

  • Handle any potential overflow or precision issues that may arise when dealing w...read more

Add your answer
Are these interview questions helpful?

Q7. obj2 = obj1….will destructor work for obj2?

Ans.

Yes, the destructor will work for obj2.

  • The destructor is a special member function that is automatically called when an object is destroyed.

  • When obj2 is assigned the value of obj1, it will still have its own destructor that will be called when obj2 is destroyed.

  • The destructor is responsible for cleaning up any resources allocated by the object, regardless of how the object was assigned or copied.

Add your answer

Q8. What is Software testing?

Ans.

Software testing is the process of evaluating a software application or system to identify defects or errors.

  • Software testing is essential to ensure the quality and reliability of software.

  • It involves executing test cases and comparing the actual results with expected results.

  • Testing can be done manually or using automated tools.

  • Types of testing include functional, performance, security, and usability testing.

  • Examples of software testing tools include Selenium, JUnit, and Loa...read more

View 1 answer
Share interview questions and help millions of jobseekers 🌟

Q9. Clone linked list with random pointers.

Ans.

Clone a linked list with random pointers.

  • Create a new node for each node in the original list.

  • Store the mapping between the original and cloned nodes in a hash table.

  • Traverse the original list again and set the random pointers in the cloned list using the hash table.

  • Return the head of the cloned list.

Add your answer

Q10. why you need operator overloadingques

Ans.

Operator overloading allows the same operator to be used for different purposes based on the operands.

  • Operator overloading provides a way to make operators work with user-defined types.

  • It allows us to define the behavior of an operator when applied to objects of a class.

  • It can simplify code and make it more readable by allowing intuitive use of operators.

  • Examples include overloading the '+' operator to concatenate strings or add custom objects.

Add your answer

Q11. Explain ” +” operator overloading

Ans.

Operator overloading allows the '+' operator to be used with custom types.

  • Operator overloading is a feature in many programming languages that allows the same operator to have different behaviors depending on the types of the operands.

  • In the case of the '+' operator, it can be overloaded to perform addition between different types of objects.

  • For example, you can overload the '+' operator to concatenate strings, add numbers, or combine custom objects.

  • The behavior of the '+' op...read more

Add your answer

Q12. Design a software for car ECU

Ans.

Design a software for car ECU

  • Identify the requirements and functionalities of the ECU

  • Choose a programming language and development environment

  • Implement the software to control the engine, transmission, and other systems

  • Test the software for reliability and performance

  • Ensure the software is secure and can handle errors and exceptions

Add your answer
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos
Top KLA-Tencor Interview Questions And Answers
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