Add office photos
Premium Employer

Siemens

4.1
based on 4.6k Reviews
Filter interviews by

BLK Super Speciality Hospital Interview Questions and Answers

Updated 5 Feb 2024
Popular Designations

Q1. Puzzle - A drawer contains 10 pairs each of red and blue socks. What is the minimum number of socks that should be picked to obtain at least 1 rightly colored pair?

Ans.

The minimum number of socks to be picked to obtain at least 1 rightly colored pair is 3.

  • Pick 2 socks of different colors first, then the next sock picked will definitely match one of the colors already picked.

  • In the worst case scenario, the first 2 socks picked will be of different colors.

  • Therefore, the minimum number of socks to be picked is 3.

View 1 answer

Q2. If you're given two CSV files, containing 2 columns each, how would you merge the two files using Python?

Ans.

To merge two CSV files with 2 columns each in Python, use the pandas library.

  • Import the pandas library

  • Read the two CSV files into pandas DataFrames

  • Merge the DataFrames using a common column as the key

  • Save the merged DataFrame to a new CSV file

Add your answer

Q3. Problem Solving - How would you reduce the vehicle congestion at a junction?

Ans.

To reduce vehicle congestion at a junction, implement traffic signal optimization, encourage public transportation, and create dedicated lanes for buses and bicycles.

  • Implement traffic signal optimization to improve traffic flow and reduce wait times.

  • Encourage the use of public transportation by providing incentives such as discounted fares or improved services.

  • Create dedicated lanes for buses and bicycles to reduce the number of vehicles on the road and promote alternative mo...read more

View 1 answer

Q4. What do you understand by the phrase 'pass-by-value'?

Ans.

Pass-by-value is a method of passing arguments to a function where the actual value of the argument is copied to a new variable.

  • In pass-by-value, a copy of the actual value of the argument is passed to the function.

  • Any changes made to the parameter inside the function do not affect the original value outside the function.

  • Primitive data types like integers, floats, and characters are typically passed by value.

  • Example: int x = 10; foo(x); // the value of x (10) is copied to a n...read more

View 1 answer
Discover BLK Super Speciality Hospital interview dos and don'ts from real experiences

Q5. How would you find the maximum and second-maximum numbers in an array? (Pseudo-code)

Ans.

Use a loop to iterate through the array and keep track of the maximum and second-maximum numbers.

  • Initialize two variables to store the maximum and second-maximum numbers.

  • Iterate through the array and update the variables accordingly.

  • Handle edge cases like when the array has less than two elements.

Add your answer

Q6. Explain the working of Insertion Sort.

Ans.

Insertion Sort is a simple sorting algorithm that builds the final sorted array one item at a time.

  • Start from the second element and compare it with the previous elements to find its correct position in the sorted array.

  • Repeat this process for all elements in the array.

  • Example: Given array of strings ['banana', 'apple', 'orange'], after insertion sort it becomes ['apple', 'banana', 'orange'].

Add your answer

Q7. Tell me about stand alone systems

Ans.

Stand alone systems are independent systems that operate without the need for external connections or dependencies.

  • Stand alone systems do not require internet connectivity to function

  • They are self-sufficient and can operate independently

  • Examples include standalone computers, calculators, and offline software applications

Add your answer
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Engineer Trainee Interview Questions from Similar Companies

3.7
 • 23 Interview Questions
3.9
 • 18 Interview Questions
3.6
 • 12 Interview Questions
3.8
 • 10 Interview Questions
3.6
 • 10 Interview Questions
View all
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