C#
45. Web Controls Supports CSSSkill/Topic: Intermediate A) True B) False
a
28. What is the default session out timeSkill/Topic: Beginner A) 20 Sec B) 20 Min C) 1 hr
b
46. Session Object classes are defined in which of the following namespace?Skill/Topic: Intermediate A) System.Web.UI B) System.Web.SessionState C) System.Web
b
48. What is the default authentication mode for IISSkill/Topic: Intermediate A) Windows B) Anonymous C) Basic Authentication D) None
b
53. Why do we use XMLSerializer classSkill/Topic: Intermediate A) Remoting B) WebServices C) Xml documentary Files
b
55. Which control supports pagingSkill/Topic: Intermediate A) Repeater B) Datagrid C) Both D) None
b
58. What is a satallite assembly ?Skill/Topic: Intermediate A) Any DLL file used by an EXE file. B) An Assembly containing localized resources for another assembly C) None of the above
b
8. asp:dropdownlist> tag replaces which of the HTML tagsSkill/Topic: Beginner A) < Option > B) < Select > C) < List >
b
99. How do you add ASP.Net 3rd party componentSkill/Topic: Advanced A) By add/Remove items in the project menu B) Add reference of dll file and place the code where ever required C) Cannot add 3rd party component to asp.net
b
69. Which of the following is not a member of ConnectionObjectSkill/Topic: Advanced A) BeginTransaction B) EndTransaction C) Execute D) Open
c
11. what namespace does the Web page belong in the .NET Framework class hierarchy?Skill/Topic: Beginner A) System.web.UI.Page B) System.Windows.Page C) System.Web.page
a
12. Which method do you invoke on the Data Adapter control to load your generated datasetSkill/Topic: Beginner A) Fill ( ) B) ExecuteQuery ( ) C) Read ( )
a
13. How many configuration files can an ASP.NET projects have?Skill/Topic: Beginner A) One B) More Than One C) None
a
15. How do you post the current page to a different aspx page ?Skill/Topic: Beginner A) FORM ACTION="actiopage.aspx" RUNAT="server" method="post" B) FORM ACTION="actiopage.aspx" method="post" C) FORM id="Form1" method="post" runat="server"
a
16. Which of these namespaces used for FileAccessSkill/Topic: Beginner A) System.IO B) System.IO.IsolatedStorage C) System.DirectoryServices D) All of these
a
18. Can a dll run as stand alone application ?Skill/Topic: Beginner A) No B) Yes C) Sometimes we can make it by introducing some code
a
25. Why is Global.asax is used Skill/Topic: Beginner A) Implement application and session level events B) Declare Global variables C) No use
a
26. There can be more than 1 machine.config file in a systemSkill/Topic: Beginner A) True B) False
a
3. When a .aspx page is requested from the web server, the out put will be rendered to browser in following format. A) HTML B) XML C) WML
a
30. It is possible to set Maximum length for a text box through codeSkill/Topic: Intermediate A) True B) False
a
37. Where is the default Session data is stored in ASP.NetSkill/Topic: Intermediate A) InProcess B) StateServer C) SQL Server D) All of the above
a
43. Select the type Processing model that asp.net simulateSkill/Topic: Intermediate A) Event-driven B) Static C) Linear D) TopDown
a
44. Does the "EnableViewState" allows the page to save the users input on a formSkill/Topic: Intermediate A) Yes B) No
a
47. Which DLL translate XML to SQL in IISSkill/Topic: Intermediate A) SQLISAPI.dll B) SQLXML.dll C) LISXML.dll D) SQLIIS.dll
a
54. What does Response.End will do?Skill/Topic: Intermediate A) It will stop the server process B) It will stop the client process C) None of the above
a
65. Which objects is used to create foreign key between tables?Skill/Topic: Advanced A) DataRelation B) DataRelationship C) DataConstraint D) Datakey
a
68. How do we Delete, Update, Select data in a DatasetSkill/Topic: Advanced A) Using SQLDataAdapter B) Using SQLDataReader C) Using SQLCommand D) None
a
7. The Asp.net server control, which provides an alternative way of displaying text on web page, isSkill/Topic: Beginner A) < asp:label > B) < asp:listitem > C) < asp:button >
a
70. Is it Possible to Serialize HashTable with XMLSerializerSkill/Topic: Advanced A) Yes B) No
a
74. What is the size of the session IDSkill/Topic: Advanced A) 32 bit long string B) 32 bit long double C) 32 bit long character D) 32 bit long integer
a
75. Which of the following extension does a webservice file will haveSkill/Topic: Advanced A) .Asmx B) .Aspx C) .Ascx D) .Resx
a
77. What is the purpose of Reflection?Skill/Topic: Advanced A) For Reading metadata at runtime B) For knowing version of assembly C) For finding path of an assembly
a
78. Is it possible edit data in a repeater controlSkill/Topic: Advanced A) No B) Yes
a
79. Why is Global.asax is used for ?Skill/Topic: Advanced A) To implement application & Session level events B) To store configuration information C) To store styling information D) None of the above
a
80. What is a diffgram ?Skill/Topic: Advanced A) The one which renders the dataset object contents to XML B) Finds the difference in two objects C) Finds the difference in two files D) None of the above
a
81. What is the lifespan for items stored in viewstateSkill/Topic: Advanced A) Exists for the Life of the current page B) 20 mins C) 2 mins D) 2 sec
a
83. Select the output of the statement < form method=post action="test.aspx" > Skill/Topic: Advanced A) Transfers all the form data to test.aspx with HTTP headers B) Transfers all the form data to test.aspx with out HTTP headers C) Calls post method on test.aspx D) None of the above
a
86. Whats the significance of Request.MapPath( )Skill/Topic: Advanced A) Maps the specified virtual path to a physical path B) Maps the specified absolute path to virtual path C) None
a
88. What is the significance of Server .MapPathSkill/Topic: Advanced A) Returns the physical file path that corresponds to virtual specified path B) Returns the Virtual Path of the web folder C) Maps the specified virtual path to Physical path D) None
a
89. What is the Server.MachineName doesSkill/Topic: Advanced A) Gets the Server's Machine Name B) Gets the Referred Web site name on the server C) Gets the Client Machine Name D) None
a
90. Whats is the significance of Response.ClearHeaders( )Skill/Topic: Advanced A) Clears all Headers from the buffer stream B) Clears all the section value from rendered HTML File C) Clears the content of the Rendered page D) None of the above
a
91. What is the significance of Response.AddHeaders( )Skill/Topic: Advanced A) Adds HTTP Headers to output stream B) Adds Tag to rendered Page C) Add Headers to the web site
a
92. What is the difference between HTTP handlers & HTTP modulesSkill/Topic: Advanced A) Httphandler is an class and Httpmodule is an assembly B) Httphandler is an event handler and httpmodule is module to do some task C) Both of the above D) None of the above
a
95. When is the user controls code is executedSkill/Topic: Advanced A) After the webform loads B) After the page_init event of webform C) Before Page_init event of web form
a
17. Which of the following is true ?Skill/Topic: Beginner A) User controls are displayed correctly in the Visual Studio .NET Designer B) Custom controls are displayed correctly in VS.Net Designer C) User and Custom controls are displayed correctly in the Visual Studio .NET Designer.
b
2. The Following are the minimum requirement to run Asp.net A) Java Virtual Machine B) Common Language Runtime C) Windows explorer
b
21. A web application running on multiple servers is called as Skill/Topic: Beginner A) WebForm B) Webfarm C) Website
b
22. What is the transport protocol used to call a webserviceSkill/Topic: Beginner A) HTTP B) SOAP C) TCP D) SMTP
b
23. How ASP.Net Different from ASPSkill/Topic: Beginner A) Scripting is separated from the HTML, Code is interpreted seperately B) Scripting is separated from the HTML, Code is compiled as a DLL, the DLLs can be executed on server C) Code is separated from the HTML and interpreted Code is interpreted separately
b
27. What is the extension of a web user control file ?Skill/Topic: Beginner A) .Asmx B) . Ascx C) .Aspx
b
34. The interface used by ASP.Net to create Unique Id's?Skill/Topic: Intermediate A) AppDomainsetup B) System.UI.Naming.Container C) IAsyncResult D) customFormatter
b
35. Which property of the session object is used to set the local identifier ?Skill/Topic: Intermediate A) SessionId B) LCID C) Item D) Key
b
39. Select the validation control used for "PatternMatching"Skill/Topic: Intermediate A) FieldValidator B) RegularExpressionValidator C) RangeValidator D) PatternValidator
b
4. What executable unit gets created when we build an ASP.Net application?Skill/Topic: Beginner A) . EXE B) . DLL C) . COM
b
41. How do you turn off the Session state for a webform ?Skill/Topic: Intermediate A) In Web.config file set the tag to True B) In Web.config file set the tag to false C) Set the Session state to false in webform properties window D) Set the EnableSession state to false in webform properties window
b
42. Who can access Session state variablesSkill/Topic: Intermediate A) All Users of an application B) A Single session C) All users within a single tunnel
b
60. The object used by SQL connection to make Security DemandsSkill/Topic: Advanced A) SQLLCientAttribute B) SQLPermission C) SQLPermissionClient D) SQLClientPermission
b
62. Which method do you invoke on the DataAdapter control to load your generated dataset with data?Skill/Topic: Advanced A) Load B) Fill C) GetAll D) None
b
63. How to open more than one datareader at a timeSkill/Topic: Advanced A) Use different datareader variable B) Use different datareader and connection variable C) Can not be done
b
84. What is the out put of the following codebyte a=200;byte b=100;byte c=a+b;Response.Write ( C );Skill/Topic: Advanced A) 300 B) Compile Time error C) Run time Error D) Just prints "C"
b
85. What is the out put of Following codeString a="Hello";String b="World"String c= a+bResponse.Write ( "C ");Skill/Topic: Advanced A) Hello world B) C C) A+b D) None of the above
b
9. The first event to be triggered in an aspx page isSkill/Topic: Beginner A) Page_Load() B) Page_Init() C) Page_click()
b
93. Which namespace allows us to formauthentication ?Skill/Topic: Advanced A) System.Web.Ui.Forms.Security B) System.Web.Security C) System.Web.Configuration D) System.Web.Services
b
94. Which method displays the custom controlSkill/Topic: Advanced A) The Prerender B) Render C) Page_Load D) Display
b
10. Postback occurs in which of the following formsSkill/Topic: Beginner A) Winforms B) HTMLForms C) Webforms
c
14. How do you register a user control?Skill/Topic: Beginner A) Add Tag prefix, Tag name B) Add Source, Tag prefix C) Add Src, Tagprefix, Tagname
c
20. Custom Controls are derived from which of the classesSkill/Topic: Beginner A) System.Web.UI.Webcontrol B) System.Web.UI.Customcontrol C) System.Web.UI.Customcontrols.Webcontrol
c
24. What's the difference between Response.Write() andResponse.Output.Write()?Skill/Topic: Beginner A) Response.Output.Write() allows you to flush output B) Response.Output.Write() allows you to buffer output C) Response.Output.Write() allows you to write formatted output D) Response.Output.Write() allows you to stream output
c
29. Which of the following is true ?Skill/Topic: Beginner A) IsPostBack is a method of System.UI.Web.Page class B) IsPostBack is a method of System.Web.UI.Page class C) IsPostBack is a readonly property of System.Web.UI.Page class
c
31. The number of forms that can be added to a aspx page isSkill/Topic: Intermediate A) 2 B) 3 C) 1 D) More than 3
c
36. Select the caching type supported by ASP.NetSkill/Topic: Intermediate A) Output Caching B) DataCaching C) Both a & b D) None of the above
c
40. How do you trace the application_End event on runtime?Skill/Topic: Intermediate A) By Debugging B) By Tracing C) Can not be done
c
49. Which of the following is not a valid state management tool?Skill/Topic: Intermediate A) Application State B) Hidden Form Field C) Querystate D) Cookies
c
5. The best way to delimit ASP.Net code from HTML code in your pages is by using --------------- tags.Skill/Topic: Beginner A) < Body > B) < Head > C) < Script >
c
50. What is the maximum number of cookies that can be allowed to a web siteSkill/Topic: Intermediate A) 1 B) 10 C) 20 D) 30 E) More than 30
c
51. Select the control which does not have any visible interfaceSkill/Topic: Intermediate A) Datalist B) DropdownList C) Repeater D) Datagrid
c
52. How do you explicitly kill a user's session ?Skill/Topic: Intermediate A) Session.Close ( ) B) Session.Discard ( ) C) Session.Abandon D) Session.End
c
57. What is the purpose of code behind ?Skill/Topic: Intermediate A) To separate different sections of a page in to different files B) To merge HTML layout and code in to One file C) To separate HTML Layout and code to different file D) To ignore HTML usage
c
59. Which of the following is not a member of Response Object?Skill/Topic: Advanced A) Clear B) Write C) Execute D) Flush
c
6. The code will be processed on web server when the runat attribute of the < Script > tag has the following value.Skill/Topic: Beginner A) Desktop B) Client C) Server
c
64. What is the advantage of Disconnected mode of ADO.Net in ASP.NetSkill/Topic: Advanced A) Automatically dump data at client PC B) Not necessary to connect with server C) user data can update and retrieve in dataset and when connection connected, update values with server D) All of the above
c
66. Which one of the following namespaces contains the definition for IdbConnectionSkill/Topic: Advanced A) System.Data.Interfaces B) System.Data.Common C) System.Data D) System.Data.Connection
c
67. Select the Interface which provides Fast, connected forward-only access to dataSkill/Topic: Advanced A) IdataRecord B) Idatabase C) IdataReader D) Irecorder
c
71. What is the Full Form of WSDLSkill/Topic: Advanced A) Web System Description Language B) Web Services Detail Language C) Web Service Description Language D) None
c
72. What is the difference between Server.Transfer & Response.RedirectSkill/Topic: Advanced A) No Difference B) Server.Transfer needs a roundtrip, Response.Redirect does not C) Response.Redirect needs roundtrip, Server.Transfer does not D) Server.Transfer can transfer user between 2 applicaions
c
76. What is a strong name?Skill/Topic: Advanced A) Public Key B) Private Key C) Combination Of both Public,Private key and digital signature
c
87. Which of the following are not a member of Server ObjectSkill/Topic: Advanced A) Execute B) Transfer C) Open D) HTMLDecode
c
97. What section of the config.Web file is used for storing a list of authorized users?Skill/Topic: Advanced A) 1 B) 3 C) 4 D) None
c
98. What version of the javascript should be used for client side scriptSkill/Topic: Advanced A) 1.0 B) 1.1 C) 2.0 D) 3
c
1. Which of the following languages can be used to write server side scripting in ASP.NET? A) C# B) C C) Visual Basic D) Both A and C
d
19. To add a custom control to a Web form we have to register with Skill/Topic: Beginner A) TagPrefix B) Name space of the dll that is referenced C) Assemblyname D) All of the above
d
33. what is the difference between user control and custom controlSkill/Topic: Intermediate A) Both can use as drag and drop tool B) Both are same C) Both can use different application D) One Custom Control can be use in different project but not the same with User control
d
38. How do you disable client side validation ?Skill/Topic: Intermediate A) Set the language property to C# B) Set the Runat property to server C) Set the ClientTarget property to Downlevel D) Set the inherits property to codeb
d
56. Where do you store the information about the user localeSkill/Topic: Intermediate A) System.user B) System.web C) System.Drawing D) System.Web.UI.Page.Culture
d
61. Which of the following is not a member of ADODBCommand objectSkill/Topic: Advanced A) ExecuteReader B) ExecuteScalar C) ExecuteStream D) Open E) CommandText
d
73. Which Language can Support SOAPSkill/Topic: Advanced A) VB B) JAVA C) COBOL D) All of the above
d
82. What data types do a Rangevalidator supportsSkill/Topic: Advanced A) Integer B) String C) Date D) All of the above
d
96. Client Sertificate is a collection ofSkill/Topic: Advanced A) Server B) Response C) Collection D) Request
d
Presents a logical view of our work using an Explorer-like view of the classes, methods and properties. [A] Solution View [B] Resource View [C] Properties View [D] Class View
d
32. How do you manage states in asp.net applicationSkill/Topic: Intermediate A) Session Objects B) application Objects C) Viewstate D) Cookies E) All of the above
e