Issuu on Google+

Edited by Foxit Reader Copyright(C) by Foxit Software Company,2005-2008 For Evaluation Only. 1. ASP.NET separates the HTML output from program logic using a feature named as

Exception Code-behind Code-front None of the above 2. 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"

The session expires Clears the buffer area Avoid page to be cached None of the above

3. In ASP.NET if one wants to set the focus on a particular control

Call SETFOCUS Call SETCONTROL Call FOCUS method None of the above 4. In ASP.NET page framework an automatic way to associate page events and methods is

AutoEventWireup attribute of the Page directive is set to False AutoEventWireup attribute of the Page directive is set to true It is not possible to set automatically page events and methods None of the above 5. Give one word: What model does ASP.NET request processing is based on

Pipeline Waterfall Top-down


Edited by Foxit Reader Copyright(C) by Foxit Software Company,2005-2008 For Evaluation Only.

Bottom-up 6. The GridView control in ASP.NET has which of the following features

A. Automatic data binding B. Automatic paging Both A) and B) None of the above 7. In ASP.NET application the Global.asax file lie in which directory

ROOT System Application None of the above 8. In ASP.NET if one wants to maintain session then which of the following is used?

In-process storage Session State Service Microsoft SQL Server All the Above 9. I have an ASP.NET application. I have a page loaded from server memory. At this instance which of the following methods gets fired

PreRender() Load() Unload() None of the Above 10. Forms based authentication is otherwise called in ASP.NET as Cookie Authentication because Forms authentication uses cookies to allow applications to track users throughout their visit.

Cookie Authentication


Edited by Foxit Reader Copyright(C) by Foxit Software Company,2005-2008 For Evaluation Only.

Passport Authentication Windows Authentication None of the Above 11. Which of the following denote the web control associated with Table control function of ASP.NET?

DataList ListBox TableRow All the Above 12. If a developer of ASP.NET defines style information in a common location. Then that location is called as

Master Page Theme Customization None of the Above 13. A developer wanted to achieve graphics in his display using ASP.NET. Which of the following web controls are available in ASP.NET to achieve the above?

A. AdRotator B. LinkButton Both A) and B) None of the Above 14. Which of the following denote New Data-bound Controls used with ASP.NET

GridView FormView SqlDataSource All the Above


Edited by Foxit Reader Copyright(C) by Foxit Software Company,2005-2008 For Evaluation Only. 15. Which of the following is true about session in ASP.NET?

ASP.NET automatically delete sessions after configurable timeout interval Programmers has to take care of delete sessions after configurable timeout interval The default time interval is 5 minutes None of the Above

16. Which of the following denote value that can be taken by Cache-Control of ASP.NET?

Public Private no-cache All the above 17. 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 CCW By RCW By RCA None of the Above 18. If one uses ASP.NET configuration system to restrict access which of the following is TRUE?

A. The access is restricted only to ASP.NET files B. The access is restricted only to static files and non-ASP.NET resources. Both A) and B) None of the Above 19. Which of the following is used to write error message in event Log File?

System.Diagnostics System.EnterpriseServices


Edited by Foxit Reader Copyright(C) by Foxit Software Company,2005-2008 For Evaluation Only.

System.Data None of the Above 20. Which of the following denote page code model in ASP.NET?

A. single-file B. code-behind Both A) and B) None of the Above 21. The control used in ASP.NET to display information from data set but with better formatting and editing behavior is

Panel Button DataList None of the Above 22. ______________ authentication ensures that only authorized users are allowed to access a web site or an application.

Client Authentication Client and server authentication Server Authentication None of the Above 23. Every composite control has a _______________________.

FormCollection IndexCollection ControlCollection RowCollection 24. Controls help in reusability of visual as well as functional capabilities.


Edited by Foxit Reader Copyright(C) by Foxit Software Company,2005-2008 For Evaluation Only.

True False 25. ______________ help us in packaging these capabilities and redistributing them.

Control Form Server GUI 26. Pagelet files are text files having the extension __________.

.aspx .ascx .asmx .aswx 27. The custom controls that we create cannot be made to maintain state automatically.

True False 28. Custom Controls, which compose of other controls as well, are known as composite controls.

True False 29. The ASP.NET configuration files are written in __________.

SGML XML UML GML


30. If the configuration settings are changed, they are automatically detected by the system. The server need not be restarted.

True False


beginning asp.net1