Enter your search terms
Submit search form
Web
examineonline.googlepages.com
Online Exam
>>
Programming
>>
ASP.NET
>>
Test 3
Menu
Programming
COMPTIA
GMAT
English
IQ
DataBase
OS
MCSE
CISCO
Finance
Management
Health
Soft Skills
Web Building
Multimedia
Test 3
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.
Java Script
2 . The Following are the minimum requirement to run Asp.net pages?
A.
Java Virtual Machine
B.
Common Language Runtime
C.
Windows explorer
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
4 . What executable unit gets created when we build an ASP.Net application?
A.
. DLL
B.
. EXE
C.
. COM
5 . The best way to delimit ASP.Net code from HTML code in your pages is by using --------------- tags.
A.
< Script >
B.
< Body >
C.
< Head >
6 . The code will be processed on web server when the runat attribute of the < Script > tag has the following value.
A.
Desktop
B.
Client
C.
Server
7 . The Asp.net server control, which provides an alternative way of displaying text on web page, is
A.
< asp:label >
B.
< asp:listitem >
C.
< asp:button >
8 . <asp:dropdownlist> tag replaces which of the HTML tags
A.
< Option >
B.
< Select >
C.
< List >
9 . The first event to be triggered in an aspx page is
A.
Page_Load()
B.
Page_Init()
C.
Page_click()
10 . Postback occurs in which of the following forms
A.
Winforms
B.
HTMLForms
C.
Webforms
11 . What namespace does the Web page belong in the .NET Framework class hierarchy?
A.
System.web.UI.Page
B.
System.Windows.Page
C.
System.Web.page
12 . Which method do you invoke on the Data Adapter control to load your generated dataset?
A.
Fill ( )
B.
ExecuteQuery ( )
C.
Read ( )
13 . How many configuration files can an ASP.NET projects have?
A.
One
B.
More Than One
C.
None
14 . How do you register a user control?
A.
Add Tag prefix, Tag name
B.
Add Source, Tag prefix
C.
Add Src, Tagprefix, Tagname
15 . Which of the following is true ?
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.
16 . Can a dll run as stand alone application ?
A.
No
B.
Yes
C.
Sometimes we can make it by introducing some code
17 . To add a custom control to a Web form we have to register with
A.
TagPrefix
B.
Name space of the dll that is referenced
C.
Assemblyname
D.
All of the above
18 . Custom Controls are derived from which of the classes
A.
System.Web.UI.Webcontrol
B.
System.Web.UI.Customcontrol
C.
System.Web.UI.Customcontrols.Webcontrol
19 . A web application running on multiple servers is called as
A.
WebForm
B.
Webfarm
C.
Website
20 . What is the transport protocol used to call a webservice?
A.
HTTP
B.
SOAP
C.
TCP
D.
SMTP
21 . How ASP.Net Different from ASP?
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
22 . What's the difference between Response.Write() and Response.Output.Write()?
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
23 . Why is Global.asax is used ?
A.
Implement application and session level events
B.
Declare Global variables
C.
No use
24 . There can be more than 1 machine.config file in a system?
A.
True
B.
False
25 . What is the extension of a web user control file ?
A.
.Asmx
B.
. Ascx
C.
.Aspx
26 . What is the default session time out?
A.
20 Sec
B.
20 Min
C.
1 hr
27 . Which of the following is true ?
A.
IsPostBack is a readonly property of System.Web.UI.Page class
B.
IsPostBack is a method of System.Web.UI.Page class
C.
IsPostBack is a method of System.UI.Web.Page class
28 . It is possible to set Maximum length for a text box through code.
A.
True
B.
False
29 . The number of forms that can be added to a aspx page is
A.
2
B.
3
C.
1
D.
More than 3
30 . How do you manage states in asp.net application?
A.
Session Objects
B.
Application Objects
C.
Viewstate
D.
Cookies
E.
All of the above
Test Name :
Test 3
Category :
ASP.NET
Number of Question :
30
Pass Score :
80
Test Result
Your Score :
Passing Score :
80
Result :
Copyright by
VanTuMinh
© 2007