C#
C#
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
^^ 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
^^ 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
^^ 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
^^ 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
^^ 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
^^ Which method do you invoke on the Data Adapter control to load your generated
datasetSkill/Topic: Beginner
A) Fill ( )
B) ExecuteQuery ( )
C) Read ( ) | A
@@ 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
^^ 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
^^ 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
@@ 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 |
B
^^ Select the type Processing model that asp.net simulate Skill/Topic: Intermediate
A) Event-driven
B) Static
C) Linear
D) TopDown | A
^^ Does the "EnableViewState" allows the page to save the users input on a
formSkill/Topic: Intermediate
A) Yes
B) No | A
^^ What is the maximum number of cookies that can be allowed to a web site.
Skill/Topic: Intermediate
A) 1
B) 10
C) 20
D) 30
E) More than 30 | C
^^ Select the control which does not have any visible interface. Skill/Topic:
Intermediate
A) Datalist
B) DropdownList
C) Repeater
D) Datagrid | C
^^ Where do you store the information about the user locale. Skill/Topic:
Intermediate
A) System.user
B) System.web
C) System.Drawing
D) System.Web.UI.Page.Culture | D
@@ The object used by SQL connection to make Security Demands Skill/Topic: Advanced
A) SQLLCientAttribute
B) SQLPermission
C) SQLPermissionClient
D) SQLClientPermission | B
^^ 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
^^ Which one of the following namespaces contains the definition for IdbConnection
Skill/Topic: Advanced
A) System.Data.Interfaces
B) System.Data.Common
C) System.Data
D) System.Data.Connection | C
^^ Select the Interface which provides Fast, connected forward-only access to data
Skill/Topic: Advanced
A) IdataRecord
B) Idatabase
C) IdataReader
D) Irecorder | C
^^ Which of the following extension does a webservice file will have. Skill/Topic:
Advanced
A) .Asmx
B) .Aspx
C) .Ascx
D) .Resx | A
^^ 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
^^ Which of the following are not a member of Server Object. Skill/Topic: Advanced
A) Execute
B) Transfer
C) Open
D) HTMLDecode | C
^^ What is the difference between HTTP handlers & HTTP modules Skill/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
@@ 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
@@ What version of the javascript should be used for client side script ?
Skill/Topic: Advanced
A) 1.0
B) 1.1
C) 2.0
D) 3 | C