Infosys
10+ IPL Biologicals Interview Questions and Answers
Q1. What is Angular ? Write a small piece of code in Angular .
Angular is a JavaScript framework for building web applications.
Developed and maintained by Google
Uses TypeScript for building applications
Provides a modular approach to building applications
Uses directives, components, and services for building UI
Example code:
Q2. given an array where all the elements appears twice except one. Write a code to find that one element
Find the element that appears only once in an array of strings
Use XOR operation to find the element that appears only once
Iterate through the array and XOR each element to find the unique element
Example: ['apple', 'banana', 'apple', 'orange', 'banana'] should return 'orange'
Q3. Exception handling? How you are handling in your project?
Exception handling is an important aspect of any project to ensure smooth functioning.
We use try-catch blocks to handle exceptions.
We log the exceptions to track and fix them.
We also use custom exceptions to handle specific errors.
We prioritize handling critical exceptions first.
We regularly review and update our exception handling approach.
Q4. What is abstraction and encapsulation ?
Abstraction is hiding unnecessary details while encapsulation is hiding implementation details.
Abstraction focuses on what an object does rather than how it does it.
Encapsulation is the practice of keeping implementation details hidden from the user.
Abstraction and encapsulation work together to create more modular and maintainable code.
Example of abstraction: A car's dashboard shows only necessary information like speed, fuel level, etc.
Example of encapsulation: A class in p...read more
Q5. Compare strings,Hash map, count duplicate characters , find third highest sal from emp table in sql
Comparing strings, counting duplicate characters using hash map, and finding the third highest salary from emp table in SQL.
Use a hash map to count duplicate characters in a string.
Compare strings by using built-in string comparison functions or algorithms.
To find the third highest salary in SQL, you can use a subquery or window function like ROW_NUMBER().
Q6. What is closure currying hof promises Redux
Closure, currying, higher-order functions, promises, and Redux are all concepts in JavaScript programming.
Closure refers to the ability of a function to access variables from its outer scope even after the outer function has finished executing.
Currying is the process of converting a function that takes multiple arguments into a sequence of functions that each take a single argument.
Higher-order functions are functions that can take other functions as arguments or return funct...read more
Q7. Real time Oops concepts implementation in your project
In my project, I implemented real-time Oops concepts by using inheritance, encapsulation, and polymorphism to create modular and reusable code.
Used inheritance to create a base class with common properties and methods, then derived classes with specific functionalities.
Implemented encapsulation by restricting access to certain data and methods within classes, ensuring data integrity and security.
Leveraged polymorphism to allow objects of different classes to be treated as obj...read more
Q8. explain to me the flow of the Springboot Application.
The flow of a Springboot Application involves the initialization of the application context, handling HTTP requests, processing business logic, and returning responses.
Initialization of the application context using annotations like @SpringBootApplication
Handling HTTP requests through controllers annotated with @RestController
Processing business logic in service classes annotated with @Service
Interacting with databases using repositories annotated with @Repository
Returning re...read more
Q9. Why string is immutable?
String is immutable because it cannot be modified once created.
Immutable objects are safer to use in multi-threaded environments.
String pool in Java is possible because of immutability.
StringBuffer and StringBuilder classes are used for mutable strings.
Example: String s = "hello"; s.concat(" world"); // returns a new string, s remains unchanged.
Q10. What are OOPS Concepts ?
OOPS Concepts are the fundamental principles of Object-Oriented Programming.
Encapsulation - bundling of data and methods that operate on that data
Inheritance - ability of a class to inherit properties and methods from a parent class
Polymorphism - ability of objects to take on many forms
Abstraction - hiding of complex implementation details from the user
Example: A car object can have properties like color, model, and methods like start, stop, accelerate
Example: A child class c...read more
Q11. what is abc?
ABC is a term that can have different meanings depending on the context.
ABC can refer to the alphabet's first three letters.
In business, ABC can stand for Activity-Based Costing.
In medicine, ABC can be an acronym for Airway, Breathing, and Circulation.
ABC can also be a popular children's song and TV show.
Q12. what is default keyword
The default keyword is used in programming languages to specify a default value or behavior.
In switch statements, default is used as a catch-all case when no other case matches
In function parameters, default values can be specified using the default keyword
In object destructuring, default values can be assigned using the default keyword
Q13. Write Bubble sort in Java.
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.
Compare adjacent elements and swap them if they are in the wrong order
Repeat this process until the list is sorted
Time complexity is O(n^2)
Example:
int[] arr = {5, 2, 8, 12, 1};
for (int i = 0; i < arr.length - 1; i++) {
for (int j = 0; j < arr.length - i - 1; j++) {
if (arr[j] > arr[j + 1]) {
int temp = arr[j];
arr[j] = arr...read more
Q14. What is string pool?
String pool is a mechanism in programming languages where strings are stored in a shared memory area to save memory and improve performance.
String pool helps in reducing memory usage by storing only one copy of each unique string.
Strings in the pool can be easily shared among different parts of the program.
In Java, string literals are automatically stored in the string pool.
Example: String str1 = "Hello"; String str2 = "Hello"; // Both str1 and str2 point to the same string i...read more
Q15. Azure role in SharePoint
Azure provides infrastructure and services for hosting SharePoint in the cloud.
Azure provides virtual machines for hosting SharePoint servers
Azure also offers services like Azure SQL Database and Azure Active Directory for SharePoint
SharePoint can be integrated with other Azure services like Azure Search and Azure Functions
Azure provides scalability and flexibility for SharePoint deployments
Q16. Hive vs external table?
Hive tables store data in HDFS while external tables reference data stored outside HDFS.
Hive tables store data in HDFS, while external tables reference data stored outside HDFS.
External tables are useful when data needs to be shared across different Hive instances or when data is already stored in a different location.
Hive tables are managed by Hive and are deleted when the table is dropped, while external tables are not deleted when the table is dropped.
Example: Creating a H...read more
Q17. Architecture of SharePoint
SharePoint is a web-based collaboration and document management platform by Microsoft.
SharePoint is built on top of ASP.NET and IIS.
It uses a three-tier architecture consisting of web, application, and database servers.
SharePoint supports various deployment models such as on-premises, cloud, and hybrid.
It provides features such as document libraries, lists, workflows, and search capabilities.
SharePoint can be customized using SharePoint Designer, Visual Studio, and third-part...read more
Q18. Dwh vs datalake?
Data warehouse (DWH) is structured and optimized for querying and analysis, while data lake is a vast repository for storing raw data in its native format.
DWH is used for structured data and is optimized for querying and analysis.
Data lake stores raw data in its native format, allowing for more flexibility and scalability.
DWH is typically used for business intelligence and reporting purposes.
Data lake is suitable for storing large volumes of unstructured data like logs, image...read more
Q19. Types of subfiles.
Types of subfiles in technical analysis
Single-page subfiles: display a single page of data at a time
Multiple-page subfiles: display multiple pages of data at a time
Controlled subfiles: allow for user interaction and data manipulation
Window subfiles: display data in a separate window
Embedded subfiles: display data within a parent file or screen
Top HR Questions asked in IPL Biologicals
Interview Process at IPL Biologicals
Top Technical Analyst Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month