Choice D I Will Get Created On Stack, Whereas J Will Get Created On Heap
Choice D I Will Get Created On Stack, Whereas J Will Get Created On Heap
int i ;
int j = new int( ) ;
i = 10 ;
j = 20 ;
String str ;
str = i.ToString( ) ;
str = j.ToString( ) ;
Choice a
Choice b
Choice c
it.
Choice d
Choice b
Choice c
Choice d
Choice b
Choice c
Choice d
[4] How we can control the vertical alignment of the cell in the HTML table control?
Choice a
ColSpan
Choice b
NoWrap
Choice c
Choice d
VAlign
HAlign
[5] Which of the following is the correct syntax for the GridView?
Choice a
Choice b
Choice c
Choice d
[6] Which of the following statements are true about compilation of .aspx pages in
ASP.NET?
Choice a
Choice b
Choice c
Choice d
An .aspx page gets compiled when first request is made for it.
All .aspx pages get compiled when the session state starts.
[7] In ASP.NET which of the following properties is used for ascertaining whether
the page is being loaded in response to a client postback, or is it being loaded and
accessed for the first time?
Choice a
Page.IsReusable Property
Choice b
Page.IsValid Property
Choice c
Page.Request Property
Choice d
Page.IsPostBack Property
[5] Which of the following is the correct syntax for HTML Anchor Control?
Choice a <a href="linkurl" name="bookmarkname"
OnServerClick="onserverclickhandler"
target="linkedcontentframeorwindow"
title="titledisplayedbybrowser" runat="server" > linktext</a>
Choice b <a href="linkurl" name="bookmarkname"
OnServerClick="onserverclickhandler"
target="linkedcontentframeorwindow" title="titledisplayedbybrowser"
runat="server" > linktext
Choice c
Choice d
<a href="linkurl" name="bookmarkname"
OnServerClick="onserverclickhandler"
target="linkedcontentframeorwindow" title="titledisplayedbybrowser"
runat="server" > linktext</a href>
[9] By which property of checkbox HTML server control we can get to know whether
the checkbox is selected or not?
Choice a
OnSubmit
Choice b
Value
Choice c
Checked
Choice d
Selected
Choice b
Choice c
Choice d
Only I is correct.
Choice b
Only II is correct.
Choice c
Choice d
[12] Which of the following keyword is used with an event to make the event
available to callers at any time, even if no instance of the class exists?
Choice a
Choice b
public
static
Choice c
virtual
Choice d
abstract
[13] Which WebForm Validator control will you use if you want to ascertain whether
the values in two different WebForm controls are same or not?
Choice a
Choice b
CheckValidator Control
CompareValidator Control
Choice c
RangeValidater Control
Choice d
RequiredFieldValidator Control
Only I is correct.
Choice b
Only II is correct.
Choice c
Choice d
Only I is correct.
Choice b
Only II is correct.
Choice c
Choice d
[16] Which of the following models correctly represents the scenario given below?
- Connect to database server
- Process data
- Close connection
Choice a
Choice b
Choice c
Choice d
Disconnected model
Connected model
ODBC model
Data Access Object model
[18] Malicious user input can be used to launch the attacks named
Choice a
Choice b
SQL Virus
SQL Injection
Choice c
SQL Injuries
Choice d
SQL Damage
[19] What one of the following keyword is used in connection string for attaching to
a file?
Choice a
Choice b
DBFile
AttachDBFilename
Choice c
DBFilename
Choice d
DBFilename=<filename>
[20] Which of the following method is used in data binding expression syntax when
data can be modified?
Choice a
Choice b
Choice c
Choice d
Eval
Bind
Bind or Eval
None of the above
[21] What are the types of server controls that participate in declarative data
binding model?
Choice a
Choice b
Choice c
Choice d
[22] Which control allows you to edit, delete, and insert records?
Choice a
GridView
Choice b
FormView
Choice c
Choice d
DetailsView
TagView
Choice c
paradigm.
[24] Which of the following statements are correct about the C#.NET code snippet
given below?
sample c ;
c = new sample( ) ;
Choice a
Choice b
Choice c
Choice d
It will create an object of the type sample either on the heap or on the
stack depending on the size of the object.
[25] Which of the following control searches the current naming container for the
specified server control?
Choice a
Choice b
GetType
FindControl
Choice c
GetHashCode
Choice d
GetControl
Choice b
Date, Decimal
Choice c
Choice d
String, Decimal
Choice a
Choice b
Choice c
Choice d
[28] Suppose multiple clients access multiple business components which in turn
access or modify the data stored in different databases. Which of the following
application type perfectly models this scenario?
Choice a
N-Tier Application
Choice b
Choice c
Choice d
Inherits
Choice b
extends
Choice c
Choice d
sealed
NotInheritable
[30] Which of the following is the correct syntax for HTML Image Control?
Choice a
<img id="programmaticID" alt="alttext" align= top border="borderwidth"
height="imageheight" src="imageURL" width="imagewidth"
runat="server" >
Choice b
<img id:"programmaticID" alt:"alttext" align: top border:"borderwidth"
height:"imageheight" src:"imageURL" width:"imagewidth" runat:"server" >
Choice c
<img id"programmaticID" alt"alttext" align top border"borderwidth"
height"imageheight" src"imageURL" width"imagewidth" runat"server" >
Choice d
<img id="programmaticID" alt="alttext" align= top border="borderwidth"
height="imageheight" src="imageURL" width="imagewidth" runat="server"
></img>