Anda di halaman 1dari 16

Set 1

Q. FEATURES of automatic memory management in .Net


(a) Allocating memory
(b) Releasing memory
(c) Implementing finalizers
(d) All of the above


Q. Which of the CLR component allows .net application exchange
data with COM application?
(a) Base class library
(b) COM marshaller
(c) Class loader
(d) Thread support


Q. Limitation of XML serialization
(a) It can't serialize DataSet objects
(b) It doesnt serialize type information
(c) It cant serialize XMLNode object
(d) All of the above


Q. Net remote server object must implement
(a) ISingleCall
(b) ISerializable
(c) IUnknown
(d) IMarshalByValue

Q. Which tool can be used to precompile a window application?
(a) ngen.exe
(b) caspol.exe
(c) caspol.dll
(d) ngen.dll


Q. When does Garbage collector run?
(a) Every one minute
(b) When application is running low of memory

Q. Which of the following is not true for garbage collection?
(a) It manages the reclamation of unused memory
(b) It deals with circular references
(c) You can be certain when an object will be reclaimed by garbage
collector
(d) It disposes unreferenced objects

Q. Which of the following is not true about .Net structure?
(a) structures are value types
(b) structures use new keyword upon instantiation
(c) structures can have events as member
(d) structures are reference types.
Q. using or Imports statement
(a) allows references to members of a namespace without using the fully
qualified name
(b) use to reference an external library
(c) both a and b
(d) none of the above

Q. Content of assembly can be viewed using
(a) ILDASM.exe
(b) ILDASM.dll
(c) ILDASM.inc
(d) ILDASM.aspx

Q. Types supported by CTS
(a) Value type
(b) Refernce types
(c) A or B Both
(d) Value tips

Q. What is CTS in .NET?
(a) Defines rules concerning data types
(b) Defines a set of rules for all compilers to generate manage code for
.NET
(c) Defines a set of rules for all compilers to generate manage code for
.NET
(d) None of the above


Q. Which of the following is not a .NET compatible language?
(a) C#
(b) J#
(c) VB.NET
(d) Java




Set 2
Q. File extension used for ASP.NET files.
(a).Web
(b) .ASP
(c) ASPX
(d) None of the above


Q. What is used to validate complex string patterns like an e-mail
address?
(a) Extended expressions
(b) Basic expressions
(c) Irregular expressions
(d) Regular expressions


Q. Caching type supported by ASP.Net
(a) Output Caching
(b) DataCaching
(c) a and b
(d) none of the above


Q. Attribute must be set on a validator control for the validation to
work.
(a) ControlToValidate
(b) ControlToBind
(c) ValidateControl
(d) non of the above

Q. We can manage states in asp.net application using
(a) Session Objects
(b) Application Objects
(c) Viewstate
(d) All of the above


Q. What class does the ASP.NET Web Form class inherit from by
default?
(a) System.Web.UI.Page
(b) System.Web.Form
(c) System.Web.GUI.Page
(d) System.Web.UI.Form

Q. Which of the following tool is used to manage the GAC?
(a) RegSvr.exe
(b) GacUtil.exe
(c) GacMgr.exe
(d) GacSvr32.exe

Q. How do we create a FileSystemObject?
(a) Server.CreateObject("Scripting.FileSystemObject")
(b) Create("FileSystemObject")
(c) Server.CreateObject("FileSystemObject")
(d) Create Object:"Scripting.FileSystemObject"


Q. Which of the following method must be overridden in a custom
control?
(a) The Render() method
(b) The Paint() method
(c) The default constructor
(d) The Control_Build() method


Q. Difference between Response.Write()
andResponse.Output.Write().
(a) Response.Output.Write() allows you to flush output
(b) Response.Output.Write() allows you to stream output
(c) Response.Output.Write() allows you to write formatted output
(d) Response.Output.Write() allows you to buffer output

Q. The first event triggers in an aspx page is.
(a) Page_Init()
(b) Page_Load()
(c) Page_click()
(d) Page_Init()

Q. Which of the following object is not an ASP component?
(a) LinkCounter
(b) Counter
(c) File Access
(d) AdRotator


Q. Web.config file is used...
(a) Configures the time that the server-side codebehind module is called
(b) To store the global information and variable definitions for the
application
(c) To configure the web server
(d) To configure the web browser

Q. Choose the form in which Postback occurs.
(a) HTMLForms
(b) Winforms
(c) Webforms
(d) none of the above

Q. Which of the following components of the .NET framework
provide an extensible set of classes that can be used by any .NET
compliant programming language?
(a) NET class libraries
(b) Common Language Runtime
(c) Common Language Infrastructure
(d) Component Object Model


Q. Which of the following statements is correct about Managed
Code?
(a) Managed code is the code that is compiled by the JIT compilers
(b) Managed code is the code where resources are Garbage Collected
(c) Managed code is the code that can run on top of Linux.
(d) Managed code is the code that is written to target the services of the
CLR.

Q. Which of the following is the tool to modify configuration files?
(a) Mscorcfg.msc
(b) Caspol.exe
(c) a and b
(d) IIASM.exe

Q. What are the configuration files used by the .Net Framework?
(a) Machine configuration, Machine.config file
(b) Application configuration file
(c) Security configuration file
(d) All of the above


Q. Which of the following is not the content of the assembly
manifest?
(a) Version number
(b) Strong name
(c) Culture
(d) Assembly source code

Q. __________ contains information about the assembly and the
resources that it depends on
(a) MSIL
(b) Assembly manifest
(c) GAC
(d) Type metadata


Set 3
Q. What is not true about SOAP?
(a) SOAP originally meant Simple Object Access Protocol.
(b) SOAP was defined as an XML-based standard for providing remote
procedure calls over the Internet.
(c) SOAP now is just a name, not an acronym
(d) SOAP was an early form of XML


Q. The most popular way to materialize XML documents is to use:
(a) DTD
(b) HTML
(c) XSLT
(d) SOAP


Q. Which of the following statements is not true about XML
Schemas:
(a) They are used to define the content and structure of data.
(b) They define a set of symbols and the relationships of those symbols
(c) They are themselves XML documents.
(d) They have their own syntax.


Q. What standard, protocol or language was generalized to
become a standard protocol for sending messages of any type,
using any protocol?
(a) SOAP
(b) SGML
(c) SQL
(d) ADO

Q. Which type is best suited for public internet web application?
(a) Windows authentication
(b) Passport authentication
(c) Anonymous
(d) Both are wrong


Q. Which authentication type OS best suited for multiple
commercial web application?
(a) Passport
(b) Forms
(c) Windows
(d) Anonymous


Q. Which one of the authentication way identifies and authorizes
users based on the servers user list?
(a) Windows authentication
(b) Forms authentication
(c) Passport authentication
(d) Both are true

Q. ________________ is the process of assigning a user account
to an unknown user.
(a) Impersonation
(b) Authorization
(c) Authentication
(d) both are wrong


Q. Which of the following is the process of granting access to the
users based on identity?
(a) Authentication
(b) Authorization
(c) Impersonation
(d) both are wrong


Q. Which ASP.NET performance counter is the best indicator of
inefficient caching?
(a) Turnover rate performance counter
(b) Misses cache counter
(c) Hits cache counter
(d) Entries cache counter

Q. Which of the following is used to detect when cached data is
about to be unloaded from memory?
(a) OnRemoveCallback directive
(b) OutputCache directive
(c) Alerts snap-in
(d) VaryByParam attribute

Q. Which of the following is used to monitor an applications use of
the cache?
(a) Alerts snap-in
(b) MMC performance logs
(c) Both Alerts snap-in and MMC performance logs are used
(d) both are wrong

Q. Which of the following is used to cache multiple responses for
web form based on different control selections?
(a) Output cache directive
(b) OnRemoveCallback delegate
(c) VaryByParam attribute
(d) none of the above

Q. Caching improves web application performance by storing
responses to frequent requests in memory but caching an item
incurs considerable overhead.
(a) True
(b) False
(c) none of the above
(d) both are true


Q. Default scripting language in ASP.
(a) EcmaScript
(b) JavaScript
(c) PERL
(d) VBScript


Q. Default Session data is stored in ASP.Net.
(a) StateServer
(b) Session Object
(c) InProcess
(d) all of the above

Q. Which DLL translate XML to SQL in IIS?
(a) SQLISAPI.dll
(b) SQLXML.dll
(c) LISXML.dll
(d) SQLIIS.dll


Q. Which of the following is not a member of ADODBCommand
object?
(a) ExecuteScalar
(b) ExecuteStream
(c) Open
(d) ExecuteReader


Q. Why is Global.asax is used?
(a) Declare Global variables
(b) No use
(c) Implement application and session level events
(d) none of the above


Q. An alternative way of displaying text on web page using
(a) asp:label
(b) asp:listitem
(c) asp:button
(d) none of the above


Set 4
Q. In OLE DB, a service provider:
(a) does not own data only
(b) transforms data through OLE DB interfaces only.
(c) is both a consumer and a provider of data only.
(d) All of the above are true of an OLE DB service provider.
Q. ________ is an object-oriented interface that encapsulates
data-server functionality.
(a) ODBC
(b) OLE DB
(c) JPCD
(d) ADO
Q. In OLE DB, actions that an object can perform are called:
(a) properties.
(b) collections.
(c) methods.
(d) abstractions.

Q. Which of the following are goals of OLE DB?
(a) Create object interfaces for DBMS functionality pieces only.
(b) Increase flexibility only.
(c) Object interface over any type of data only
(d) All of the above as goals of OLE DB

Q. _______ is considered to be one of the foundations of data
access in the Microsoft world.
(a) ODBC
(b) OLE DB
(c) ADO
(d) JPCD


Q. ADO.NET provides the ability to create and process in-memory
databases called:
(a) views.
(b) relations.
(c) tables.
(d) datasets.


Q. Which of the following is the method provided by the DataSet
object to generate XML?
(a) ReadXML
(b) WriteXML
(c) GetXML
(d) All of above

Q. Which of the following is not the method of DataAdapter?
(a) Fill
(b) FillSchema
(c) ReadData
(d) Update


Q. Which of the following is the event that is exposed by the
DataTable object?
(a) RowChanged
(b) ColumnChanged
(c) RowChanging
(d) All of above

Q. Which of the following method of the command object is best
suited when you have aggregate functions in a SELECT statement?
(a) ExecuteScalar
(b) ExecuteReader
(c) ExecuteNonQuery
(d) Both are wrong


Q. Which of the following is not true for ADO.NET DataSet?
(a) DataSet provides a disconnected view of a data source.
(b) Dataset enables to store data from multiple tables and multiple sources
(c) We can create relationship between the tables in a DataSet
(d) All of above are true


Q. When you create a relationship between tables in ADO.NET
DataSet
(a) UniqueConstraint is added to the parent table
(b) a ForeignKeyConstraint is added to the child table by defaul
(c) Both a and b
(d) Both are wrong


Q. DataAdapter object populates a DataSet and resolves updates
with the data source. Yes or No?
(a) Yes
(b) No
(c) Both are true
(d) Both are wrong

Q. Which of the following is the object of .NET data provider?
(a) Connection
(b) Command
(c) Data Reader
(d) All of above


Q. Which of the following illustrates the benefit of ADO.NET?
(a) Interoperability
(b) It uses DataSet to represent data in memory that can store data from
multiple tables and multiple sources
(c) Disconnected data access
(d) All of above


Q. Which of the following is not true about ADO.NET?
(a) ADO.NET enables to create distributed data sharing applications
(b) ADO.NET uses XML to transfer data across applications and data
source
(c) ADO.NET doesn't support disconnected architecture
(d) The classes of ADO.NET are defined in the System.Data namespace

Q. What is not true about XML?
(a) Web page display is the most important application of XML.
(b) With XML, there is a clear separation between document structure,
content and materialization
(c) XML is more powerful than HTML.
(d) XML documents have two sections.


Q. HTML is an application of a more robust document markup
language called:
(a) XHTML.
(b) XML.
(c) SGML.
(d) None of the above is correct.

Anda mungkin juga menyukai