TransUnion
10+ FIS Interview Questions and Answers
Q1. How to implement string1 is equal to string2 without using inbuilt function. Create your own method/ function
Create a custom method to check if two strings are equal without using inbuilt functions.
Iterate through each character of both strings and compare them one by one.
If the lengths of the strings are different, they are not equal.
Return true only if all characters match, otherwise return false.
Q2. Time complexity of binary search and linear search. Which is better in which scenario
Binary search has O(log n) time complexity, better for sorted arrays. Linear search has O(n) time complexity, better for small unsorted arrays.
Binary search has a time complexity of O(log n) as it divides the array in half at each step. It is better for sorted arrays.
Linear search has a time complexity of O(n) as it checks each element one by one. It is better for small unsorted arrays.
For example, if you have a large sorted array, binary search would be more efficient. But f...read more
Q3. Two cats are rotating in circular motion. What is the probability that they won't collide
The probability that two cats rotating in circular motion won't collide depends on their speed, direction, and the size of the circle.
The probability of collision decreases as the size of the circle increases.
If the cats are rotating in opposite directions, the probability of collision decreases.
The probability of collision also depends on the speed of rotation of the cats.
Q4. Write a code to find if the string is present or not. Given character array of strings. {(ABC), (BCA), (DCA)} etc.
Code to find if a string is present in an array of strings.
Iterate through the array of strings and compare each string with the target string.
Return true if the target string is found, false otherwise.
Use a loop and conditional statement to implement the search algorithm.
Q5. COVID Impact on banking domain and how banks tackle it
Banks faced challenges due to COVID-19, but adapted quickly with digital solutions.
Banks had to quickly adapt to remote work and digital solutions to maintain operations.
Loan defaults increased, leading to stricter lending policies and increased focus on risk management.
Digital banking and contactless payments saw a surge in usage, leading to increased investment in these areas.
Banks also played a crucial role in distributing government relief funds to individuals and busines...read more
Q6. Difference between synchronous and asynchronous in multi threading.
Synchronous means tasks are executed one after the other, while asynchronous allows tasks to run independently.
Synchronous execution waits for each task to finish before moving on to the next one.
Asynchronous execution allows tasks to start and finish independently of each other.
Synchronous threading can lead to blocking if one task takes a long time to complete.
Asynchronous threading can improve performance by allowing multiple tasks to run concurrently.
Example: Synchronous ...read more
Q7. Mutex when do u use and example
Mutex is used to prevent multiple threads from accessing shared resources simultaneously.
Use mutex when multiple threads need to access shared resources to avoid data corruption
Example: Using mutex to protect a critical section of code where shared data is being modified
Mutex can be used in multithreading applications to ensure data integrity and prevent race conditions
Q8. Difference between binary and linear search
Binary search divides the array in half to find the target, while linear search checks each element one by one.
Binary search is more efficient for sorted arrays, while linear search works for unsorted arrays.
Binary search has a time complexity of O(log n), while linear search has a time complexity of O(n).
Example: Binary search - finding a word in a dictionary. Linear search - finding a name in a phone book.
Q9. What is memcpy.
memcpy is a function in C programming used to copy a block of memory from one location to another.
memcpy stands for memory copy.
It is used to copy a specified number of bytes from one memory location to another.
It is commonly used in C programming to copy arrays or structures.
Example: memcpy(destination, source, num_bytes);
Q10. Difference between C and C++
C is a procedural programming language while C++ is an object-oriented programming language.
C is a subset of C++
C does not support classes and objects, while C++ does
C++ supports function overloading and operator overloading, which C does not
C++ has a more complex syntax compared to C
Q11. OOPS concepts in C++
OOPS concepts in C++ include encapsulation, inheritance, polymorphism, and abstraction.
Encapsulation: Bundling data and methods that operate on the data into a single unit (class).
Inheritance: Creating new classes from existing ones, inheriting their attributes and methods.
Polymorphism: Ability to present the same interface for different data types.
Abstraction: Hiding the complex implementation details and showing only the necessary features.
More about working at TransUnion
Interview Process at FIS
Top Senior Analyst Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month