.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 >> Forum >> ASP.Net >> Post New QuestionBookmark and Share Subscribe to Forum

asp .net queries to be confirmed

Posted By: surbhi     Posted Date: October 23, 2010    Points:2   Category :ASP.Net
Hello all,

I'm a bit weird because just 2 days ago I had an interview for a .NET developer post in metacube Systems. They promised to call me last day but they didn't so I just want to confirm few answers given by my side. Please review them and let me hear your answers. I hope for a +ve ones.


Q- In which file are Predefined client side validation scripts define?
A-webulvalidation.js
B-clientvalidation.js
C-aspnetvalidaion.js
D uservalidaion.js
My answer was B-clientvalidation.js


Q-Which of following is true about C# generics?
A-C# allows non type template parameters
B-c# supports explicit specialization
C-c# allows the Type parameter to be used as the base class for the generic type
D-c# enforces that all codes are valid for all types of parameters
My answer was C-c# allows the Type parameter to be used as the base class for the generic type



Q-Which of the following attributes of the process model element of the mac hine.config file ,is used to specify the level of authentication for dcom security?
A-com authenticationlevel
B -comlmpersonational level
C maxlo Threads
D-RequestQueuelimit
My answer was A-com authenticationlevel

Q- when using a Data reader to access the result of database operation ,which of the following is true?
A-the data reader provides random access capabilities on the result
B-the data reader provides a Cursor that can be used to move forward and backwards through the result
C-the data reader can provide the schema information to the result to tha application
My ans was (B)
Waiting for your reply ,please give me correct guidance

Q which of the following is false regarding system.threading.reader wrighterlocksim?
A-It is optimized for single processor/core operation
B-A thread which has a read lock on resource may not acquire a Wright lock on the same resource
C-by default ,a thread which has a read lock on a resource and attempts to get another read lock on the same resource will throw an exception
My ans was b
Q- using an automatic property, which of following statement is true?
A-the compiler generates a backing field that is complete inaccessible from the application code
B-the compiler generates a backing field that is accessible via reflection
C-the complier generate a code that will store the information separately from the instance to ensure its security
Q- what is proper declaration of method which will handle the following events?
Class myclass
{
Public event Event Handler<my Args>My event;
}
A-public void A_MyEvent(object sender,MyArgs e)
{
}
B - public void A_MyEvent(object sender,EventArgs e)
{
}
c- public void A_MyEvent(MyArgs e)
{
}
My answer was( A)
Q-the default number of threads per processor in the system.Threading.threadpool class under version 3.5 of the farnework is:
A -1
B-25
C-250
D-100
E-500
Q-which of the following statement are applicable to LINQ to SQL?
A-it is pure object relation (O/R) Model
B-it is a set of enhancement to the dataset and data table classes
C-it is requires the use of Sql Server as the database
D- because LINQ is based on queries ,it can be used to modify the data in database


Q-which of the following condition can triggers the automatic of asp.net application hosted in IIS?
A-A specific number of request to the application process
B-A percentage of physical memory utilized by the process
C-A specific time interval
D-all of the above

Q- which of the following statements do expression trees fit best?
A-expression trees are a data structure which can be initially composed using syntax
B- expression tress are a dynamically generated code which is executed to performs the desired function
C- expression trees can be modified once they are created



Q-which of following are true of using ado.net dataset and data table?
A-the dataset and data tables objects requires continuous connection to the database
B- all tables in a dataset must come from the same database
C- A given instance of data table can be in only one dataset
D-Content from multiple data set can easily be combined into a single dataset that contains the net result of all changes

Q the output generated by the following code will be
String t=@"this \is \a\test";
Response.write(t);
A- Thisisatest
B- This\is\a\test
C- It will give a complication error .unrecognized escape sequence

Q- which of following can one to detect the user's current language?
A-Examining the user language property of current request object
B-examining the current culture property of the current request object
D- Examining the language property of the current object














Waiting for your reply ,please give me correct guidance
THANKS
SURBHI




Responses
Author: Dhiraj Ranka             
Posted Date: October 23, 2010     Points: 5   

Q the output generated by the following code will be
String t=@"this \is \a\test";
Response.write(t);
A- Thisisatest
B- This\is\a\test
C- It will give a complication error .unrecognized escape sequence

Ans is 'this \is \a\test'

Reason @ at the used for escaping characters so that u can use symbols like \,"", etc

Q- which of following can one to detect the user's current language?
A-Examining the user language property of current request object
B-examining the current culture property of the current request object
D- Examining the language property of the current object

Ans : A (btw c is missing from options :-) )

Q- which of the following statements do expression trees fit best?
A-expression trees are a data structure
which can be initially composed using syntax
B- expression tress are a dynamically generated code which is executed to performs the desired function
C- expression trees can be modified once they are created

Ans : B http://msdn.microsoft.com/en-us/library/bb397951.aspx


Q-the default number of threads per processor in the system.Threading.threadpool class under version 3.5 of the farnework is:
A -1
B-25
C-250
D-100
E-500

Ans : B

Q-which of the following condition can triggers the automatic of asp.net application hosted in IIS?
A-A specific number of request to the application process
B-A percentage of physical memory utilized by the process
C-A specific time interval
D-all of the above

Ans : C

As of now this much will post it later

Hope this helps.

Thanks & Regards,
Dhiraj Ranka
http://www.twitter.com/dhirajranka | http://www.dhirajranka.com


Post Reply

You must Sign In To post reply
 
 
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery
JavaScript/VBScriptBiztalkWPFPatten/PracticesWCFOthers
www.DotNetSpark.comUnAnsweredAll

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