Cartesian Consulting
Lucknow Hospital Interview Questions and Answers
Q1. Which model is using for classification?
We are using the Random Forest model for classification.
Random Forest model is an ensemble learning method that builds multiple decision trees and merges them together to get a more accurate and stable prediction.
It is widely used for classification tasks due to its ability to handle large datasets with high dimensionality.
Random Forest is a popular choice in machine learning for its robustness and ability to reduce overfitting.
Example: Random Forest is being used to classify...read more
Q2. When do you use vlookup in excel
VLOOKUP in Excel is used to search for a value in a table and return a corresponding value from another column.
Use vlookup to find specific data in a large dataset
Use vlookup to merge data from different tables
Use vlookup to create dynamic reports by pulling data from multiple sources
Example: =VLOOKUP(A2, Sheet2!A:B, 2, FALSE) - this formula searches for the value in cell A2 in the first column of Sheet2 and returns the corresponding value from the second column
Q3. Can you explain about joins in sql
Joins in SQL are used to combine rows from two or more tables based on a related column between them.
Joins are used to retrieve data from multiple tables based on a related column
Common types of joins include INNER JOIN, LEFT JOIN, RIGHT JOIN, and FULL JOIN
INNER JOIN returns rows when there is at least one match in both tables
LEFT JOIN returns all rows from the left table and the matched rows from the right table
RIGHT JOIN returns all rows from the right table and the matched...read more
Q4. Sql an stored procedure
SQL stored procedures are precompiled SQL statements that can be saved and reused in a database.
Stored procedures are used to encapsulate logic in the database for better performance and security.
They can accept input parameters and return output parameters.
Stored procedures can be called from application code to execute complex database operations.
Example: CREATE PROCEDURE GetEmployeeDetails AS SELECT * FROM Employees WHERE Department = 'IT';
Q5. ifference between truncate & delete
Truncate is a DDL command that removes all records from a table, while delete is a DML command that removes specific records.
Truncate is faster than delete as it does not log individual row deletions.
Truncate resets the identity seed of the table, while delete does not.
Truncate cannot be rolled back, while delete can be rolled back using a transaction.
Truncate does not fire triggers, while delete does.
Truncate is used to quickly remove all records from a table, while delete i...read more
Q6. KPIs which affect the brand
Key Performance Indicators (KPIs) that impact the brand include customer satisfaction, retention rate, and Net Promoter Score (NPS).
Customer satisfaction: Measure of how happy customers are with the product/service.
Retention rate: Percentage of customers who continue to use the product/service over time.
Net Promoter Score (NPS): Indicator of customer loyalty and likelihood to recommend the product/service to others.
Q7. How to use Rank function?
Rank function is used to assign a rank to each row within a partition of a result set.
Use the RANK() function in SQL to assign a unique rank to each row within a partition.
The rank is determined by the ORDER BY clause specified in the query.
If two rows have the same value, they will have the same rank, and the next row will have a rank that is incremented by the number of tied rows.
Interview Process at Lucknow Hospital
Top Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month