.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Interview Question >> .NET Framework >> Post New Question Subscribe to Interview Questions

Different levels of Priority provided by .NET.

Posted By :Ghanashyam Nayak     Posted Date :January 03, 2011    Points :15   Category :.NET Framework 
i) ThreadPriority.Highest
ii) ThreadPriority.AboveNormal
iii) ThreadPriority.Normal
iv) ThreadPriority.BelowNormal
v) ThreadPriority.Lowest

You can also find related Interview Question to Different levels of Priority provided by .NET.  below: 

How can we change priority and what the levels of priority are provided by .NET ?

  
Thread Priority can be changed by using Threadname.Priority = ThreadPriority.Highest. In the sample provided look out for code where the second thread is ran with a high priority.
Following are different levels of Priority provided by .NET :-
. ThreadPriority.Highest
. ThreadPriority.AboveNormal
. ThreadPriority.Normal
. ThreadPriority.BelowNormal
. ThreadPriority.Lowest (More...)

How can we change priority and what the levels of priority are
provided by .NET ?

  
Thread Priority can be changed by using Threadname.Priority = <>
In the sample provided look out for code where the second thread is ran with a high
priority. (More...)

Minimum number of queues needed to implement the priority queue?

  
Two. One queue is used for actual storing of data and another for storing priorities. (More...)

Describe the three levels of data abstraction?

  
The are three levels of abstraction:
1.Physical level: The lowest level of abstraction describes how data are stored.

2.Logical level: The next higher level of abstraction, describes what data are stored in database and what relationship among those data.

3.View level: The highest level of abstraction describes only part of entire database. (More...)

How many types of validation controls are provided by ASP.NET ?

  
There are six main types of validation controls:-

RequiredFieldValidator: It checks whether the control have any value. It's used when you want the control should not be empty.

RangeValidator: It checks if the value in validated control is in that specific range.

CompareValidator: It checks that the value in controls should match the value in other control.

RegularExpressionValidator: When we want the control value should match with a specific regular expression.

CustomValidator: It is used to define UserDefined validation.

ValidationSummary: It displays summary of all current validation errors. (More...)

What security levels are assigned to users for a SharePoint Website?

  
Security levels are assigned by the administrator who is adding the user. There are four levels by default and additional levels can be composed as necessary.
* Reader - Has read-only access to the Web site.
* Contributor - Can add content to existing document libraries and lists.
* Web Designer - Can create lists and document libraries and customize pages in the Web site.
* Administrator - Has full control of the Web site. (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...)

What are the three levels of data abstraction?

  
The are three levels of abstraction are as follows:

Physical level: The lowest level of abstraction describes how data are stored.

Logical level: The next higher level of abstraction, describes what data are stored in database and what relationship among those data.

View level: The highest level of abstraction describes only part of entire database. (More...)

How many levels of data abstraction? What are they?

  
There are 3 levels of data abstraction available.

They are
Physical level: The lowest level of abstraction describes how data are stored.
Logical level: The next higher level of abstraction, describes what data are stored in database and what relationship among those data.
View level: The highest level of abstraction describes only part of entire database. (More...)

Why are there five tracing levels in System.Diagnostics.TraceSwitcher?

  
tracing dumps can be quite verbose and for some applications that are constantly running you run the risk of overloading the machine and the hard drive there. Five levels range from None to Verbose, allowing to fine-tune the tracing activities. (More...)

IIS ISOLATION LEVELS

  
IIS has three level of isolation:-

1.LOW (IIS process):- In this main IIS process and ASP.NET application run in same process.
So if any one crashes the other is also affected.
Example:
I have hosted yahoo , hotmail .amazon and google on a single PC. So all application and the IIS process runs on the same process.In case any website crashes it affects every one.

2.Medium (Pooled):- In Medium pooled scenario the IIS and web application run in different process. So in this case there are two processes process1 and process2.In process1 the IIS
process is running and in process2 we have all Web application running.

3.High (Isolated):-In high isolated scenario every process is running is there own process.but consumes heavy memory but has highest reliability. (More...)

Select the correct statement that sets the priority of a thread among a group of threads to maximum.

  
1, threadObj.getPriority(THREAD.MAX_PRIORITY);
2, threadObj.setPriority(MAX_PRIORITY);
3, threadObj.setPriority(THREAD.PRIORITY);
4, threadObj.setPriority(THREAD.MAX_PRIORITY);

Answer : 4 (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.


Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend