interview questions from net..4
Satellite assemblies are best suited for...........
Application that generate content at runtime or that have large executable components
Which ASP.NET performance counter is the best indicator of inefficient caching?
Turnover rate performance counter
Which is not the element to perform conditional processing with XSL?
Correct
How can you detect when application data is about to be removed from the cache?
Onremovecallback
XSL transformations convert XML input files to HTML through the XML server control.
Correct
The _______________ property determines which satellite assembly is used when loading resources.
Correct
A web application running on a single server using multiple processors. Choose the best suited option.
Web garden
The process of reading database records without locking the records being read.
Dirty Read
How can Garbage Collection be forced in .NET?
True
In form authentication settings in web.config, which element is used to set the name of the cookie in
Application that generate content at runtime or that have large executable components
Which ASP.NET performance counter is the best indicator of inefficient caching?
Turnover rate performance counter
Which is not the element to perform conditional processing with XSL?
Correct
How can you detect when application data is about to be removed from the cache?
Onremovecallback
XSL transformations convert XML input files to HTML through the XML server control.
Correct
The _______________ property determines which satellite assembly is used when loading resources.
Correct
A web application running on a single server using multiple processors. Choose the best suited option.
Web garden
The process of reading database records without locking the records being read.
Dirty Read
How can Garbage Collection be forced in .NET?
True
In form authentication settings in web.config, which element is used to set the name of the cookie in
< form>
You need to store state data that is accessible to any user who connects
to your Web application. Which object should you use?
Application
Which cache priority setting has the highest priority?
CacheItemPriority.NotRemoveable
Which OutputCache attributes for user controls is used to cache a single response from a user control for use on multiple web forms?
Shared
Saving ViewState information adds to the amount of data that must be transmitted back to the server with each request
Flase
Which cache performance counters returns statistics representing application data stored in the cache object?
Cache API counters
Which test makes sure that new code doesn’t break existing code?
Regression
The standard means of ensuring that data sent over the internet can’t be read by others.
SSL
Which element of web.config setting is used to set the build type to debug or release?
<compilation>
Which cache counter returns number of request served from the cache?
Hits
Application
Which cache priority setting has the highest priority?
CacheItemPriority.NotRemoveable
Which OutputCache attributes for user controls is used to cache a single response from a user control for use on multiple web forms?
Shared
Saving ViewState information adds to the amount of data that must be transmitted back to the server with each request
Flase
Which cache performance counters returns statistics representing application data stored in the cache object?
Cache API counters
Which test makes sure that new code doesn’t break existing code?
Regression
The standard means of ensuring that data sent over the internet can’t be read by others.
SSL
Which element of web.config setting is used to set the build type to debug or release?
<compilation>
Which cache counter returns number of request served from the cache?
Hits
Which keyword is used within
exception-handling structure to immediately pass control flow to the catch
statement?
throw
Which event procedure resides in the Global.asax file?
Global_Error and Application_Error
Which file is used to add or remove system registration database entries for a .NET assembly?
Regasm.exe
For your ASP.NET web application your graphics designer created elaborate images that show the product lines of your company. Some of graphics of the product line are rectangular, circular, and others are having complex shapes. You need to use these images as a menu on your Web site. What is the best way of incorporating these images into your Web site?
Use an ImageMap control and define hot spot areas for each of the product lines. Use the PostBackValue to identify the product line that was clicked.
Which is the default authentication method when you create a new web application project?
Correct
Which event causes the web page to be sent back to the server for immediate processing?
Correct
What is form authentication?
Allows to create your own database of users and validates the identity of those users when they visit your web site
Code that has been compiled with release options runs as smooth as code compiled with debug options and has no performance issue
False
Choose the system components that provide access to various system-level events that occurs on the server
Message Queue EventLog FileSystemWatche
throw
Which event procedure resides in the Global.asax file?
Global_Error and Application_Error
Which file is used to add or remove system registration database entries for a .NET assembly?
Regasm.exe
For your ASP.NET web application your graphics designer created elaborate images that show the product lines of your company. Some of graphics of the product line are rectangular, circular, and others are having complex shapes. You need to use these images as a menu on your Web site. What is the best way of incorporating these images into your Web site?
Use an ImageMap control and define hot spot areas for each of the product lines. Use the PostBackValue to identify the product line that was clicked.
Which is the default authentication method when you create a new web application project?
Correct
Which event causes the web page to be sent back to the server for immediate processing?
Correct
What is form authentication?
Allows to create your own database of users and validates the identity of those users when they visit your web site
Code that has been compiled with release options runs as smooth as code compiled with debug options and has no performance issue
False
Choose the system components that provide access to various system-level events that occurs on the server
Message Queue EventLog FileSystemWatche
Which types of testing ensures
that all the product continue to work under extreme usage?
Load testing
Which cache performance counter
returns statistics that combine cached web forms, user controls, application
data, and internal use of the cache by ASP.NET?
CacheTotal counters
Which of the following hold true
for Friend (internal member)?
It can be accessed only from members of the same assembly.
Which of the following is not
true for classes?
The memory that holds class instances is allocated on the stack.
Choose the principle of
object-oriented programming that allows object to exist as independent,
interchangeable units of functionality without maintaining dependencies on
other units of code.
Encapsulation
Which of the following
automatically detects if windows installer is installed on the target machine?
Bootstrapper application
__________________ is the ability
of different objects to expose different implementations of the same public
interface.
Polymorphism
You work as a Software Developer
for uCertify Inc. The company uses Visual Studio .NET as its application
development platform. You are creating an application that uses isolated
storage to store user preferences using the .NET Framework. You use several
assemblies for different purpose in the application. The application will be
used by multiple users on the same computer. You are required to create a
directory named MyPrefer in the isolated storage area that is scoped to the
current Microsoft Windows identity and assembly. Which of the following code
segments will you use to accomplish the task?
IsolatedStorageFile store;
store = IsolatedStorageFile.GetUserStoreForAssembly();
store.CreateDirectory("MyPrefer");
What property is used on the datatable to indicate conflicts after
update method is called?
HasErrorConflict
Paybill.aspx file is used to collect customer contact information like
name, address phone no and credit card details. User can select change address
option. If user selects changes address option then changeaddress.aspx page
will be called after submitting page paybill.aspx. There isn’t any user
interface on changeaddress.aspx. After processing changeaddress.aspx page,
success message will be displayed on paybill.aspx. we need to write one line of
code to process changeaddress.aspx page. This line should be:
Server.execute(“changeaddress.aspx”)
Comments