Siemens Healthineers
40+ VDart Interview Questions and Answers
Q1. Print sentence word in reverse order without using default function. eg: input:-> I live in New York. output:-> I evil ni weN kroY.
Reverse each word in a sentence without using default function.
Split the sentence into words
Iterate through each word and reverse it
Join the reversed words back into a sentence
Q2. Programming question: Find 1st 2nd and 3rd highest from array of integer.
Find 1st, 2nd, and 3rd highest integers from an array.
Sort the array in descending order.
Retrieve the first three elements from the sorted array.
Handle cases where array length is less than 3.
Q3. Data structure question find all leaf node from tree.
Use depth-first search to traverse the tree and identify leaf nodes.
Implement depth-first search algorithm to traverse the tree.
Identify nodes with no children as leaf nodes.
Store leaf nodes in an array for retrieval.
Q4. Programming question :Fibonacci series using recursion.
Fibonacci series using recursion is a classic programming problem where each number is the sum of the two preceding ones.
Define a recursive function that takes an integer n as input
Base case: if n is 0 or 1, return n
Recursive case: return the sum of the previous two Fibonacci numbers
Call the function recursively with n-1 and n-2 until base case is reached
Q5. Const pointer and pointer to const Join in Multithreading
Const pointer and pointer to const in multithreading
A const pointer cannot change the memory address it points to, but can change the value at that address
A pointer to const can change the memory address it points to, but cannot change the value at that address
In multithreading, const pointers can be used to ensure thread safety by preventing multiple threads from modifying the same memory location
Q6. How threads were handled?
Threads are handled by creating and managing lightweight processes within a program to improve performance and responsiveness.
Threads are managed by the operating system or a thread library.
Threads share the same memory space within a process.
Threads can communicate with each other through shared memory or message passing.
Thread synchronization is important to prevent race conditions and ensure data consistency.
Examples of thread handling in programming languages include Java...read more
Q7. Multithreading concepts in Java
Multithreading in Java allows multiple threads to execute concurrently within a single program.
Java provides built-in support for multithreading through the java.lang.Thread class.
Threads can be created by extending the Thread class or implementing the Runnable interface.
Synchronization is used to prevent race conditions and ensure thread safety.
Java also provides several classes and interfaces for managing thread execution, such as Executor, ExecutorService, and Future.
Examp...read more
Q8. Why we use join in Multithreading
Join is used to wait for a thread to finish execution before continuing with the main thread.
Join ensures that all the threads finish their execution before the main thread exits.
It is used to avoid race conditions and deadlocks.
Join can be used with detach to ensure that the thread is not left running in the background.
Example: Joining a thread that performs a time-consuming task before continuing with the main thread.
Example: Joining multiple threads to ensure that all the ...read more
Q9. Which stack used?
We primarily use the MERN stack for our web development projects.
MERN stack includes MongoDB, Express.js, React, and Node.js
MongoDB is used as the database to store data
Express.js is used as the backend framework for building APIs
React is used for building the user interface
Node.js is used as the server-side runtime environment
Q10. Object oriented programming in c++
Object-oriented programming in C++ is a programming paradigm that uses objects to represent real-world entities.
Encapsulation, inheritance, and polymorphism are the three main pillars of OOP in C++.
Classes and objects are the building blocks of OOP in C++.
OOP in C++ allows for code reusability, modularity, and easier maintenance.
Example: A car can be represented as an object in C++ with properties like make, model, and color, and methods like start and stop.
Example: Inheritan...read more
Q11. Coding a sorting algorithm
Sorting algorithm arranges elements in a specific order.
Choose an appropriate sorting algorithm based on the data size and type.
Common sorting algorithms include bubble sort, insertion sort, merge sort, quicksort, and selection sort.
Implement the chosen algorithm in the programming language of choice.
Test the algorithm with various input sizes and types to ensure correctness and efficiency.
Q12. 1. Design qestion. 2. Design pattern uses per use case.
Design patterns are used to solve common software design problems. Each use case requires a specific pattern.
Design patterns are reusable solutions to common software design problems.
Each use case requires a specific pattern to be used.
Examples of design patterns include Singleton, Factory, and Observer.
The choice of pattern depends on the problem being solved and the requirements of the system.
Q13. What is a delegate? Write a syntax
A delegate is a type that represents references to methods with a specific parameter list and return type.
Delegates are similar to function pointers in C++ or pointers to member functions in C++.
Delegates are used to pass methods as arguments to other methods.
Delegates can be used to define callback methods.
Syntax: delegate return_type delegate_name(parameter_list);
Q14. What is event ? Write a sample event
An event is an occurrence or happening that can be detected and responded to by software.
Events can be user actions (clicking a button, typing in a text box)
Events can be system-generated (timer expiration, network packet arrival)
Events are typically handled by event handlers or listeners in software development
Q15. Puzzle 4 tier and one spare tier
The puzzle involves stacking 4 tiers of different sizes with one spare tier. The task is to find the minimum number of moves to stack them all.
Start by placing the largest tier at the bottom and the smallest at the top.
Move the spare tier to the desired position to stack the next tier.
Repeat until all tiers are stacked.
The minimum number of moves required is 15.
Q16. How do you confirm the IT app is Zero Trust compliant?
Confirming Zero Trust compliance involves verifying network segmentation, least privilege access, continuous monitoring, and strict authentication protocols.
Verify network segmentation to ensure that resources are isolated and access is restricted based on policies
Implement least privilege access controls to limit user permissions to only what is necessary for their role
Utilize continuous monitoring tools to detect and respond to any suspicious activity in real-time
Enforce st...read more
Q17. Wpf C# concept and sone codes for binding
WPF C# is a framework for building desktop applications. Binding is a way to connect UI elements to data sources.
WPF stands for Windows Presentation Foundation
C# is the programming language used for WPF development
Binding allows for automatic updates of UI elements when data changes
Example code for binding:
DataContext is used to set the data source for binding
Q18. How to create a top down approach unity application based on SOLID principles
To create a top down Unity application based on SOLID principles, start by designing separate classes for each game element and ensuring single responsibility, open/closed, Liskov substitution, interface segregation, and dependency inversion principles are followed.
Design separate classes for player, enemies, obstacles, etc.
Ensure each class has a single responsibility.
Use interfaces to define common behaviors for different game elements.
Apply the open/closed principle by all...read more
Q19. Handle thread safety in singleton pattern
Use synchronized block or double-checked locking to ensure only one thread can access singleton instance at a time.
Use synchronized block to ensure thread safety in getInstance() method
Implement double-checked locking to minimize synchronization overhead
Consider using Enum singleton for thread safety without synchronization
Q20. What are types of Architecture for Virtualization ?
Types of virtualization architecture include full virtualization, para-virtualization, and hardware-assisted virtualization.
Full virtualization: Guest OS runs on virtual hardware without modification.
Para-virtualization: Guest OS is aware of the virtualization and makes API calls to the hypervisor.
Hardware-assisted virtualization: Uses special CPU features to improve performance.
Examples: VMware (full virtualization), Xen (para-virtualization), Intel VT-x (hardware-assisted v...read more
Q21. Check if a given binary tree is binary search tree or not
Check if a binary tree is a binary search tree
Traverse the tree and check if each node satisfies the BST property
For each node, check if its left child is less than the node and right child is greater than the node
Use recursion to check all nodes in the tree
Q22. Sorting algorithms and oops concept in details.
Sorting algorithms and OOPs concepts
Sorting algorithms are used to arrange data in a specific order.
OOPs concepts provide a way to structure and organize code using classes and objects.
Examples of sorting algorithms include bubble sort, insertion sort, and quicksort.
OOPs concepts include encapsulation, inheritance, and polymorphism.
Q23. oops and its implementation alongwith polymorphism code
Oops is a concept in object-oriented programming that allows for code reusability and flexibility. Polymorphism allows objects of different classes to be treated as objects of a common superclass.
Oops allows for encapsulation, inheritance, and polymorphism in programming.
Polymorphism allows for methods to be overridden in subclasses, providing flexibility in code.
Example: Oops can be implemented by creating classes for different objects with their own properties and methods. ...read more
Q24. What do you know about siemens healthineers?
Siemens Healthineers is a leading medical technology company that offers a wide range of healthcare solutions.
Siemens Healthineers provides products and services in medical imaging, laboratory diagnostics, and healthcare IT.
They focus on innovations in healthcare technology to improve patient care and outcomes.
The company offers solutions for hospitals, diagnostic labs, and healthcare providers worldwide.
Siemens Healthineers is known for its advanced imaging systems such as M...read more
Q25. how mentain the wharehouse all of the activity
Maintaining warehouse activity requires proper organization and management.
Implement a warehouse management system to track inventory and orders
Train staff on proper handling and storage of goods
Regularly inspect and maintain equipment and facilities
Establish safety protocols and enforce them consistently
Monitor and analyze warehouse performance to identify areas for improvement
Q26. write a code similar to hackerrank test
Code similar to HackerRank test
Create an array of strings for test cases
Write code to evaluate each test case
Compare output with expected output
Return results
Q27. Explain the design patterns and SOLID principles in software engineering
Design patterns are reusable solutions to common problems in software design, while SOLID principles are guidelines for writing maintainable and scalable code.
Design patterns help in organizing code, improving code reusability, and making code more maintainable.
Examples of design patterns include Singleton, Factory, Observer, and Strategy.
SOLID principles consist of Single Responsibility, Open/Closed, Liskov Substitution, Interface Segregation, and Dependency Inversion.
These ...read more
Q28. What do you understand by ITSM?
ITSM stands for Information Technology Service Management, which is a set of policies, processes, and procedures for managing IT services.
ITSM focuses on aligning IT services with the needs of the business
It involves implementing and managing IT services to meet agreed service levels
ITSM includes processes such as incident management, problem management, change management, and service level management
ITSM frameworks like ITIL (Information Technology Infrastructure Library) pr...read more
Q29. all possible combinations of a suite of cards printed out
Generate all possible combinations of a suite of cards
Create an array of all possible card values (e.g. '2', '3', '4', '5', '6', '7', '8', '9', '10', 'J', 'Q', 'K', 'A')
Create an array of all possible card suits (e.g. 'Hearts', 'Diamonds', 'Clubs', 'Spades')
Iterate through the card values and suits to generate all combinations (e.g. '2 of Hearts', '3 of Hearts', '4 of Hearts', ...)
Q30. write matrix multiplication using multithreading
Matrix multiplication using multithreading involves dividing the matrix into smaller parts and assigning each part to a separate thread for parallel computation.
Divide the matrices into smaller submatrices to be processed by different threads.
Assign each submatrix multiplication operation to a separate thread for parallel computation.
Combine the results from each thread to get the final result of the matrix multiplication.
Q31. What is C# use in legacy systems?
C# is used in legacy systems for maintaining and updating existing software applications.
C# can be used to extend the functionality of legacy systems by integrating new features and technologies.
It allows for easier maintenance and updates to existing codebase.
C# can also be used to modernize legacy systems by migrating them to newer platforms or frameworks.
Examples include updating a legacy desktop application to a web-based application using C#.
Q32. Write singleton pattern
Singleton pattern ensures a class has only one instance and provides a global point of access to it.
Create a private static instance variable of the class
Make the constructor private to prevent instantiation from outside the class
Provide a static method to access the instance, creating it if necessary
Q33. program to click on element using selenium
To click on an element using Selenium, locate the element and use the click() method.
Locate the element using findElement() method
Use the click() method to click on the element
Q34. Design pattern in C++.
Design patterns in C++ are reusable solutions to common problems in software design.
Design patterns help in creating flexible, maintainable, and scalable code.
Examples of design patterns in C++ include Singleton, Factory, Observer, and Strategy.
Each design pattern has a specific purpose and can be applied in different scenarios.
Q35. Explain end to end automation cycle
End to end automation cycle involves automating the entire software development process from planning to deployment.
The cycle starts with requirements gathering and planning
Next, the code is developed and tested using automation tools
Continuous integration and delivery are used to deploy the code to production
Monitoring and feedback are used to improve the process
Examples of automation tools include Jenkins, Selenium, and Ansible
Q36. Oops concepts and design principles
Oops concepts and design principles are fundamental concepts in software engineering.
Object-oriented programming principles include encapsulation, inheritance, and polymorphism.
Design principles like SOLID (Single Responsibility, Open/Closed, Liskov Substitution, Interface Segregation, Dependency Inversion) help in creating maintainable and scalable code.
Understanding these concepts helps in designing robust and efficient software systems.
Q37. Program to print 0 to left
Program to print 0 to left
Create a loop to iterate from 0 to the desired number
Use string manipulation to print the numbers with spaces to the left
Example: If the desired number is 5, print '0 1 2 3 4 5'
Q38. second largest in an array
Find the second largest string in an array of strings.
Iterate through the array and keep track of the largest and second largest strings.
Compare each string with the current largest and second largest strings.
Return the second largest string at the end.
Q39. Reverse an array
Reverse an array of strings
Create a new array and iterate through the original array in reverse order, adding each element to the new array
Use the built-in reverse() method of the array object
Swap the first and last elements, then the second and second-to-last elements, and so on until the middle of the array is reached
Q40. Classes of IP ?
Classes of IP refer to the range of IP addresses that are divided into different classes based on their leading bits.
There are five classes of IP addresses: A, B, C, D, and E.
Class A addresses start with 0, Class B with 10, Class C with 110, Class D with 1110, and Class E with 1111.
Each class has a different range of IP addresses and is used for different purposes.
For example, Class A addresses are used for large networks, while Class C addresses are used for smaller networks...read more
Q41. Polymorphism in cpp
Polymorphism in C++ allows objects of different classes to be treated as objects of a common superclass.
Polymorphism allows for functions to be called on objects of different classes through a common interface.
Examples include function overloading, virtual functions, and inheritance.
Dynamic polymorphism is achieved through virtual functions and inheritance.
Static polymorphism is achieved through function overloading and templates.
Top HR Questions asked in VDart
Interview Process at VDart
Top Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month