Dotnet Summative
Dotnet Summative
1&2&3 1&3&4
SQL Server 2008 Security model is
based on three categories that
separate the basic elements of
security, which among the following
are those?_x000D_
1.Principals_x000D_
2.Constraints_x000D_
3.Securables_x000D_
4.Permissions
1&2&3 2&3&4
Which statements are true about
Principals?_x000D_
1.Principals are entities that can
configure SQL Server
permissions_x000D_
2.Principals are entities that can
request SQL Server resources_x000D_
3.Principals can be arranged in a
hierarchy_x000D_
4.The scope of influence of a principal
depends on the scope of the
definition of the principal_x000D_
5.The scope of influence of a principal
depends on the size of the database
Choose the different classes which the 1&4 2&3&4
SQL Server divides principals into?
_x000D_
1.Windows-level principal_x000D_
2.Field-level principal_x000D_
3.Database-level principal_x000D_
4.SQL Server-level principal
2&4 2&3
Which are the different types of
Windows-level principals?_x000D_
1.Windows Authorization_x000D_
2.Windows domain login_x000D_
3.Windows database login_x000D_
4.Windows local login
1&4&5 2&3&5
How are Database-level principals
categorized?_x000D_
1.Database administrator_x000D_
2.Database User_x000D_
3.Database Role_x000D_
4.Windows Role_x000D_
5.Application Role
1&3&4 2&4
Which among the following are
different Securable scopes?_x000D_
1.Server_x000D_
2.Client_x000D_
3.Database_x000D_
4.Schema
Which of the securables are 1&2&3 3&4&5
contained in the Database scope?
_x000D_
1.Login_x000D_
2.User_x000D_
3.Role_x000D_
4.Assembly_x000D_
5.End Point
2&4&5 1&3&4
1&2&3&4 1&3&5
Which all are the options of ON
DELETE clause of a FOREIGN KEY
constraint?_x000D_
1.CLOSE_x000D_
2.NO ACTION_x000D_
3.CASCADE_x000D_
4.SET NULL_x000D_
5.SET DEFAULT
What all expressions are used to 2&3&4 1&4
create a computed column?_x000D_
1.subquery_x000D_
2.non computed column
name_x000D_
3.Constant_x000D_
4.Function
3&5 1&4
What are the restrictions a sub-query
is subjected to?_x000D_
1.If the WHERE clause of an outer
query includes a column name, it
cannot be join-compatible with the
column in the subquery select
list_x000D_
2.If the WHERE clause of an outer
query includes a column name, it
must be join-compatible with the
column in the subquery select
list_x000D_
3.The DISTINCT keyword cannot be
used with subqueries that include
GROUP BY_x000D_
4.The DISTINCT keyword cannot be
used with subqueries that include
ORDER BY_x000D_
5.ORDER BY can only be specified
when TOP is also specified
What all components can a subquery 1&2&4 1&2&5
nested in the outer SELECT statement
have?_x000D_
1.A regular SELECT query including the
regular select list
components_x000D_
2.A regular FROM clause including one
or more table or view names_x000D_
3.A mandatory WHERE clause_x000D_
4.A mandatory GROUP BY
clause_x000D_
5.A optional HAVING clause
2&5 1&3
1&2 2&3
Which statements are true about
default constraint?_x000D_
1.A Default definition is used to add
the values into the columns when
values are omitted._x000D_
2.The default values must be
compatible with the data type of the
column to which the default
applies._x000D_
3.The default values must be non
compatible with the data type of the
column to which the default
applies._x000D_
4.A Default definition is used to add
the values into the columns when
values are not omitted.
The INNER JOIN The INNER JOIN
keyword return rows keyword return
when there is at least all rows.
one match in both
tables.
Which statements are true about
inner joins?
SELECT * FROM SELECT (list of
table_name WHERE columns ) FROM
(search-condition) table_name
GROUP BY (group by WHERE (search-
expression) condition)
HAVING(condition) HAVING(condition
ORDER BY ) GROUP BY
(ASC/DESC) (group by
expression)
ORDER BY
(ASC/DESC)
Which one is the correct query
regarding SQL –select Statements?
Sort query result by Specifies a search
one or more columns condition for the
group by column
1&3&4 2&3
Which statements are true about a
multistatement scalar function?
_x000D_
1.There is no function body_x000D_
2.The function body defined in
BEGIN…END block contains a series of
T-SQL statements _x000D_
3.The scalar value is a result of a single
statement_x000D_
4.The scalar value is a result of all the
statements in the BEGIN…END block
1&2&4 2&4
I & II I, II & IV
Which of the following are valid .NET
CLR JIT performance counters?
_x000D_
_x000D_
I: Total memory used for JIT
compilation _x000D_
_x000D_
II: Average memory used for JIT
compilation _x000D_
_x000D_
III: Number of methods that failed to
compile with the standard JIT
_x000D_
_x000D_
IV: Percentage of processor time
spent performing JIT compilation
_x000D_
_x000D_
V: Percentage of memory currently
dedicated for JIT compilation _x000D_
_x000D_
.NET class libraries Common
Which of the following components of Language Runtime
the .NET framework provide an
extensible set of classes that can be
used by any .NET compliant
programming language?
Common Language CLR
Which of the following .NET Infrastructure
components can be used to remove
unused references from the managed
heap?
1&2&5 2&3
Which of the following constitutes the
.NET Framework?_x000D_
1.ASP.NET Applications _x000D_
2.CLR_x000D_
3.Frame Work Class Library_x000D_
4.WinForm Applications_x000D_
5.Windows Services
Which of the following assemblies can Private Assemblies Friend Assemblies
be stored in Global Assembly Cache?
Code that targets the Common Unmanaged Distributed
Language Runtime is known as:
Which of the following statements is .NET Framework uses .NET Framework is
correct about the .NET Framework? DCOM for achieving built on the DCOM
language technology.
interoperability.
What are your observations on the while loop will get while loop will
following code?_x000D_ executed 2 times never get
int choice=3;_x000D_ executed
while (choice == 2) ;_x000D_
MessageBox.Show("Entered");
Which of the following statements is Class is a value type. Since objects are
correct about classes and objects in typically big in
C#.NET? size, they are
created on the
stack.
Which of the following statements are 1&3&4 2&3
correct?_x000D_
1.Instance members of a class can be
accessed only through an object of
that class._x000D_
2.A class can contain only instance
data and instance member
function._x000D_
3.All objects created from a class will
occupy equal number of bytes in
memory._x000D_
4.A class is a blueprint or a template
according to which objects are
created.
1&3&4 2&4
Which of the following can implement
an interface?_x000D_
1.Data_x000D_
2.Class_x000D_
3.Enum_x000D_
4.Structure_x000D_
Console.WriteLine(g.Field);_x000D_
}_x000D_
}
1&3 1&4
catch(IndexOutOfRangeException
e)_x000D_
{_x000D_
Console.Write("Index out of
bounds ");_x000D_
}_x000D_
Console.Write("Remaining
program");_x000D_
}_x000D_
}_x000D_
}Which of the following statements are 2&4 1&3
correct about exception handling in
C#.NET?_x000D_
1.If an exception occurs then the
program terminates abruptly without
getting any chance to recover from
the exception._x000D_
2.No matter whether an exception
occurs or not, the statements in the
finally clause (if present) will get
executed._x000D_
3.A program can contain multiple
finally clauses._x000D_
4.finally clause is used to perform
clean up operations like closing the
network/database connections.
Which of the following statements are 2&4 1&3
correct about exception handling in
C#.NET?_x000D_
1.If our program does not catch an
exception then the .NET CLR catches
it._x000D_
2.It is possible to create user-defined
exceptions._x000D_
3.All types of exceptions can be
caught using the Exception
class._x000D_
4.CLRExceptions is the base class for
all exception classes.
Which of the following statements is It will output: Index It will output: Bad
correct about the C#.NET program out of bounds Format Remaining
given below if a value "6" is input to Remaining program program
it? using System;_x000D_
namespace
IndiabixConsoleApplication_x000D_
{_x000D_
class MyProgram_x000D_
{_x000D_
static void Main(string[]
args)_x000D_
{_x000D_
int index; _x000D_
int val = 44;_x000D_
int[] a = new int[5];_x000D_
try_x000D_
{_x000D_
Console.Write("Enter a
number:");_x000D_
index =
Convert.Tolnt32(Console.ReadLine());
_x000D_
a[index] = val;_x000D_
}_x000D_
catch(FormatException
e)_x000D_
{_x000D_
Console.Write("Bad
Format");_x000D_
}_x000D_
Which of the following statements are 1&2&3 3&4
correct about exception handling in
C#.NET? _x000D_
1.try blocks cannot be
nested._x000D_
2.In one function, there can be only
one try block._x000D_
3.All values set up in the exception
object are available in the catch
block._x000D_
4.While throwing a user-defined
exception multiple values can be set
in the exception object.
Which of the following statements is It will output: It will output:
correct about the C#.NET program Exception occurred Remaining
given below if a value "ABCD" is input program
to it? using System;_x000D_
namespace
IndiabixConsoleApplication_x000D_
{_x000D_
class MyProgram_x000D_
{_x000D_
static void Main(string[]
args)_x000D_
{_x000D_
int index; _x000D_
int vat = 88;_x000D_
int[] a = new int(5];_x000D_
try_x000D_
{_x000D_
Console.Write("Enter a
number: ");_x000D_
index =
Convert.Toint32(Console.ReadLine());
_x000D_
a[index] = val;_x000D_
}_x000D_
catch(Exception e)_x000D_
{_x000D_
Console.Write("Exception
occurred");_x000D_
}_x000D_
Which Console.Write("Remaining
of the following statements is Delegates are Delegates are
incorrect about delegate? reference types. object oriented.
In which of the following areas are I & II I&V
delegates commonly used? _x000D_
_x000D_
I: Remoting_x000D_
II: Serialization_x000D_
III: File Input/Output_x000D_
IV: Multithreading_x000D_
V: Event handling
order.Field<int>("SalesOrderID"),_x00
0D_
SalesOrderDetailID =_x000D_
detail.Field<int>("SalesOrderDetailID")
,_x000D_
OrderDate =_x000D_
order.Field<DateTime>("OrderDate"),
_x000D_
ProductID =_x000D_
detail.Field<int>("ProductID")_x000D_
};_x000D_
_x000D_
1.Following code is an example of
single table query using LINQ_x000D_
2.Following code is an example of
multiple table query using
LINQ_x000D_
3.AsEnumerable method of
DataTables is called_x000D_
4.AsEnumerable method of DataSets
is called
2&3 1&4
ControlToValidate="txtPhoneNumber"
_x000D_
ErrorMessage="Enter a valid
Phone number with area
code"_x000D_
ValidationExpression="\d{4}(-\
d{8})?">_x000D_
</asp:RegularExpressionValidator>
What does the following code Usage of Usage of
denote?_x000D_ RequiredFieldValidat RangeValidator
<table>_x000D_ or
<tr>_x000D_
<td>_x000D_
<asp:Textbox id="txtAge"
runat="server"></asp:Textbox>_x000
D_
</td>_x000D_
<td>_x000D_
<asp:CompareValidator
id="CompareFieldValidator1"
runat="server"_x000D_
ForeColor="Blue"_x000D_
ControlToValidate="txtAge"_x000D_
ValueToCompare="0"_x000D_
Type="Integer"_x000D_
Operator="GreaterThanEqual"_x000D
_
ErrorMessage="Please enter a
whole number zero or
greater.">_x000D_
</asp:CompareValidator >_x000D_
</td>_x000D_
</tr>_x000D_
</table>
denote?_x000D_ Usage of Usage of
<asp:Textbox id="txtFirstName" RequiredFieldValidat RangeValidator
runat="server"></asp:Textbox>_x000 or
D_
<asp:RequiredFieldValidator
id="RequiredFieldValidator1"
runat="server"_x000D_
ControlToValidate="txtFirstName"_x0
00D_
ErrorMessage="First name is a
required field."_x000D_
ForeColor="Blue">_x000D_
</
asp:RequiredFieldValidator>_x000D_
Which statements are true about 1&2&3 1&3&4
themes?_x000D_
1.Themes enable you to apply
consistent style to pages in your
website_x000D_
2.Themes can be used to control
navigation order between
pages_x000D_
3.Themes can be used to control the
appearance of HTML
elements_x000D_
4.Themes can be used to control the
appearance of ASP.NET controls
How are themes different from Themes allow you to Themes allow you
master pages? share content across to control the
multiple pages in a appearance of
web site contents
How can you expose properties & By declaring them as By declaring them
methods from a Master Page so that protected as private
they are modifiable from a particular
content page?
What are the similarities between 2&4 1&2&3
UserControl class & Page class?
_x000D_
1.Both derive from the base
TemplateControl class _x000D_
2.Both derive from the base Control
class _x000D_
3.Both share same property, methods
& events_x000D_
4.Both share same interfaces
How do you make the events raised By raising the events By writing a
by child controls in a user control of each child control delegate in the
available to the host page? host page
2&3&4 1&3&4
What statements are applicable to
Panel control?_x000D_
1.It can be used as a container to
other controls_x000D_
2.It is rendered as an HTML <span>
element_x000D_
3.It is rendered as an HTML <div>
element_x000D_
4.It displays a link to another page
1&3 2&4
Identify the statements that are
applicable to the Literal
control._x000D_
1.Literal control does not support
CssClass_x000D_
2.Literal control does not support
BackColor_x000D_
3.Contents of a Literal control are
contained in a <span> tag_x000D_
4.Contents of a Literal control are not
contained in a <span> tag
1&4 1&2&5
Which are the different values that
TextMode property of a TextBox
control can have?_x000D_
1.ReadOnly_x000D_
2.SingleLine_x000D_
3.MultiLine_x000D_
4.AutoFill_x000D_
5.Password
Check event is raised Check event is
at the client side raised on the
server
What happens when a Check box is
checked or unchecked by the user?
1&2&5 3&4&5
Which controls can be used to submit
form data to the server?_x000D_
1.CheckBox_x000D_
2.Button_x000D_
3.Image_x000D_
4.ImageButton_x000D_
5.LinkButton
1&3&4 2&3
How is the issue of DLL Hell taken care Through versioning Through COM
of in ASP.NET? of .NET assemblies interop
How is POST different from GET? POST does not send POST sends
any information information
back to the server embedded in the
URL
1&4 3&4
What are the different parts of an
ASP.NET web page?_x000D_
1.An aspx page consisting UI elements
(file name with
extension .aspx)_x000D_
2.A code behind file consisting of
corresponding code (file name with
same name as the aspx page & having
an extension .cs)_x000D_
3.A configuration file with .config
extension_x000D_
4.A resource file with .resx extension
Request Response
Which class enables ASP.NET to read
the HTTP values sent by a client during
a Web request?
Request Response
Which class encapsulates HTTP-
response information from an
ASP.NET operation?
1&2 3&4
How can you display dates with By modifying the By modifying the
language specific month names? Culture property UICulture
property
What does the following culture name It denotes that the It denotes that the
denote: en-GB? language is English & language is English
Country is United & Country is
Kingdom United States
1&2&3 1&2
type=”System.Web.Security.SqlMemb
ershipProvider”_x000D_
connectionStringName=”MyConnectio
n” />_x000D_
</providers>_x000D_
What steps should be completed if 1&3 1&4
you want to use ASP.NET Membership
with Active Directory Application
Mode?_x000D_
1.Create a SQLServer instance and
create the required classes_x000D_
2.Create an ADAM instance and
create the required classes_x000D_
3.Configure your application to use
the
ActiveDirectoryMembershipProvider
and connect to the ADAM
instance_x000D_
4.Configure your application to use
the SqlMembershipProvider and
connect to the ADAM instance
What does the following code snippet It shows how the It shows how the
denote?_x000D_ config file is config file is
<configuration>_x000D_ configured to use configured to use
<system.web>_x000D_ membership membership
<authentication mode=”Forms” information from the information from
/>_x000D_ default SQL Server a database other
<membership database than the default
defaultProvider=”OwnMembershipPr SQL Server
ovider”>_x000D_ database
<providers>_x000D_
_x000D_
<add_x000D_
name=”OwnMembershipProvider”_x0
00D_
type=”MembershipProvider.XmlOwn
MembershipProvider” _x000D_
dataFile=”~/App_Data/OwnMembers
hip.xml”_x000D_
requiresQuestionAndAnswer=”false”_
x000D_
enablePasswordRetrieval=”true”_x00
0D_
enablePasswordReset=”true”_x000D_
passwordFormat=”Clear”
Which Membership provider 1&3&4 2&4&5
attributes can be set to determine the
password policy?_x000D_
1.minRequiredPasswordLength_x000
D_
2.maxRequiredPasswordLength_x000
D_
3.minRequiredAlphanumericCharacter
s_x000D_
4.minRequiredNonalphanumericChara
cters_x000D_
5.passwordStrengthRegularExpression
_x000D_
provided by ASP.NET framework?
_x000D_ 2&3 1&4
1.SqlRoleProvider_x000D_
2.ActiveDirectoryRoleProvider_x000D
_
3.WindowsTokenRoleProvider_x000D
_
4.AuthorizationStoreRoleProvide
Enables you to use Enables you to use
ActiveDirectory to Microsoft
represent role Windows groups
information to represent role
information
What does
WindowsTokenRoleProvider do?
What does Enables you to use Enables you to use
AuthorizationStoreRoleProvider do? ActiveDirectory to Microsoft
represent role Windows groups
information to represent role
information
What does the following culture name It denotes that the It denotes that the
denote: en-GB? language is English & language is English
Country is United & Country is
Kingdom United States
How do you set the Culture or By setting the values By calling the
UICulture properties once for the in web.config GetCultures
entire application instead of each method of the
page? CultureInfo class
What does the following code snippet 2&4 1&3&4
denote?_x000D_
<%@ Page Language=”C#”
Culture=”en-GB” UICulture=”en-GB”
%>_x000D_
1.How to set the Culture property
manually_x000D_
2.How to set the Culture property
dynamically_x000D_
3.How to set the UICulture property
manually_x000D_
4.How to set the UICulture property
dynamically
T F
Culture & UICulture properties of a
page class can have different culture
values. State True or False.
What is the effect on the currency Currency symbol is Currency values
amount values by setting the Culture automatically placed are automatically
information? converted
How can you display dates with By modifying the By modifying the
language specific month names? Culture property UICulture
property
How does SOAP enable creation & 1&2&3 1&3&4
usage of Web services?_x000D_
1.Enables messaging over
HTTP_x000D_
2.Uses proprietary means of
describing data_x000D_
3.Uses standard means of describing
data_x000D_
4.Provides a robust mechanism to
send data & structure over the web
Which statements are applicable to
Web services?_x000D_ 1&2&4 1&3&4
1.Web services are built on
DCOM_x000D_
2.The data transfer is XML
based_x000D_
3.The communication protocol most
often used for Web services is
SOAP_x000D_
4.The information is passed back &
forth through TCP/IP_x000D_
5.The information is passed back &
forth through HTTP
It is an example of a It is an example of
What does the following code remoting client a web method of
denote?_x000D_ an aspx page
public class Sample_x000D_
{_x000D_
[WebMethod]_x000D_
public string
CompanyName()_x000D_
{_x000D_
return "Cognizant";_x000D_
}_x000D_
}
How is a web service different from an 1&2&4&5 2&3&4
aspx page?_x000D_
1.A web service runs on the
server_x000D_
2.A web service is based on XML data
transfer_x000D_
3.A web service file extension
is .asmx_x000D_
4.Methods of a web service are
tagged as web methods_x000D_
5.A web service is same as an aspx
page
System.Web.UI.Page System.Web.UI.Co
ntrol
What is a web service class derived
from?
2&4 1&2&3
1&2&4 3&4&5
Which are the different elements of a
WSDL?_x000D_
1.types_x000D_
2.enumerators_x000D_
3.message_x000D_
4.portType_x000D_
5.binding
1&4 2&3
What happens when a web service is
created on the server?_x000D_
1..NET framework creates a WSDL
proxy on the server hosting the
service_x000D_
2..NET framework creates a WSDL file
on the server hosting the
service_x000D_
3.WSDL describes the web service
interface_x000D_
4.Web service proxies are
automatically created on client
computers
A WSDL proxy is .NET framework
created on the client creates a WSDL
that consumes the file on the server
web service hosting the
What happens when a web service is service
consumed by a client?
1&2&3&4 3&5
Which all statements are true about
SOAP Header element?_x000D_
1.SOAP Header element contains
verbose description of a
message_x000D_
2.The SOAP Header element contains
application-specific information, like
authentication, payment, etc, about
the SOAP message_x000D_
3.SOAP Header is optional_x000D_
4.SOAP Header is mandatory_x000D_
5.SOAP Header element must be the
first child element of the Envelope
element
How do you create a Client proxy class wsdl wsdl
in C# for XML web service using the http://hostServer/W http://hostServer/
wsdl tool? ebserviceRoot/WebS WebserviceRoot/
erviceName.asmx WebServiceName.
asmx?WSDL
1&2&3 3&4
Which statements are true when a
web method returns a dataset?
_x000D_
1.The web method can be used in
Windows clients_x000D_
2.The web method can be used in
Web applications_x000D_
3.The web method can be used in Java
applications_x000D_
4.The web method cannot be used
directly in Java applications
It contains the It consists of the
classes needed to classes that
describe a Web enable Web
Service Service consumers
to locate available
Web Services
1&3 1&2&4
Which are the triggers supported by
UpdatePanel control?_x000D_
1.AsyncTrigger_x000D_
2.AsyncPostBackTrigger_x000D_
3.PostBack_x000D_
4.PostBackTrigger
By using By using
How do you control refresh of only a AsyncTrigger AsyncPostBackTrig
certain portion of the page during an ger
asynchronous postback?
RegisterArrayDeclara RegisterClientScri
Which method enables you to add an tion ptBlock
inline JavaScript right after the
opening <form> tag?
RegisterArrayDeclara RegisterClientScri
Which method enables you to add a tion ptBlock
reference to a JavaScript file
embedded in an assembly?
How can you explicitly abort a By using By using
previous asynchronous postback? PageRequestManage PageRequestMana
r abortPostBack() ger
method abortAsyncPostBa
ck() method
ScriptManager UpdatePanel
Which control lets you display a control control
progress indicator while an
UpdatePanel is updating its content?
What does the TargetControlID It contains the ID of It contains the ID
property of the DragPanel extender the Panel control on of the Panel
control contain? which the other control to drag
control will be
dragged
How do you concatenate two strings? Using the & operator Using the +
operator
Which of the following are 1&2&4&5 1&2&3
comparison operators?_x000D_
1.==_x000D_
2.!_x000D_
3.!=_x000D_
4.>_x000D_
5.<=
What is the correct syntax for a repeat for ([initial for (initial
loop? optional values, if any, are expression]; expression;
mentioned in [] brackets. [condition]; [update condition; [update
expression]) expression])
{_x000D_ {_x000D_
statement[s] inside statement[s]
loop_x000D_ inside
} loop_x000D_
}
What are your observations on the 1&2&4 2&3
following code?_x000D_
<html>_x000D_
<head>_x000D_
<script
language=”JavaScript”>_x000D_
function showMsg(msg) {_x000D_
alert(“Following message was sent: “
+ msg)_x000D_
}_x000D_
</SCRIPT>_x000D_
</head>_x000D_
<body>_x000D_
<form>_x000D_
<input type=”button” value=”Click
to Vote”_x000D_
onClick=”showMsg (‘I want world
peace’)”>_x000D_
</form>_x000D_
</body>_x000D_
</html>_x000D_
1.A function is called from an
assembly_x000D_
2.A function is called from an event
handler_x000D_
3.A parameter is passed to the
function_x000D_
4.The function returns a string value
What will be the output of the Tracy Flynn Owns a John Brown Owns
following code?_x000D_ Audi_x000D_ a BMW_x000D_
<html>_x000D_ John Brown Owns a Tracy Flynn Owns
<head>_x000D_ BMW a Audi
<script
language=”Javascript”>_x000D_
var personName = “John
Brown”_x000D_
var carName = “BMW”_x000D_
function demo() {_x000D_
var personName = “Tracy
Flynn”_x000D_
var carName="Audi"_x000D_
_x000D_
document.write(personName + “
Owns a “ + carName + “.”)_x000D_
}_x000D_
</script>_x000D_
</head>_x000D_
_x000D_
<body>_x000D_
<script
language=”Javascript”>_x000D_
demo() // runs as document
loads_x000D_
document.write(personName + “
Owns a “ + carName + “.”)_x000D_
</script>_x000D_
</body>_x000D_
</html>
What does the following code snippet 2&3&5 1&2&4&5
do? _x000D_
_x000D_
var form =
window.document.forms[0]_x000D_
for (var i = 0; i < form.elements.length;
i++) {_x000D_
if (form.elements[i].type == “text”)
{_x000D_
form.elements[i].value = “--- Please
Enter Text ---”_x000D_
}_x000D_
}_x000D_
1.The following code refers to all the
elements in a Form _x000D_
2.The following code refers to only the
the first element in a Form _x000D_
3.The following code refers to all the
elements of all the forms in a
document_x000D_
4.The following code changes the text
property of all the text elements in
the first form of the
document_x000D_
5.The following code changes the text
property of all the text elements in all
the forms of the document
What does the following code snippet It styles all the It styles all the
do?_x000D_ elements with the elements with the
[title]_x000D_ title attribute title id
{_x000D_
color:blue;_x000D_
}
How can you define an image with Using <image> tag Using <object> tag
clickable areas?
How can you play a background sound Using <sound> tag Using <bgsound>
when the page loads? tag
How can you play a background sound Using <sound> tag Using <bgsound>
when the page loads? tag
What happens if none of the <input> None of the radio Last radio button
elements of a set of radio buttons is buttons are checked is checked by
set to CHECKED? default
Which all of the following can be 1&3&4 2&4&5
categorized as Form control types
supported by HTML?_x000D_
1.buttons_x000D_
2.Forms_x000D_
3.Menus_x000D_
4.hidden controls_x000D_
5.Image
1&3 1&3&4 0 0 0 1
1&2&4 only 2 1 0 0 0
1&2&3&5 2&5 1&2&5 0 1 0 0
1&2&4 3&4 1 0 0 0
1&3 1&3&4 0 0 1 0
2&4 1&2&4 1 0 0 0
2&4&5 1&2&5 1&3&5 0 0 0 0
1&3&4 3&4 0 1 0 0
1&2&3 only 4 1 0 0 0
1&2 3&4 0 0 1 0
2&4 1&2&3 0 0 1 0
3&4 1&2 1 0 0 0
1&2&3 only 4 2&5 0 0 0 0
3&4 1&2 1 0 0 0
2&3 1&4 0 0 1 0
1&4 2&3 0 0 0 1
2&3 1&2&3 1 0 0 0
2&3 1&4&5 2&3&5 0 0 0 0
1&2&4 1&3 0 0 0 1
3&5 1&3&4 2&3 0 1 0 0
2&3 3&4 0 0 1 0
1&2&4 1&3 1 0 0 0
2&4 3&4 0 0 1 0
1&2&4 1&2&5 2&3&5 0 0 0 0
2&3 2&4 0 1 0 0
3&4&5 3&4 1&5 0 0 0 1
3&4 1&2&3 0 1 0 0
3&4 1&2 1 0 0 0
2&4 1&2 0 0 1 0
1&2&4 1&4 0 0 0 1
1&3 1&2 0 0 1 0
2&3&4 1&4 0 1 0 0
3&4 1&4 1 0 0 0
3&4 1&3&4 0 1 0 0
2&3&4 only 1 1 0 0 0
3&4 1&2 1 0 0 0
1&2&3&4 1&2&4 0 0 0 1
1&3 3&4 0 1 0 0
1&3 2&4 1 0 0 0
1&3&4 1&4 0 0 1 0
1&2&3 1&3 0 0 0 1
2&4 1&5 1&3&5 0 0 0 0
1&2&4 3&4 0 1 0 0
1&4 1&3 0 0 0 1
1&2&3 2&3 0 0 0 1
2&3 1&2 1&2&4 0 0 0 0
3&4 2&4 1 0 0 0
2&3&4 1&3&4&5 1&2&4 0 0 0 1
&5
1&2&3 2&4 1 0 0 0
3&4 1&3&4 0 0 0 1
1&3 3&4 0 0 1 0
1&4 2&4 0 0 1 0
1&2 3&4 0 1 0 0
1&3&4 1&4 0 0 0 1
1&2&3 3&4 1 0 0 0
1&3&4 2&3&4 1 0 0 0
3&4&5 1&4 1&3&5 0 0 0 0
1&3&4 2&4 1 0 0 0
2&3&5 2&4 1&4&5 0 0 1 0
1&3 3&4 0 0 0 1
2&4 3&4&5 1&2&3 0 1 0 0
2&3&4 1&2&3 0 0 0 1
1&3 3&4 1 0 0 0
1&3&4 2&4 0 0 1 0
2&4 2&3&4 0 0 0 1
1&4 2&3&4 2&5 0 1 0 0
1&3 3&4 1 0 0 0
1&3 2&5 1&2&5 0 0 0 0
2&4 1&2&4 0 0 0 1
2&3&4 2&5 1&2 1 0 0 0
1&2&3 2&3 0 1 0 0
3&4 1&4 0 0 0 1
2&4 1&2 1 0 0 0
3&4 2&4 0 0 1 0
3&4 2&3&4 0 1 0 0
1&2 1&3 0 0 0 1
1&3 1&2&4 1 0 0 0
3&4 1&2&3 0 0 1 0
1&4 2&4 0 0 0 1
1&3 3&4 0 0 1 0
3&4 1&4 1 0 0 0
1&3 1&2 0 0 1 0
1&3 1&2 0 1 0 0
2&3 1&4 0 0 1 0
2&3 2&4 1 0 0 0
2&4 2&3 0 0 0 1
1&2&4 only 1 0 1 0 0
1&3 1&2 1 0 0 0
1&2&5 1&3&5 1&2&4 0 0 0 0
&5
1&3 2&4 1 0 0 0
1&4 1&2&4 0 0 0 1
4&5 2&3&4 1&4 0 1 0 0
2&3 1&3 0 0 0 1
1&2&4 3&4 1 0 0 0
1&3&4 2&4 0 0 1 0
1&3 2&3 0 1 0 0
1&3 2&3 1 0 0 0
1&3 2&3 0 0 0 1
3&4 1&4 1 0 0 0
1&3 3&4 0 0 1 0
1&3 1&2&3 0 0 0 1
2&4 1&2 1 0 0 0
1&3 1&2&3 0 0 0 1
3&4 2&3 0 0 1 0
1&3 2&4 0 1 0 0
1&4 2&3 0 0 1 0
1&2 1&3&4 0 0 0 1
2&4 1&2&3 0 1 0 0
1&2&3 2&3&4 0 0 0 1
1&4 2&3&4 0 0 1 0
3&4 1&2&3 1 0 0 0
I, II, III & IV IV & V III & IV 0 0 1 0
System.Base System.Parent 1 0 0 0
2&3&4 1&2 0 0 0 1
switch statement The code is 1 0 0 0
cannot have an correct
integer as an
argument
2&3 1&2 0 0 1 0
1&4 2&3 0 1 0 0
only 1 1&2 only 2 0 0 0 1
1&4 1&3 0 0 0 1
1&2&4 3&4 1 0 0 0
2&3 3&4 0 1 0 0
1&3 3&4 0 0 0 1
1 0 0 0
2&4 1&3 0 0 1 0
Depends upon how Any number of Depend 1 0 0 0
many params values. s upon
arguments does it how
use. many
ref
argume
nts does
it use.
Class Function 0 1 0 0
1&4 2&3 0 1 0 0
3&4 1&4 1 0 0 0
7 11 0 0 0 1
3&4 2&5 1&2&4 0 0 0 0
1&3&4 1&2 0 1 0 0
Conversion of Conversion of 0 1 0 0
integer to enum enum types to
types integer
Conversion of Conversion of 0 0 1 0
integer to enum enum types to
types integer
1&4 2&3 1 0 0 0
1&2&3 2&3&4 0 0 0 1
2&4 2&3 0 0 1 0
2&4 2&3 0 0 0 1
1 0 0 0
1 0 0 0
2&4 1&2&3 0 0 1 0
1 0 0 0
float int 0 0 1 0
1&3 2&4 1 0 0 0
2&5 1&3&5 2&3&4 0 0 0 0
2&3 1&3&4 0 0 0 1
1&2 1&3 0 0 1 0
2&3 1&2 0 1 0 0
Usage of an Indexer Usage of a 0 0 1 0
Method
1&2 2&3&4 1 0 0 0
1&3 2&4 0 0 0 1
1&2&3 2&3&4 0 1 0 0
Private Static 0 1 0 0
Multiplexing Duplexing 1 0 0 0
is a method of a is a property of 0 1 0 0
class class
Creates the class All of the listed 0 1 0 0
form that inherits options
the class Test
Creates the class All of the listed 0 1 0 0
form that inherits options
the class Test
Overloading Overriding 0 1 0 0
2&3 1&4 0 0 1 0
1&3&4 1&2 0 1 0 0
1&3&4 2&4 1 0 0 0
2&4 1&3 0 0 0 1
2&4 1&2&3 0 0 1 0
2&4 1&3 0 1 0 0
3&4 2&3 1 0 0 0
1&4 2&3 0 0 0 1
1&4 2&3 0 0 1 0
1&2&3 1&4 0 1 0 0
1&3&4 2&3 1 0 0 0
1&2 1&2&4 0 0 0 1
0 byte 8 bytes 0 1 0 0
1&2 3&4 0 1 0 0
1&2&3 1&3&4 0 0 0 1
2&3 3&4 0 0 1 0
1&2 3&4 0 1 0 0
1&4 2&4 1 0 0 0
2&3 2&3&4 0 0 0 1
2&4 1&4 0 0 1 0
1&2&4 2&3&4 0 1 0 0
1&2&4 1&3 1 0 0 0
1&2 1&4 0 0 0 1
1&3 2&4 0 0 1 0
1&2&4 3&4 0 1 0 0
A Class that derives A Class that 0 0 1 0
from a Generic type derives from a
Value type
1&2&3 2&3 0 1 0 0
2&4 3&4 0 0 1 0
1&4 2&3 0 1 0 0
1&3&4 1&2 1 0 0 0
1&2&3 1&3&4 0 0 1 0
Run-time Exceptions 1 0 0 0
Polymorphism
Namespace Interface 0 1 0 0
Encapsulation Delegate 0 0 0 1
2&3&4 1&2&3 0 1 0 0
2&3&4 1&3 1 0 0 0
2&4 1&3&4 0 0 0 1
2&3 3&4 0 0 1 0
3&4 1&2&4 0 1 0 0
1&3 3&4 0 0 1 0
Instantiation a new Instantiation a 1 0 0 0
catalog new Sql table
3&4 2&4 0 0 0 1
2&3&4 1&4 0 0 1 0
1&3&4 2&4&5 2&4 0 0 0 0
2&4 3&4 0 0 1 0
2&3 1&3 0 0 0 1
3&4 1&3 0 0 1 0
1&3 2&4 0 1 0 0
1&3&4 1&4 1 0 0 0
3&1 2&4 0 0 0 1
HtmlWriter TextHtmlWriter 0 1 0 0
2&3&4 2&4 0 0 1 0
CompareValidator CustomValidator 1 0 0 0
Usage of Usage of 0 0 1 0
RegularExpressionV CustomValidator
alidator
Usage of Usage of 0 0 0 1
RegularExpressionV ComparisonValid
alidator ator
Usage of Usage of 1 0 0 0
RegularExpressionV CustomValidator
alidator
2&4 3&4 0 1 0 0
1&4 3&4 0 0 1 0
2&3&4 2&4 0 0 0 1
Usage of a Default Usage of a 0 1 0 0
skin stylesheet
By applying a By applying a 0 0 1 0
Theme to a page Theme to a page
with the with the Theme
StyleSheetTheme attribute
attribute
By setting By setting 0 1 0 0
DisableTheming DisableTheming
property to true property to false
1&2 2&3&4 1 0 0 0
Cntrl Src 1 0 0 0
1&3&4 1&2&4 0 1 0 0
Cntrl Src 0 1 0 0
1&4 1&2&3 0 0 1 0
Cntrl Src 0 0 0 1
2&4 1&2&3 1 0 0 0
1&3 1&2 0 0 1 0
1&3&4 1&2&4 0 0 0 1
CheckChanged CheckChanged 0 0 0 1
event is raised at event is raised
the client side on the server
2&3&5 1&3 2&4&5 0 0 0 0
1&4 2&4 0 1 0 0
1&3&4 2&4 0 1 0 0
1&3&4 1&2 1 0 0 0
1&2 2&3 0 0 1 0
HttpRequest HttpResponse 0 0 1 0
HttpRequest HttpResponse 0 0 0 1
1&3 1&2&4 0 0 0 1
1&3 3&4 0 0 1 0
2&3 1&3&4 0 1 0 0
The click event is The click event 0 0 1 0
raised only when calls a web
the page containing service
the button is
posted back to the
server
System.DataSource System.XML 0 1 0 0
1 0 0 0
By checking the By checking the 0 1 0 0
ViewState property event log
1 0 0 0
Application Cookies 0 0 1 0
variables
Application Cookies 0 0 0 1
variables
ASP SGML 0 0 1 0
A network A network 0 0 1 0
application that application that
listens for HTTP connects
requests & multiple servers
responds to the
requests by sending
data to the client
which is usually a
web browser
Customization Culturalization 0 1 0 0
1&4 2&3 1 0 0 0
UICulture Globalize 0 0 1 0
The Culture The Culture 0 1 0 0
property property
determines how determines the
resource files are default culture
used for formatting of the operating
dates, system
numerals,and
currency amounts
1 0 0 0
3&4 1&3&4 0 0 0 1
1&2&4 3&4 0 0 1 0
1&3&4 1&2 0 1 0 0
2&4 1&4 1 0 0 0
1&2&3 2&4 0 0 0 1
2&4 1&3 0 0 1 0
1&3 2&4 0 1 0 0
1&4 2&3 1 0 0 0
1&2 2&3&4 0 0 0 1
1&3 2&3 0 0 1 0
1&2&3 2&3 0 1 0 0
2&3 2&4 0 0 1 0
It shows how the It shows how the 0 0 0 1
config file is config file is
configured to use configured to
membership create a custom
information from membership
the active directory provider
It enables It enables 1 0 0 0
AuthorizationStore ActiveDirectoryR
RoleProvider oleProvider
The configuration The 0 0 1 0
file authorizes configuration file
Accounts & denies authorizes only
access to everyone Accounts
else administrators
IsUserInRole FindUsersInRole 0 0 0 1
1&2&4 2&3 1 0 0 0
3&4 1&2&4 0 0 0 1
1&3 3&4 0 0 1 0
1&3&4 2&4 0 0 1 0
3&4 1&2&3 0 1 0 0
2&3 1&4 1 0 0 0
InitComplete PreLoad 1 0 0 0
InitComplete PreLoad 0 0 0 1
LoadComplete Unload 0 0 1 0
System.Web.UI.We System.Web.UI. 0 0 0 1
bPage Page
2&3 1&2&3 0 0 1 0
It denotes a code- It denotes a 0 1 0 0
behind page header file
It denotes a code- It denotes a 0 0 1 0
behind page header file
1&2 1&3&4 0 1 0 0
Explicitly imports an Explicitly imports 0 0 0 1
ASP.NET master a namespace
page into a page or
user control
2&3 1&3 0 0 0 1
3&4 2&4 1 0 0 0
3&4 1&4 0 0 0 1
UICulture Globalize 0 0 1 0
1 0 0 0
It is an example of a It is an example 0 0 1 0
web method of a of a Windows
web service service
SOAP XML 0 0 1 0
ScriptManager RunScript 0 0 1 0
control control
1&2&3 3&4 0 0 0 1
IsInPartialRendering RenderMode 1 0 0 0
2&3 1&4 0 1 0 0
2&4 3&4 0 0 1 0
RegisterClientScript RegisterClientScr 0 0 0 1
Include iptResource
By using By using 1 0 0 0
PageRequestManag PageRequestMa
er nager
abortPreviousPostB abortPreviousAs
ack() method yncPostBack()
method
UpdateProgress UpdateStatus 0 0 1 0
control control
SlideShow DropShadow 0 1 0 0
JavaScript.js MicrosoftAjax.js 0 0 0 1
MicrosoftAjaxWebF MicrosoftAjax.js 0 0 1 0
orms.js
Hyperlinks Hyperreference 0 0 1 0
1&2&4 3&5 1&2&4 0 0 0 0
&5
<title> <name> 0 0 1 0
1&3&4 1&2&4 0 0 0 1
1&3 2&5 1&2&4 0 0 0 0
2&3&4 3&4 0 0 1 0
3&4 1&3 0 1 0 0
1&2&4 3&4 1 0 0 0
1&3 2&4 0 0 0 1
2&4 2&3 0 0 0 1
1&2&3 2&4 0 1 0 0
1&2 1&3 0 0 0 1
2&3&4&5 1&2&4&5 1&2 0 0 1 0
3&4 1&2&3 0 1 0 0
2&3 2&4 0 0 0 1
1&3&4 2&3 0 0 1 0
1&2&3 2&3 0 0 0 1
1&4 2&3 0 0 1 0
3&4 2&3&4 0 1 0 0
0
0
1
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
1
0
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
1
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
1
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0