Coforge
10+ IQVIA Interview Questions and Answers
Q1. in a string there is alphabets as well as numbers, you have sum of those numbers which is in between of a string?
Sum of numbers in a string with alphabets.
Iterate through the string and check if each character is a number.
If it is a number, add it to a running total.
Return the total sum of all numbers in the string.
Q2. in a table there is 4-5 names, change the name of third person>>?
To change the name of the third person in a table with 4-5 names.
Access the table
Identify the third person's name
Replace the name with the new name
Q3. What is Arraylist ,linkedlist,map,hastable
Arraylist, linkedlist, map, and hashtable are data structures used in programming.
Arraylist is a resizable array that can store any type of data.
Linkedlist is a collection of nodes that contain data and a reference to the next node.
Map is a collection of key-value pairs where each key is unique.
Hashtable is similar to a map but is synchronized and does not allow null keys or values.
Q4. WAP of prime number?
A prime number is a number that is only divisible by 1 and itself.
Start by checking if the number is less than 2, as prime numbers start from 2.
Use a loop to check if the number is divisible by any number from 2 to the square root of the number.
If the number is divisible by any of these numbers, it is not prime.
If the number is not divisible by any of these numbers, it is prime.
Q5. 1. difference between abstract vs interface
Abstract classes are classes that cannot be instantiated and can have both abstract and non-abstract methods. Interfaces are contracts that define the methods that a class must implement.
Abstract classes can have constructors while interfaces cannot
A class can implement multiple interfaces but can only inherit from one abstract class
Abstract classes can have instance variables while interfaces cannot
Interfaces can have default methods while abstract classes cannot
Abstract cla...read more
Q6. Middleware and how can you declare it
Middleware is software that acts as a bridge between different applications or components.
Middleware helps in communication between different software components
It can be used to handle requests, responses, and data transformation
Middleware can be declared in the configuration files of the software
Q7. what is vcs? 2-OOPS 3-sql queries
VCS stands for Version Control System, a tool used to track changes in code and collaborate with other developers.
VCS helps developers track changes in code over time
It allows multiple developers to work on the same codebase without conflicts
Common VCS tools include Git, SVN, and Mercurial
Q8. Difference between asp.net mvc and .net core
ASP.NET MVC is a web application framework developed by Microsoft, while .NET Core is a cross-platform, open-source framework.
ASP.NET MVC is a framework for building web applications using the Model-View-Controller pattern, while .NET Core is a general-purpose framework for building various types of applications.
ASP.NET MVC is Windows-only, while .NET Core is cross-platform and can run on Windows, macOS, and Linux.
ASP.NET MVC relies on the full .NET Framework, while .NET Core...read more
Q9. Difference between wait and sleep
wait is used for synchronization between threads while sleep is used to pause the execution of a thread
wait is used to wait for a specific condition to occur while sleep is used to pause the execution for a specific amount of time
wait releases the lock on the object while sleep does not
wait is called on an object while sleep is called on a thread
wait can be interrupted by another thread while sleep cannot
Q10. Difference between runnable and start
start() method starts a new thread and calls the run() method, while run() method executes the code in the current thread.
start() method creates a new thread and executes the code in the run() method of that thread.
run() method executes the code in the current thread.
Calling run() method directly does not create a new thread.
start() method can be called only once, while run() method can be called multiple times.
Q11. What is the inheritance?
Inheritance is a concept in object-oriented programming where a class can inherit attributes and methods from another class.
Allows a class to inherit attributes and methods from another class
Promotes code reusability and helps in creating a hierarchy of classes
Derived class can access the properties and methods of the base class
Example: Class 'Car' can inherit from class 'Vehicle' to reuse common attributes like 'color' and 'speed'
Q12. What is collection frameworks
Collection frameworks in Java provide a set of classes and interfaces to store and manipulate groups of objects.
Collection frameworks provide reusable data structures like lists, sets, and maps.
They offer algorithms to manipulate and access the elements in these data structures.
Examples include ArrayList, HashSet, and HashMap in Java.
Q13. Linked list and its application
A linked list is a data structure where each element points to the next element, allowing for dynamic size and efficient insertion/deletion.
Linked list is made up of nodes, each containing data and a reference to the next node.
Insertion and deletion operations are efficient in linked lists compared to arrays.
Examples of linked list applications include implementing stacks, queues, and adjacency lists in graphs.
Q14. What is oops concept
Object-oriented programming paradigm focusing on objects and classes for code organization and reusability.
Encapsulation: Bundling data and methods that operate on the data into a single unit (object)
Inheritance: Ability for a class to inherit properties and behavior from another class
Polymorphism: Ability for objects of different classes to respond to the same method call in different ways
Top HR Questions asked in IQVIA
Interview Process at IQVIA
Top Software Developer Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month