WizIQ helps you learn and teach online - any subject you can think of!
Join for FREE

asp.net Framework online Test

In ASP.NET what does the following return < %  Response.Write(System.Environment.WorkingSet.ToString()) % >
Return Null value
Gives Error
Gives the memory working set
None of the Above
In ASP.NET if you want to allows page developers a way to specify static connections in a content page then the class used is
ProxyWebPartManager
WebPartManager
System.Activator
None of the Above
AJAX can be used for interactive communication with a database
True
False
Not always
None of these
The Web Stuffers Restaurant has hired you to create a new web application that does credit card verification. The cashiers enter credit card information into your application and the application then must utilize an XML web service at a service company to do the actual verification. You need to get the application into production quickly, as the manager of Web Stuffers has told you they need to be operational tonight. What should you do? 
Add a web reference to the project, create an instance of the referenced object and pass the credit card number to the exposed method of the object in your code
In the code where the verification processing is done, add a reference to the web service via a hyperlink
Add a reference to the object at the Web Service Company and use it in your code
Create a custom component that accesses the web service via tcp channels.
Which method illustrates how to retrieve information for the current culture of the application?
Create a new instance of the CultureInfo class, and instantiate it with no values specified in the constructor.
Use the CurrentCulture property of the CurrentThread property of the Thread instance.
Create a new instance of the CultureInfo class, and use an invariant culture.
None of the above
Suppose a .NET programmer wants to convert an object into a stream of bytes then the process is called
RCW
AppDomain
Threading
Serialization
What is the proper property setting used to enable the session state in a Web Service utilizing the HttpSessionState object? 
[ WebMethods( EnableSession = true ) ]
[ WebMethods StateServer = true ) ]
A session cannot be maintained by a Web Service
[ WebMethods( HttpSessionState = true ) ]
The technique that allow code to make function calls to .NET applications on other processes and on other machines is
.NET Remoting
.NET RMT
.NET Threading
None of the above
Which of the following can be used to debug .NET application?
Runtime Debugger
Systems.Diagnostics classes
Visual Studio .NET
All the Above
Which of the following is used to send email message from my ASP.NET page?
System.Web.Mail.SmtpMail
System.Web.Mail.MailMessage
None of the Above
Both 1) and 2)
Which of the following choices is true with respect to making types available to COM components?
A default constructor with no parameters should be used.
Class definitions can be marked public or private.
Members can be marked public or private.
Both concrete and abstract classes can be used.
When is the user controls code is executed
Before Page_init event of web form 
After the webform loads
After the page_init event of webform
None of the above
Setting the following properties for object in ASP.NET results in Response.Buffer = True Response.ExpiresAbsolute = Now().Subtract(New TimeSpan(1, 0, 0, 0)) Response.Expires = 0 Response.CacheControl = "no-cache"
Clears the buffer area
The session expires
Avoid page to be cached
None of the Above
You want to send an e-mail message to an SMTP server while encrypting the network communications. Which property do you need to modify from its default settings?
SmtpClient.Port
SmtpClient.EnableSsl
SmtpClient.Credentials
SmtpClient.DeliveryMethod
Which method do you invoke on the DataAdapter control to load your generated dataset with data?)
DataList
Fill( )
DataBind
Load ( )
What tool is used to manage the GAC? 
GacSvr32.exe
GacUtil.exe
GacMgr.exe
RegSvr.exe
Which items are generally not considered as shortcomings associated with using COM Interop?
Lack of support for Shared members (in Visual Basic) and Static members (in C#)
Inability to use parameterized constructors
Limited portability between different operating systems
None of the above
Which of the following classes does not requires both the encryptor and decryptor to have the same key?
RSACryptoServiceProvider
RijndaelManaged
TripleDES
DES
You must restrict access to a method that is called by a Windows event based on a user’s group memberships in the local user database. If the user lacks sufficient access, you want to log an event and display a message to the user. You want to use the most secure method possible. Which technique will you use?
Imperative RBS demands
WindowsPrincipal.IsInRole
Declarative RBS demands
WindowsIdentity.IsInRole
There is a requirement as follows: A client side already has 25 COM objects and if the requirement is to add a 26th function that must exists only for .NET object without affecting the existing one how to achieve the above?
By RCW
By RCA
By CCW
None of the Above
Join the .NET Community
Description:

This is a 20-questions test on asp.net
Disclaimer: Content, such as images used in the questions (if any), have been picked up from various places for the sole purpose of Instruction.

Comments

Want to learn?

Sign up and browse through relevant courses.

Name:
Your Email:
Password:
Country:
Contact no.:


Area code Number
Subject you are interested in:
Word verification: (Enter the text as in image)


Sign Up Already a member? Sign In
I agree to WizIQ's User Agreement & Privacy Policy

Your Facebook Friends on WizIQ

More Tests By Author

ASP Server Controls
10 Questions | 227 Attempts

ASP.NET, Namespaces ASP.NET
10 Questions | 854 Attempts

An ASP.NET Application
10 Questions | 172 Attempts

Test your basic knowledge on DATASTRUCTURES, STACK
10 Questions | 410 Attempts