So Um Ya

  • Uploaded by: Erik Lott
  • 0
  • 0
  • July 2020
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View So Um Ya as PDF for free.

More details

  • Words: 1,805
  • Pages: 6
1.    

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

2.    

The control used in ASP.NET to display information from data set but with better formatting and editing behavior is Panel Button Data List 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() 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 true AutoEventWireup attribute of the Page directive is set to False It is not possible to set automatically page events and methods None of the Above

5. Which of the following denote value that can be taken by Cache-Control of ASP.NET?  Public  Private  no-cache  All of the above 6.    

Give one word: What model does ASP.NET request processing is based on Pipeline Waterfall Top-down Bottom-up

7.    

If in an ASP.NET application one want to create http handlers which of the interface is used IHttpHandlerFactory Handler Pipeline None of the above

8.

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 WebPartManager ProxyWebPartManager System.Activator None of the Above

   

9.    

On which of the operating system below ASP.NET can run? Windows XP Professional Windows 2000 Both A) and B) None of the Above

10.  

In ASP.NET if one wants to maintain session then which of the following is used? In-process storage Session State Service

  11. 

Microsoft SQL Server All the Above 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( )

   12.    

Load() Unload( ) None of the Above The GridView control in ASP.NET has which of the following features Automatic data binding Automatic paging Both A) and B) None of the above

13.    

Which of the following denote page code model in ASP.NET? single-file code-behind Both A) and B) None of the above

14.    

ASP.NET separates the HTML output from program logic using a feature named as Exception Code-behind Code-front None of the above

15.    

To set page title dynamically in ASP.NET which of the following is used? < head > section < tail > section < sheet > section None of the above

16. Which of the following denote the web control associated with Table control function of ASP.NET?    

DataList ListBox TableRow All the Above

17. 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

18. An organization has developed a web service in which the values of the forms are validated using ASP.NET application.     19.

Suppose this web service is got and used by a customer then in such a scenario which of the following is TRUE Such a situation cannot happen at all The customer must be having technology that run ASP. The customer can run on any platform. None of the Above.

   

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

20.    

Which of the following is used to write error message in event Log File? System.Diagnostics System.EnterpriseServices System.Data None of the Above

21.

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 Passport Authentication

 

 

Windows Authentication None of the Above

22.    

If one uses ASP.NET configuration system to restrict access which of the following is TRUE? The access is restricted only to ASP.NET files The access is restricted only to static files and non-ASP.NET resources. Both A) and B) None of the Above

23.    

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

24.    

The feature in ASP.NET 2.0 that is used to fire a normal postback to a different page in the application is called Theme Cross Page Posting Code-front None of the above

25.

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? AdRotator LinkButton Both A) and B) None of the Above

    26.    

<% Response.Write(System.Environment.WorkingSet.ToString()) %> Gives the memory working set Return Null value Gives Error None of the Above

27.    

In ASP.NET application the Global.asax file lie in which directory ROOT System Application None of the Above

28. Which of the following denote New Data-bound Controls used with ASP.NET     

GridView FormView SqlDataSource Both A) and B) All the Above

29.    

Which of the following can be used to debug .NET application? Visual Studio .NET Runtime Debugger Systems.Diagnostics classes All the Above

30.    

In ASP.NET if one uses Windows authentication the current request attaches an object called as Serialization WindowsPrincipal WindowDatset None of the Above

31. What’s the difference between Response.Write() andResponse.Output.Write()?   

Response.Output.Write() allows you to flush output Response.Output.Write() allows you to buffer output Response.Output.Write() allows you to write formatted output



Response.Output.Write() allows you to stream output

32.   

asp:dropdownlist> tag replaces which of the HTML tags < Option > < Select > < List >

33.   

Custom Controls are derived from which of the classes System.Web.UI.Webcontrol System.Web.UI.Customcontrol System.Web.UI.Customcontrols.Webcontrol

34.    

What is the advantage of Disconnected mode of ADO.Net in ASP.Net Automatically dump data at client PC Not necessary to connect with server user data can update and retrieve in dataset and when connection connected, update values with server All of the above

35.  

What is the Full Form of WSDL Web System Description Language Web Services Detail Language

 

Web Service Description Language None

36.   

What is the significance of Response.AddHeaders( ) Adds HTTP Headers to output stream Adds
Tag to rendered Page Add Headers to the web site

37.    

What is the out put of the following code byte a=200; byte b=100; byte c=a+b; Response.Write ( C ); 300 Compile Time error Run time Error Just prints “C”

38. Which DLL translate XML to SQL in IIS    

SQLISAPI.dll SQLXML.dll LISXML.dll SQLIIS.dll

39.    

Which of the following are not a member of Server Object Execute Transfer Open HTMLDecode

40.    

Which namespace allows us to formauthentication ? System.Web.Ui.Forms.Security System.Web.Security System.Web.Configuration System.Web.Services

41.    

How do you turn off the Session state for a webform ? In Web.config file set the tag to True In Web.config file set the tag to false Set the Session state to false in webform properties window Set the EnableSession state to false in webform properties window

42.   

Why do we use XMLSerializer class Remoting WebServices Xml documentary Files

43.

What section of the config.Web file is used for storing a list of authorized users?

   

Authentication Authorization securityPolicy None

44. Which of the following is not a member of ADODBCommand object     

ExecuteReader ExecuteScalar ExecuteStream Open CommandText

45.    

What is the significance of Server .MapPath Returns the physical file path that corresponds to virtual specified path Returns the Virtual Path of the web folder Maps the specified virtual path to Physical path None

46.  

There can be more than 1 machine.config file in a system True False

47. What is the extension of a web user control file?   

.Asmx . Ascx .Aspx

48.    

What is the default authentication mode for IIS Windows Anonymous Basic Authentication None

49. Which of the following is true?   

IsPostBack is a method of System.UI.Web.Page class IsPostBack is a method of System.Web.UI.Page class IsPostBack is a readonly property of System.Web.UI.Page class

50. When a .aspx page is requested from the web server, the out put will be rendered to browser in following format.   

HTML XML WML

51. Select the control which does not have any visible interface    

Datalist DropdownList Repeater Datagrid

52. Which of the following languages can be used to write server side scripting in ASP.NET?   

C# C Visual Basic

53.    

Which control supports paging Repeater Datagrid Both None

54. Which of the following is not a member of Response Object?  

Clear Write

 

Execute Flush

55.    

To add a custom control to a Web form we have to register with TagPrefix Name space of the dll that is referenced Assemblyname All of the above

56. The Following are the minimum requirement to run Asp.net pages   

Java Virtual Machine Common Language Runtime Windows explorer

57. Where is the default Session data is stored in ASP.Net    

InProcess StateServer SQL Server All of the above

58. How do you disable client side validation?    

Set the language property to C# Set the Runat property to server Set the ClientTarget property to Downlevel Set the inherits property to codeb

59.    

Select the validation control used for “PatternMatching” FieldValidator RegularExpressionValidator PatternValidator RangeValidator

60.    

What is the difference between HTTP handlers & HTTP modules Httphandler is an class and Httpmodule is an assembly Httphandler is an event handler and httpmodule is module to do some task Both of the above None of the above

Related Documents

So Um Ya
July 2020 3
So Um Ya
July 2020 4
Ya
November 2019 59
Ya
June 2020 29
Ya Ali Ya Hussain
July 2020 31

More Documents from ""