Sunteți pe pagina 1din 5

1) How can you make an e-mail link?

<mail> xxx@yyy</mail>
<a href="xxx@yyy">
<mail href="xxx@yyy">
<a href="mailto:xxx@yyy">

2) A script in HTML is defined with the <pagescript> tag.
True
False

3) ________ is used to select inline text and let users to apply styles
to it
<Iframe select>
SPAN
<embed>

4) What attribute is added to the <img> tag when creating a client-
side imagemap?
MAP
USEMAP
IMGMAP
None of the above

5) How do you insert a comment in a CSS file?
// this is a comment //
this is a comment
// this is a comment
/* this is a comment */

6) Which CSS property controls the text size?
font-style
text-size
text-style
font-size

7) What is the correct HTML for referring to an external style sheet?
<style src="mystyle.css">
<link rel="stylesheet" type="text/css" href="mystyle.css" target="_newcdswin">
<stylesheet>mystyle.css</stylesheet>
None of the above

8) In CSS, A:link defines the style for ?
normal unvisited links
active links
visited links
None of the above

9) Comment in XML document is given by
<?-- -->
<!-- --!>
<!-- -->
</-- -- >

10) To match the text node (in XSLT) the syntax will be
<xsl:template match= text>
<xsl:template match-text= text>
<xsl:template match=text( )>
<xsl:template match= text( ) >

11) The syntax for writing default values for element using XML
schema is
<xsd:element name=max type= xsd:integer value= 100 />
<xsd:element name=max type= xsd:integer fixValue= 100 />
<xsd:element name=max type= xsd:integer default= 100 />
<xsd:element name=max type= xsd:integer defaultval= 100 />

12) Which of the following in DTD specify that the order and content
of "membership" is not important?
<!ELEMENT membership NORULE>
<!ELEMENT membership EMPTY>
<!ELEMENT membership ALL>
<!ELEMENT membership ANY>

13) Can you write a class without specifying namespace? Which
namespace does it belong to by default?
NO
YES, System namespace
Yes, Default namespace (no name)
none

14) What is the maximum number of controls that can be placed in a
form?
Infinite
125
256
512

15) What technology enables out-of-proc communication in .NET?
WebService
Remoting
Assemblies
None



16) How to bind a array to a DataGridView control in windows form
Dim arr() As String = _{"Product 1", "Product 24", "Product 356"}DataGridView1.DataSource = arr
Dim arr() As String = _{"Product 1", "Product 24", "Product 356"}DataGridView1.DataSource.ArrayBind = arr
Dim arr() As String = _{"Product 1", "Product 24", "Product 356"}DataGridView1.DataSource(Array()) = arr
None

17) What is the smallest unit of execution in .NET?
Class
Namespace
Assembly
Object

18) What are the contents of assembly?
Manifest
Metadata
MSIL code
All of the above

19) How many classes can a single .NET DLL contain?

Not more than One
Not less than Two
Three
As many as required

20) What are the contents of assembly?

Manifest
Metadata
MSIL code
None of the above

21) Which of the following sets are valid .Net authentication
methods?
Windows, Forms, Control, None/Custom Authentication.
Windows, Forms, Passport, None/Custom Authentication
Windows, Frame, Control, SQL Server Authentication.
Windows, Forms, Passport, WebLog Authentication






22) When garbage collection occurs, where does the garbage
collector put objects that have implemented finalize methods?
Unmanaged heap
Managed heap
The destroy queue
Object termination list

23) _______ is the core component of the disconnected architecture
of ADO.NET

.NET Data Provider
DataSet

24) CLR Provides ____________Service
Root node
Garbage Collector
Dotnetfile
Baseclass

25) DataSet.Clone() method is used to copy the schema as well as
data both.
True
False

26) DataTable.ReadXmlSchema() method is available in .Net
Framework 2.0.
True
False

27) Data Reader returns a forward-only, read only view of data
True
False

28) What are the key differences between an ADO.NET Dataset and
an ADO Recordset?

DataSet can represent an entire relational database in memory, complete with tables, relations, and views
DataSet has different cursor types
DataSets have no current record pointer You can use For Each loops to move through the data
You can store many edits in a DataSet, and write them to the original data source in a single operation

29) What kind of control is the DataGrid?
HTML Control
User Control
Server Control
Custom Control
30) Which one of the following objects is used to create a foreign
key between two Data Tables?
DataRelation
DataRelationship
DataConstraint
DataKey

31) Which of these objects CANNOT be used to provide forward-only,
read-only access?
DataSet
Data Reader
Data View
None of the Above

32) Which one of the following is not a method of the Connection
object?
Start
Open
Close
Begin Transaction

33) The methods of the command object used to execute a
query/stored procedure are
ExecutScalar
ExecuteNonQuery
ExecuteDataset
ExecuteReader

34) Which is the correct statement to set the alias name for
namespace in C
using System Data.OracleClient = aliasName;
using aliasName = System.Data.OracleClient;
string aliasName = using.System.Data.OracleClient;
Both a & b

35) ExecuteXmlReader method is only available for the ______
object
sqlCommand
OleDbCommand

36) When sqlDataReader is in use, the associated SqlConnection is
busy serving the SqlDataReader
True
False

37) Single .NET dll can contain unlimited classes
True
False


38) Static method cannot be overridden
True
False

39) If cookies is disabled in client browser, session tracking will
work
True
False

40) Cookie cannot contain Data of more than 4kb.
True
False

41) The methods in C# can be overloaded in which of the following
ways
By having the same method name and specifying different number of parameters
By giving different method names and same number of parameters
By having the same method name and specifying different types of parameters
By giving different method names and same types of parameters

42) Which of the following statements is correct for disadvantages
of cookies?
It has limited size.
No security
server resources
All

43) Which two directives on the page is required for enabling page
caching?
duration and varybyparam
outputcache and duration
varybyparam and outputCache
varybycontrol and TimeOut

44) The event handlers that can be included in the Global.asax file
are
Application Start and
Session Start event handlers only
Application End and
Session End event handlers only
Per-request and Non-deterministic event handlers only

S-ar putea să vă placă și