Add office photos
Premium Employer

NTT Data Information Processing Services

4.0
based on 6.5k Reviews
Filter interviews by

Interview Questions and Answers

Updated 5 Feb 2024
Popular Designations

Q1. Select columnname as 1 from employee table,Output if employee table contain 100 record?

Ans.

The question is asking to select a column named 'columnname' as '1' from the employee table and provide the output if the table contains 100 records.

  • The column 'columnname' does not exist in the employee table, so the query will result in an error.

  • The value '1' will be selected for each record in the employee table, resulting in 100 rows with the value '1'.

  • The output will be a single column with 100 rows, all containing the value '1'.

View 1 answer

Q2. Can we perform DML operation on UDF function?

Ans.

No, DML operations cannot be performed on UDF functions.

  • UDF functions are read-only and cannot modify the data in the database.

  • DML operations can only be performed on tables or views.

  • UDF functions can be used in SELECT statements to retrieve data.

  • Examples of UDF functions include string manipulation, date calculations, and mathematical operations.

Add your answer

Q3. Select a.*,b.* From employee a,Employee2 b? Output please...

Ans.

SQL query to select all columns from two tables.

  • Use SELECT statement to select columns from tables.

  • Use aliases to differentiate columns from different tables.

  • Separate table names with comma in FROM clause.

Add your answer

Q4. Return type of patial view and render partial view?

Ans.

Partial view returns HTML string while render partial view writes directly to response stream.

  • Partial view returns HTML string that can be used in the main view

  • Render partial view writes directly to response stream

  • Partial view can be used to render reusable components

  • Render partial view can be used to render a partial view without a layout

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

Q5. Diff b/w Virtual and new keyword?

Ans.

Virtual keyword is used for method overriding while new keyword is used for hiding base class member.

  • Virtual keyword is used to allow a derived class to override a method in the base class.

  • New keyword is used to hide a base class member in the derived class.

  • Virtual keyword is used with the base class method while new keyword is used with the derived class method.

  • Virtual keyword is used for runtime polymorphism while new keyword is used for compile-time polymorphism.

Add your answer

Q6. What is method hiding?

Ans.

Method hiding is a technique in object-oriented programming where a subclass provides a method with the same name as a method in its superclass.

  • Method hiding is also known as static polymorphism or compile-time polymorphism.

  • It allows a subclass to provide its own implementation of a method without affecting the superclass's implementation.

  • The method in the subclass must have the same name and signature as the method in the superclass.

  • Method hiding is achieved by using the 'ne...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 Lead Engineer Interview Questions from Similar Companies

3.6
 • 85 Interview Questions
3.5
 • 18 Interview Questions
3.9
 • 11 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