Win Surprise Gifts!!!
Top 5 Contributors of the Month
Post New Question
Subscribe to Interview Questions
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
Posted By :
Posted Date :
January 31, 2010
Ans : b> 36 Degree
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
What is degree of a Relation?
It is the number of attribute of its relation schema.
What is degree of Relationship type?
It is the number of entity type participating.
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";
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);
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?
One day work = 1 / 20
One man's one day work = 1 / ( 20 * 75)
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
Find The Average percenatge of student:
Sid CourseId Marks
s001 C# 50
s001 sqlserver 40
s002 C# 50
s002 sqlserver 40
Course_Id Total_ Marks
Select sid,Sum(Marks)/count(*) as Percenatge from table1 GroupBy sid,CourseId
Quick Links For Interview Questions Categories:
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
section daily and improve your .NET Skills. You can also help others by posting Interview Questions and their Answers in this section.
Hall of Fame
Terms of Service
Tell A Friend