Add office photos
ClaySys logo
Engaged Employer

ClaySys

Verified
2.9
based on 122 Reviews
Filter interviews by
.NET Trainer
Fresher
Clear (1)

ClaySys .NET Trainer Interview Questions and Answers

Updated 14 Jun 2024

Q1. What is Structured Query Language ?

Ans.

Structured Query Language (SQL) is a standard language for managing and manipulating databases.

  • SQL is used to communicate with databases to perform tasks like querying data, updating records, and creating tables.

  • Common SQL commands include SELECT, INSERT, UPDATE, DELETE, and CREATE.

  • SQL is not case-sensitive, but it is conventionally written in uppercase for keywords and lowercase for table and column names.

Add your answer
right arrow

Q2. Difference between primary and unique key

Ans.

Primary key uniquely identifies each record in a table, while unique key ensures each value in a column is unique.

  • Primary key does not allow NULL values, while unique key allows one NULL value.

  • A table can have only one primary key, but multiple unique keys.

  • Primary key is automatically indexed, while unique key may or may not be indexed.

  • Example: Primary key for a 'Students' table could be 'StudentID', while unique key could be 'Email'.

Add your answer
right arrow
ClaySys .NET Trainer Interview Questions and Answers for Freshers
illustration image

Q3. Explain different types of inheritance

Ans.

Types of inheritance in .NET include single, multiple, multilevel, hierarchical, and hybrid inheritance.

  • Single inheritance: A class can inherit from only one base class.

  • Multiple inheritance: A class can inherit from multiple base classes (not supported in C#).

  • Multilevel inheritance: A class can inherit from a derived class, creating a hierarchy of classes.

  • Hierarchical inheritance: Multiple classes can inherit from a single base class.

  • Hybrid inheritance: Combination of multipl...read more

Add your answer
right arrow

Q4. Explain what is oops

Ans.

OOPs stands for Object-Oriented Programming. It is a programming paradigm based on the concept of objects.

  • OOPs focuses on creating objects that contain data and methods to manipulate that data.

  • It involves concepts like inheritance, encapsulation, polymorphism, and abstraction.

  • Example: Inheritance allows a class to inherit properties and methods from another class, promoting code reusability.

Add your answer
right arrow
Discover ClaySys interview dos and don'ts from real experiences

Q5. What is inheritance

Ans.

Inheritance is a mechanism in object-oriented programming where a class inherits properties and behaviors from another class.

  • Allows a class to reuse code from another class

  • Promotes code reusability and reduces redundancy

  • Derived class inherits members from base class

  • Example: Class Car can inherit properties and methods from class Vehicle

Add your answer
right arrow

Q6. Printing odd numbers

Ans.

Printing odd numbers from a given list or range.

  • Iterate through the list or range of numbers

  • Check if each number is odd by using the modulo operator (%)

  • Print the odd numbers

Add your answer
right arrow
Contribute & help others!
Write a review
Write a review
Share interview
Share interview
Contribute salary
Contribute salary
Add office photos
Add office photos

Interview Process at ClaySys .NET Trainer

based on 1 interviews
Interview experience
3.0
Average
View more
interview tips and stories logo
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories
Recently Viewed
JOBS
Glorious Insight
No Jobs
INTERVIEWS
Cameron
No Interviews
INTERVIEWS
Snovasys
No Interviews
INTERVIEWS
Snovasys
No Interviews
CAMPUS PLACEMENT
Anna University
INTERVIEWS
ClaySys
No Interviews
INTERVIEWS
ClaySys
No Interviews
INTERVIEWS
Webdew
No Interviews
INTERVIEWS
Cameron
No Interviews
INTERVIEWS
Cameron
No Interviews
Share an Interview
Stay ahead in your career. Get AmbitionBox app
play-icon
play-icon
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
75 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions

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