Add office photos
Engaged Employer

Resilience InfoTech

3.0
based on 26 Reviews
Filter interviews by

Star Hospitals Interview Questions and Answers

Updated 5 Feb 2024

Q1. What is the advantage of inner html on javascript

Ans.

Inner HTML allows dynamic manipulation of HTML content using JavaScript.

  • Inner HTML can be used to add, remove or modify HTML elements on a webpage.

  • It provides a simple and efficient way to update the content of a webpage without reloading the entire page.

  • Inner HTML can also be used to create dynamic user interfaces and interactive web applications.

  • However, it is important to sanitize user input to prevent security vulnerabilities such as cross-site scripting (XSS) attacks.

Add your answer

Q2. What are the datatypes in JavaScript

Ans.

JavaScript has 7 primitive datatypes and 1 complex datatype

  • Primitive datatypes: string, number, boolean, null, undefined, symbol, bigint

  • Complex datatype: object

  • Example: var name = 'John'; var age = 25; var isStudent = true; var person = {name: 'John', age: 25};

Add your answer

Q3. What is the use of object in JavaScript

Ans.

Objects in JavaScript are used to store and manipulate data as key-value pairs.

  • Objects can be created using object literals or the Object constructor.

  • Properties and methods can be added to objects using dot notation or bracket notation.

  • Objects can be used to represent real-world entities or abstract concepts.

  • Objects can be passed as arguments to functions or returned as values from functions.

Add your answer

Q4. Difference between asp and asp.net

Ans.

ASP is a scripting language while ASP.NET is a web application framework.

  • ASP is interpreted while ASP.NET is compiled

  • ASP uses VBScript or JScript while ASP.NET uses C# or VB.NET

  • ASP is outdated while ASP.NET is the current technology

  • ASP.NET has better performance and security features than ASP

Add your answer
Discover Star Hospitals interview dos and don'ts from real experiences

Q5. What is boxing and unboxing

Ans.

Boxing is the process of converting a value type to a reference type, while unboxing is the opposite.

  • Boxing is used to store value types in the heap memory

  • Unboxing is used to retrieve the value type from the heap memory

  • Boxing and unboxing can impact performance and should be used carefully

  • Example: int i = 10; object obj = i; //boxing, int j = (int)obj; //unboxing

Add your answer

Q6. Difference between delete and truncate

Ans.

Delete removes specific rows while truncate removes all rows from a table.

  • Delete is a DML command while truncate is a DDL command.

  • Delete is slower than truncate as it logs each row deletion while truncate only logs the deallocation of data pages.

  • Delete can be rolled back while truncate cannot be rolled back.

  • Delete can have a WHERE clause to specify which rows to delete while truncate removes all rows.

  • Delete does not reset the identity of the table while truncate resets the id...read more

Add your answer

Q7. What is cache

Ans.

Cache is a temporary storage area that stores frequently accessed data for quick access.

  • Cache is used to improve the performance of a system by reducing the time it takes to access data.

  • It can be implemented in hardware or software.

  • Examples of cache include browser cache, CPU cache, and disk cache.

  • Cache can be volatile or non-volatile, depending on whether the data is lost when the system is powered off.

  • Cache can also be divided into levels, with each level having a different...read more

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 Associate Software Engineer Interview Questions from Similar Companies

3.7
 • 62 Interview Questions
3.4
 • 47 Interview Questions
3.8
 • 31 Interview Questions
4.7
 • 15 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