Apisero
30+ Sapthagiri Institute of Medical Sciences & Research Centre Interview Questions and Answers
Q1. What do you mean by Integration, middleware, EAI systems
Integration, middleware, and EAI systems are technologies that enable communication and data exchange between different software applications.
Integration involves connecting different software applications to enable data exchange and communication.
Middleware is software that sits between different applications and facilitates communication and data exchange.
EAI (Enterprise Application Integration) systems are a type of middleware that enable communication between different en...read more
Q2. What is Merge Sort and Quick sort? Which one is better? Can you code them?
Merge Sort and Quick Sort are sorting algorithms. Merge Sort is stable but slower. Quick Sort is faster but unstable.
Merge Sort divides the array into two halves, sorts them recursively, and then merges them.
Quick Sort selects a pivot element, partitions the array around the pivot, and then recursively sorts the subarrays.
Merge Sort has a time complexity of O(nlogn) and space complexity of O(n).
Quick Sort has a time complexity of O(nlogn) on average and O(n^2) in the worst ca...read more
Q3. What do you know about API(s), please differentiate between REST and SOAP API.
API stands for Application Programming Interface. REST and SOAP are two types of APIs.
REST is an architectural style that uses HTTP protocol for communication and supports multiple data formats like JSON, XML, etc.
SOAP is a protocol that uses XML for communication and supports only XML data format.
REST is lightweight and easy to use, while SOAP is more complex and requires more bandwidth.
REST is stateless, while SOAP maintains state information.
REST is widely used for web ser...read more
Q4. What is VPC in cloud? Can you explain the concept to Layman?
VPC stands for Virtual Private Cloud, which is a virtual network in the cloud.
VPC allows users to create their own isolated network within the cloud
It provides control over network topology, IP address range, and subnets
VPC can be used to securely connect resources in the cloud and on-premises
Examples of cloud providers that offer VPC are Amazon Web Services and Google Cloud Platform
Q5. What is the difference between drop, truncate and Delete command?
Drop command removes a table from the database, truncate command removes all rows from a table, and delete command removes specific rows from a table.
Drop command removes the table structure and all associated data
Truncate command removes all rows from a table but keeps the table structure
Delete command removes specific rows from a table based on a condition
Drop and truncate are faster than delete as they do not generate logs
Delete can be rolled back, while drop and truncate ...read more
Q6. What is the difference between Multithreading and Multiprocessing?
Multithreading is the execution of multiple threads of a single process, while multiprocessing is the execution of multiple processes.
Multithreading involves multiple threads within a single process, while multiprocessing involves multiple processes.
Multithreading shares the same memory space, while multiprocessing has separate memory spaces.
Multithreading is suitable for I/O-bound tasks, while multiprocessing is suitable for CPU-bound tasks.
Multithreading is more efficient i...read more
Q7. What is difference between list and tuple
List is mutable while tuple is immutable in Python.
List can be modified while tuple cannot be modified.
List uses square brackets [] while tuple uses parentheses ().
List is slower than tuple in terms of performance.
List is used for dynamic data while tuple is used for static data.
Q8. What are oAuth tokens? Can you explain there types ?
oAuth tokens are used for authentication and authorization purposes in web applications.
oAuth tokens are used to grant access to resources without sharing the user's credentials.
There are three types of oAuth tokens: access tokens, refresh tokens, and authorization codes.
Access tokens are short-lived tokens that are used to access protected resources.
Refresh tokens are long-lived tokens that are used to obtain new access tokens.
Authorization codes are used to obtain access to...read more
Q9. How to create repository in GIT using command prompt.
To create a repository in GIT using command prompt, use the 'git init' command.
Open the command prompt and navigate to the directory where you want to create the repository
Type 'git init' command to initialize the repository
Add files to the repository using 'git add' command
Commit the changes using 'git commit' command
Create a remote repository on GitHub or any other hosting service
Add the remote repository using 'git remote add' command
Push the changes to the remote reposito...read more
Q10. What are generators and decorators in Python?
Generators and decorators are two important features in Python that help in simplifying code and improving performance.
Generators are functions that can be paused and resumed, allowing for efficient memory usage and lazy evaluation.
Decorators are functions that modify the behavior of other functions, adding functionality without changing the original code.
Generators are created using the 'yield' keyword, while decorators use the '@' symbol.
Examples of decorators include '@sta...read more
Q11. How to connect on-premises servers to the Cloud?
On-premises servers can be connected to the Cloud using VPN or Direct Connect.
Use a VPN to establish a secure connection between on-premises servers and the Cloud.
Direct Connect can be used for a dedicated, private connection between on-premises servers and the Cloud.
Ensure proper network configuration and security measures are in place.
Examples of VPN solutions include OpenVPN, Cisco AnyConnect, and AWS VPN.
Examples of Direct Connect providers include AWS Direct Connect and ...read more
Q12. Hash set internal working, how do you fine second largest element in an array without sorting,
Finding second largest element in an array without sorting using hash set.
Create a hash set and iterate through the array, adding each element to the set.
Initialize two variables to keep track of the largest and second largest elements.
Iterate through the set and compare each element to the largest and second largest variables.
Return the second largest variable.
Q13. Wha are data frames What is assembly language What is dynamic programming
Data frames are a data structure used for storing and manipulating tabular data in R programming language. Assembly language is a low-level programming language that is used to write programs that can directly interact with the hardware of a computer. Dynamic programming is a technique used to solve complex problems by breaking them down into smaller subproblems and solving them recursively.
Data frames are commonly used in data analysis and statistics
Assembly language is spec...read more
Q14. What are Stored Procedures in PL/SQL?
Stored Procedures are pre-compiled SQL statements stored in the database and executed on demand.
Stored Procedures are used to improve performance by reducing network traffic and improving security.
They can be used to encapsulate business logic and provide a consistent interface to the database.
They can be called from other PL/SQL code or from external applications.
Examples include procedures for inserting, updating, and deleting data, as well as complex queries and calculatio...read more
Q15. Please explain concept of Object Oriented Programming.
Object Oriented Programming is a programming paradigm that focuses on objects and their interactions.
OOP is based on the concepts of encapsulation, inheritance, and polymorphism.
It allows for modular and reusable code.
Objects have attributes (data) and methods (functions) that operate on that data.
Examples of OOP languages include Java, Python, and C++.
Q16. Various annotation used in Spring Boot and their meanings?
Annotations in Spring Boot and their meanings
1. @SpringBootApplication - used to mark the main class of a Spring Boot application
2. @RestController - used to mark a class as a RESTful controller
3. @Autowired - used to inject dependencies into a class
4. @RequestMapping - used to map HTTP requests to methods in a controller
5. @PathVariable - used to extract values from the URI in a request mapping
6. @RequestBody - used to bind the request body to a method parameter
7. @ResponseS...read more
Q17. Please solve Armstrong number problem using double pointers.
Armstrong number problem solved using double pointers.
Use double pointers to access each digit of the number.
Calculate the sum of each digit raised to the power of the number of digits.
Compare the sum with the original number to check if it is an Armstrong number.
Q18. What is Primary key and foreign key
Primary key uniquely identifies a record in a table, while foreign key refers to a field in another table.
Primary key is a column or set of columns that uniquely identifies each row in a table
Foreign key is a column or set of columns in one table that refers to the primary key in another table
Primary key cannot have null values, while foreign key can have null values
Primary key can be used to create relationships between tables
Foreign key ensures referential integrity between...read more
Q19. What is the time complexity of swap array program?
The time complexity of swap array program is O(n).
The time complexity is determined by the number of elements in the array.
The program swaps the elements of the array one by one, so it takes linear time.
The Big O notation for the time complexity is O(n), where n is the number of elements in the array.
Examples: swapping two elements in an array takes constant time, but swapping all elements takes linear time.
Q20. What is scalability,cloud integration
Scalability refers to the ability of a system to handle increasing amounts of work. Cloud integration is the process of connecting cloud-based services with other systems or applications.
Scalability involves designing a system that can handle increased workload without sacrificing performance or reliability.
Cloud integration involves connecting cloud-based services with other systems or applications, often through APIs or other integration tools.
Scalability and cloud integrat...read more
Q21. Given string count the character in the string.
Count the characters in a given string.
Iterate through the string and count each character
Use a hash table to store the count of each character
Handle edge cases such as empty string or null input
Q22. How do you handle Exceptions?
I handle exceptions by catching them and handling them appropriately.
I use try-catch blocks to catch exceptions.
I log the exception details for debugging purposes.
I handle the exception based on the type and severity.
I throw custom exceptions when necessary.
I ensure that the application remains stable and doesn't crash due to exceptions.
Q23. What is AWS , explain about it
AWS is a cloud computing platform that provides a wide range of services for building and deploying applications.
AWS stands for Amazon Web Services
It offers services such as computing, storage, databases, and analytics
AWS provides a pay-as-you-go pricing model
It is used by businesses of all sizes, from startups to large enterprises
Examples of AWS services include EC2, S3, RDS, and Lambda
Q24. Write java code for getting odd number
Java code to get odd numbers
Use a loop to iterate through numbers
Check if the number is odd using modulus operator
Add the odd number to a list or print it
Q25. Rest API Webservices vs Soap Webservices
REST API is lightweight and flexible, while SOAP is more structured and secure.
REST uses HTTP protocol and supports multiple data formats like JSON, XML, etc.
SOAP uses XML protocol and supports only XML data format.
REST is faster and consumes less bandwidth than SOAP.
SOAP has built-in security features like WS-Security and WS-Trust.
REST is easier to implement and maintain than SOAP.
SOAP is better suited for enterprise-level applications with complex business logic.
Examples of...read more
Q26. What is Load balancing
Load balancing is the process of distributing network traffic across multiple servers to improve performance and availability.
Load balancing helps prevent server overload and downtime
It can be achieved through hardware or software solutions
Examples include round-robin, least connections, and IP hash algorithms
Q27. What is API ?
API stands for Application Programming Interface. It is a set of protocols, routines, and tools for building software applications.
API allows different software applications to communicate with each other
It defines how software components should interact
API provides a layer of abstraction between the application and the underlying system
Examples of APIs include Google Maps API, Twitter API, and Facebook API
Q28. Difference between list and Tupple?
List is mutable and ordered while Tuple is immutable and ordered.
List can be modified while Tuple cannot be modified.
List is represented by square brackets [] while Tuple is represented by parentheses ().
List is used for homogeneous data while Tuple is used for heterogeneous data.
Q29. Primary key vs foreign key
Primary key uniquely identifies a record in a table, while foreign key establishes a link between two tables.
Primary key is used to enforce data integrity and ensure uniqueness of records.
Foreign key is used to establish relationships between tables and enforce referential integrity.
A table can have only one primary key, while it can have multiple foreign keys.
Primary key can be used as a foreign key in another table.
Example: In a database of students and courses, the student...read more
Q30. Difference Rest and soap api
REST is an architectural style while SOAP is a protocol. REST is lightweight and uses HTTP while SOAP is XML-based and uses other protocols.
REST is stateless while SOAP maintains state
REST uses HTTP verbs (GET, POST, PUT, DELETE) while SOAP uses XML messaging
REST is faster and easier to use while SOAP is more secure and reliable
REST is used for web services while SOAP is used for enterprise-level web services
Examples of REST APIs include Twitter, Facebook, and Google Maps whi...read more
Q31. difference between soap and rest
SOAP is a protocol for exchanging structured information in web services, while REST is an architectural style for designing networked applications.
SOAP is a protocol, while REST is an architectural style
SOAP uses XML for message format, REST can use various formats like JSON, XML, etc.
SOAP has built-in error handling, REST relies on HTTP status codes
SOAP requires more bandwidth and resources, REST is lightweight and scalable
SOAP is more secure due to built-in standards, REST...read more
Q32. difference between delete an truncate
Delete removes rows one by one while truncate removes all rows at once.
Delete is a DML command while truncate is a DDL command.
Delete operation can be rolled back while truncate operation cannot be rolled back.
Delete operation fires triggers for each row deleted while truncate does not.
Delete operation is slower than truncate operation for large tables.
Example: DELETE FROM table_name WHERE condition; TRUNCATE TABLE table_name;
Q33. 2 max num in a array
Find the two maximum numbers in an array of strings.
Convert the array of strings to an array of integers.
Sort the array in descending order.
Return the first two elements of the sorted array.
Top HR Questions asked in Sapthagiri Institute of Medical Sciences & Research Centre
Interview Process at Sapthagiri Institute of Medical Sciences & Research Centre
Top Senior Software Engineer Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month