Welcome :Guest

Congratulations!!!

Top 5 Contributors of the Month
hdjk11
Shivakumaran
dfefde5
hoangnganvy1993

 Home >> Interview Question >> Aptitude >> Post New Question Subscribe to Interview Questions
You can also find related Interview Question to The average temperature of days from Monday to Wednesday is 37 degree Celsius and that of from Tuesday to Thursday is 34 degrees. The temperature of Thursday is 4/5th of Monday. Then the temperature of Thursday is a> 35 Degree b> 36Degree c> 40Degree d> 45Degree  below:

### What is degree of a Relation?

It is the number of attribute of its relation schema. (More...)

### What is degree of Relationship type?

It is the number of entity type participating. (More...)

### How you will validate that the selected date from date picker is Monday.

first save the date in string like below-

DateTime selecteddate = Convert.ToDateTime(Txtfromdate.SelectedDateValue.ToString());

and then check for monday

if (selecteddate.DayOfWeek != DayOfWeek.Monday)
{
lblmsg.Text = "Yo must select the monday date only";
return;
} (More...)

### How to Find Number of Days for provided date range?

Code extract :

TimeSpan DayDifference = Convert.ToDateTime("2009-1-7").Subtract(Convert.ToDateTime("2009-1-1"));

To find the difference of the days, here we have used Subtract method. The Subtract method does not take start date into consideration. Hence, to get the exact number of days for the date range we need to add one more day to the result.

Response.Write("Number of Days : " + DayDifference.Days+1); (More...)

### In a survey it was calculated that 75 men could complete a piece of work in 20 days. When work was scheduled to commence, it was found necessary to send 25 men to another project. How much longer will it take to complete the work?

30 days.

Explanation:

Before:
One day work = 1 / 20
One man's one day work = 1 / ( 20 * 75)

Now:
No. Of workers = 50
One day work = 50 * 1 / ( 20 * 75)
The total no. of days required to complete the work = (75 * 20) / 50 = 30 (More...)

### Find The Average percenatge of student:Table1:======== Sid CourseId Marks ------------------------------- s001 C# 50 s001 sqlserver 40 s002 C# 50 s002 sqlserver 40Table-2:============== Course_Id Total_ Marks --------------------------- c# 100 sql-server 100

Select sid,Sum(Marks)/count(*) as Percenatge from table1 GroupBy sid,CourseId (More...)

Quick Links For Interview Questions Categories:
 ASP.Net Windows Application .NET Framework C# VB.Net ADO.Net Sql Server SharePoint Silverlight OOPs JQuery JavaScript/VBScript Biztalk Patten/Practices .IIS WCF WPF WWF Networking Aptitude Others All

### Find questions, FAQ's and their answers related to .NET, C#, Vb.Net, Sql Server and many more.

Now you can find lots of .NET, C#, Vb.Net, SQL Server,Windows, ASP.Net related Questions and their Answers here at www.dotnetspark.com. Our aim is to help you pass your certification Exams (MCP, MCSD, MCAD etc.,) with flying scores and get good name in your company.

So, Start looking our Interview Question section daily and improve your .NET Skills. You can also help others by posting Interview Questions and their Answers in this section.