Add office photos
Engaged Employer

Shiprocket Private Limited

3.6
based on 279 Reviews
Filter interviews by

10+ Biocon Limited Interview Questions and Answers

Updated 25 Nov 2024

Q1. Shortest path sum with negative integers allowed in matrix. Path starts from top left to bottom right.

Ans.

Use dynamic programming to find the shortest path sum with negative integers allowed in a matrix.

  • Implement dynamic programming to store the minimum sum at each cell

  • Consider negative integers when calculating the sum of the path

  • Start from the top left cell and iterate through the matrix to find the shortest path sum

View 1 answer

Q2. Change detection strategy in Angular

Ans.

Change detection strategy in Angular is a mechanism used to detect changes in the application state and update the view accordingly.

  • Angular uses Zone.js for change detection by default

  • Change detection can be triggered manually using ChangeDetectorRef

  • Optimizing change detection using OnPush strategy

Add your answer

Q3. what is Closure

Ans.

Closure is a function that captures the variables from its surrounding scope, even after the surrounding function has finished executing.

  • Closure allows a function to access and manipulate variables from its outer scope.

  • It maintains a reference to its outer scope, even after the outer function has returned.

  • Closure is commonly used in event handlers and callbacks.

Add your answer

Q4. Dif between var, let, const

Ans.

var is function scoped, let is block scoped, const is block scoped and cannot be reassigned.

  • var is function scoped, let is block scoped, const is block scoped and cannot be reassigned

  • var can be redeclared and updated, let can be updated but not redeclared, const cannot be redeclared or updated

  • Example: var x = 10; let y = 20; const z = 30;

Add your answer
Discover Biocon Limited interview dos and don'ts from real experiences

Q5. Rxjs operators used

Ans.

Rxjs operators are used for handling asynchronous operations in reactive programming.

  • Map operator: transforms the items emitted by an Observable

  • Filter operator: emits only those items from an Observable that pass a specified condition

  • Merge operator: combines multiple Observables into one by merging their emissions

  • SwitchMap operator: switches to a new Observable each time it is emitted

  • DebounceTime operator: emits a value from the source Observable only after a specified time h...read more

Add your answer

Q6. Design the generic tool or package using pyspark which allows to create connections to multiple databases like mysql, s3 or api. Fetch the result and do transformations like handling null values and then store ...

read more
Ans.

Design a generic tool in pyspark to connect to multiple databases, fetch results, handle null values, and store output in another database

  • Use pyspark to create a tool that can connect to databases like mysql, s3, or api

  • Implement functions to fetch data from the databases and perform transformations like handling null values

  • Utilize pyspark to store the transformed data in another database

  • Consider using pyspark SQL functions for data transformations

Add your answer
Are these interview questions helpful?

Q7. Next highest number

Ans.

To find the next highest number, sort the numbers in ascending order and find the number immediately greater than the given number.

  • Sort the numbers in ascending order

  • Find the number immediately greater than the given number

  • Return the next highest number

Add your answer

Q8. How to optimize build in Angular?

Ans.

Optimizing build in Angular involves reducing bundle size, enabling lazy loading, using AOT compilation, and leveraging tree shaking.

  • Reduce bundle size by removing unused code and optimizing imports

  • Enable lazy loading to load modules on demand instead of all at once

  • Use Ahead-of-Time (AOT) compilation to pre-compile templates and reduce runtime overhead

  • Leverage tree shaking to eliminate dead code and reduce bundle size

Add your answer
Share interview questions and help millions of jobseekers 🌟

Q9. Number of Island

Ans.

Count the number of islands in a given grid of '1's and '0's.

  • Iterate through the grid and for each '1' encountered, perform a depth-first search to mark all connected '1's as visited.

  • Increment the island count for each new island encountered.

  • Consider edge cases like grid boundaries and handling visited cells.

Add your answer

Q10. Testcases for lift atm

Ans.

Testcases for lift ATM

  • Test if the lift buttons are responsive

  • Test if the lift stops at the correct floor

  • Test if the lift door opens and closes properly

  • Test if the emergency button works

  • Test if the lift displays the correct floor number

Add your answer

Q11. How to detect and prevent Memory leak

Ans.

Memory leaks can be detected and prevented by monitoring memory usage, using memory profiling tools, avoiding circular references, and properly managing event listeners.

  • Monitor memory usage regularly to identify any abnormal increases.

  • Use memory profiling tools like Chrome DevTools or Valgrind to analyze memory usage.

  • Avoid creating circular references in your code, as they can prevent objects from being garbage collected.

  • Properly manage event listeners by removing them when t...read more

Add your answer

Q12. DSA question - Leetcode 3- Longest substring without repeating characters

Ans.

Find the length of the longest substring without repeating characters.

  • Use a sliding window approach to keep track of the longest substring without repeating characters.

  • Use a hashmap to store the index of each character as you iterate through the string.

  • Update the start index of the window when a repeating character is encountered.

Add your answer

Q13. Give the family bagrounf detail

Ans.

I come from a close-knit family with strong values and traditions.

  • My family consists of my parents, siblings, and extended relatives who all support and care for each other.

  • We have regular family gatherings and celebrations to strengthen our bond.

  • Our family values include honesty, respect, and hard work which have been instilled in me from a young age.

Add your answer

Q14. Write sql queries

Ans.

SQL queries for Quality Analyst position

  • Use SELECT statement to retrieve data from database

  • Use WHERE clause to filter data based on specific conditions

  • Use JOIN clause to combine data from multiple tables

  • Use GROUP BY clause to group data based on specific columns

  • Use ORDER BY clause to sort data in ascending or descending order

Add your answer

Q15. Write spring code

Ans.

Spring code is used for building Java applications with ease and efficiency.

  • Use @ComponentScan annotation to automatically detect and register Spring beans

  • Use @Autowired annotation for dependency injection

  • Use @RequestMapping annotation to map HTTP requests to specific handler methods

Add your answer

Q16. What is throttling in js ?

Ans.

Throttling in JavaScript is a technique used to control the rate at which a function is executed.

  • Throttling limits the number of times a function can be called over a specified period.

  • It is commonly used in scenarios like scroll events, resize events, and API requests to prevent performance issues.

  • Example: Debouncing a search input to limit the number of API calls made while typing.

Add your answer

Q17. minimum planes to cover earth

Ans.

The minimum number of planes needed to cover the earth is determined by the size of the planes and the coverage area.

  • The minimum number of planes needed to cover the earth depends on the size of the planes and the coverage area.

  • Factors such as speed, fuel capacity, and range of the planes also play a role in determining the minimum number needed.

  • For example, if each plane can cover 1000 square miles and the earth's total surface area is approximately 196.9 million square mile...read more

Add your answer

Q18. Find max sum of sub array

Ans.

Find the maximum sum of a subarray within an array of integers.

  • Iterate through the array and keep track of the current sum and maximum sum seen so far.

  • If the current sum becomes negative, reset it to 0 as it won't contribute to the maximum sum.

  • Return the maximum sum found after iterating through the entire array.

Add your answer

Q19. Improve the strategy

Ans.

To improve the strategy, we need to analyze the current process, identify weaknesses, and implement changes accordingly.

  • Conduct a SWOT analysis to identify strengths, weaknesses, opportunities, and threats

  • Gather feedback from stakeholders and customers to understand their needs and expectations

  • Implement process improvements such as automation, standardization, and training programs

  • Monitor and measure the effectiveness of the new strategy to ensure continuous improvement

Add your answer
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos

Interview Process at Biocon Limited

based on 32 interviews in the last 1 year
Interview experience
4.1
Good
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Interview Questions from Similar Companies

4.2
 • 641 Interview Questions
3.9
 • 253 Interview Questions
4.4
 • 218 Interview Questions
4.1
 • 154 Interview Questions
3.8
 • 144 Interview Questions
4.3
 • 133 Interview Questions
View all
Top Shiprocket Private Limited 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