A.it
is less efficient than string concatenation when many concatenation are performed
B.There is a method which formats the string being appended to the stringBuilder, much like the string format
C.The StringBuilder is most efficient when initialized using the parameterless constructor
D.All of the above
E.None of the Above.
Ans:B
B.There is a method which formats the string being appended to the stringBuilder, much like the string format
C.The StringBuilder is most efficient when initialized using the parameterless constructor
D.All of the above
E.None of the Above.
Ans:B
A.it
uses a connected provider model
B.it uses a Disconnected provider Model
C.it includes a dataAdapter class, which provides a high-performance mechanism for retrieving data
D.system.data.common provides classes that are database agnostic
Ans:A&B
B.it uses a Disconnected provider Model
C.it includes a dataAdapter class, which provides a high-performance mechanism for retrieving data
D.system.data.common provides classes that are database agnostic
Ans:A&B
98.which of the
following mechanisma are not suitable for returning a single row froma
datatablecontaining a large number of records?
A.Datatable.rows.find
(Correct)
B.Datatable.rows.select
C.Datatable.select
D.Enumerating across datatable.rows
Ans:A
B.Datatable.rows.select
C.Datatable.select
D.Enumerating across datatable.rows
Ans:A
A.They
can be dervied from any reference type
B.Two anonymous types with the same named parameters in the same order declared in differentclassed have the same type
C.Anonymous types can have methods
D.All properties of an anonymous types are read/write
E.Anonymous types cannot cross method boundaries
Ans:A
B.Two anonymous types with the same named parameters in the same order declared in differentclassed have the same type
C.Anonymous types can have methods
D.All properties of an anonymous types are read/write
E.Anonymous types cannot cross method boundaries
Ans:A
A.There
is no supported application level means to determine if a specfic amount of
memoryis available
B.using static methods of system.runtime.memoryfailpoint and checking the return value
C.creating an instance of system.runtime.memoryfailpoint and monitoring for an insuffcientMemoryException
D.Creating an instance of system.runtime.memoryfailpoint and monitoring for an outofmemoryException
Ans:C
B.using static methods of system.runtime.memoryfailpoint and checking the return value
C.creating an instance of system.runtime.memoryfailpoint and monitoring for an insuffcientMemoryException
D.Creating an instance of system.runtime.memoryfailpoint and monitoring for an outofmemoryException
Ans:C
95.Which of the
follwoing elements can be adjusted when using the processModel element of the
Machine.Config File ?
A.The
number of queued requests befoer returning "Server Busy (error: 503)"
B.The maximum number of threads per processor
C.The maximum number of threads per request
D.The Maximum amount of memory utilized per request
Ans:D
B.The maximum number of threads per processor
C.The maximum number of threads per request
D.The Maximum amount of memory utilized per request
Ans:D
94.with Which class
is the task of mapping a specfic point in time into units such as weeks, months
and year accomplished?
A.System.datetime
B.System.timeSpan
C.System.Globalization.Calender
D.System.Globalization.CultureInfo
Ans:A
B.System.timeSpan
C.System.Globalization.Calender
D.System.Globalization.CultureInfo
Ans:A
A.Examining
the user languages property of the current request object
B.Examining the currentCulture property of the current request object
C.Examining the CurrentCulture property of the current thread Object
D.Examining the language property of the current page object
Ans:C
B.Examining the currentCulture property of the current request object
C.Examining the CurrentCulture property of the current thread Object
D.Examining the language property of the current page object
Ans:C
91. You and a
friend from college, who works at a company across town, get together for
dinner. You explain that you are in the middle of a VB 6-to-VB.NET migration
and indicate that it is a bit of a challenge. Your friend says, "You
should've just migrated to C#. It's cheaper and easier." Is your friend
right?
A.Yes
B.No
Ans:B
B.No
Ans:B
A.They
must be declared static
B.They can be declared either static or instance members
C.they must be declares in the same assembly(but may be in different sources files)
D.Extension methods can be used to override existing instance methods
Ans:A&D
B.They can be declared either static or instance members
C.they must be declares in the same assembly(but may be in different sources files)
D.Extension methods can be used to override existing instance methods
Ans:A&D
89. Data query building
can sometimes be a bone of contention for VB 6 developers, since it involves
SQL or XQuery. Microsoft is introducing a series of changes to the .NET
Framework, such as a unified programming model for querying objects, databases
and XML, that should make data queries much easier. What is the name for this
set of technologies?
A.Rosario
B.Orcas
C.Yukon
D.LINQ
Ans:D
B.Orcas
C.Yukon
D.LINQ
Ans:D
90. When Visual
Studio 2005 and SQL Server 2005 were introduced to the world, Microsoft decided
to revamp its certification process. Once Windows Vista is released, the titles
of Microsoft Certified Professional (MCP), Microsoft Certified Application
Developer (MCAD), and Microsoft Certified Solution Developer (MCSD) will no
longer apply. Which of the following titles is NOT a category in Microsoft's
new three-tiered certification framework?
A.Microsoft Certified Application Developer
B.Microsoft Certified Technology Specialist
C.Microsoft Certified Architect
D.Microsoft Certified IT Professional
Ans:A
B.Microsoft Certified Technology Specialist
C.Microsoft Certified Architect
D.Microsoft Certified IT Professional
Ans:A
88.As expected,
Visual Basic 2005 comes with lots and lots of improvements over VB 6 and VB
2003. Which of the following is NOT out-of-the-box functionality in Visual
Basic 2005?
A.Refactoring
B.Debugger ToolTips
C.Code snippets
D.Snap lines for graphical form-building
Ans:A
B.Debugger ToolTips
C.Code snippets
D.Snap lines for graphical form-building
Ans:A
87.This programming
language model is used sparingly in VB 6 but is one of the cornerstones of
VB.NET. Knowing the ins and outs of it will make an application migration
project easier and also prepare you for additional work in VB.NET. What is the
model?
A.Modular
programming
B.Aspect-oriented programming
C.Object-oriented programming
D.Reflective programming
Ans:C
B.Aspect-oriented programming
C.Object-oriented programming
D.Reflective programming
Ans:C
86. Which of the
following is the LEAST compelling reason to migrate an application from Visual
Basic 6 to Visual Basic .NET?
A.You
want to take advantage of ASP.NET features such as its caching abilities.
B.The application relies heavily on third-party controls or dynamic link libraries (DLLs).
C.The application's original developers were new to Visual Basic and/or used some "out of the box" development approaches.
D.Your company's business processes do not change all that often.
Ans:D
B.The application relies heavily on third-party controls or dynamic link libraries (DLLs).
C.The application's original developers were new to Visual Basic and/or used some "out of the box" development approaches.
D.Your company's business processes do not change all that often.
Ans:D
A.Yes,
in all cases.
B.Yes, in some cases.
C.No, not at all.
Ans:C
B.Yes, in some cases.
C.No, not at all.
Ans:C
84. True or False:
The Visual Basic Upgrade Wizard will convert all the code in your VB 6
application to VB.NET code for you?
A.True
B.False
Ans:B
B.False
Ans:B
83.Some bits of a
Visual Basic 6 application, like most APIs, can be easily migrated to VB.NET;
other parts are not so straightforward. Which of the following will NOT have to
be re-architected during a VB 6-to-VB.NET migration?
A.DHTML
pages
B.ActiveX documents
C.OLE controls
D.ADO to ADO via Interop
Ans:D
B.ActiveX documents
C.OLE controls
D.ADO to ADO via Interop
Ans:D
A.Yes
B.No
C.Not always
D.None of these
ANS:A
B.No
C.Not always
D.None of these
ANS:A
82.If you know you
want to migrate your Visual Basic 6 application to VB.NET, what is the first
thing you should do?
A.Open
the Visual Basic Upgrade Wizard, get a cup of coffee and watch it run.
B.Assess the VB 6 application; find out what controls it uses, what projects are in there and so on.
C.Cancel all social plans for the next couple months and start rewriting the app in .NET.
D.Schedule meetings with end users to see what features they want to add to the app.
Ans:B
B.Assess the VB 6 application; find out what controls it uses, what projects are in there and so on.
C.Cancel all social plans for the next couple months and start rewriting the app in .NET.
D.Schedule meetings with end users to see what features they want to add to the app.
Ans:B
A.With
OPTION STRICT ON keyword
B.With OPTION EXPICIT Keyword
C.With OPTION STRICT OFF keyword
D.All the above
ANS:A
B.With OPTION EXPICIT Keyword
C.With OPTION STRICT OFF keyword
D.All the above
ANS:A
A.Create
a method and name it with the same name as class name
B.Create a method and which is named as New
C.Create a method and which is named as Initialize
D.None of the above
ANS:B
B.Create a method and which is named as New
C.Create a method and which is named as Initialize
D.None of the above
ANS:B
A.By
setting the object to Null
B.With Close keyword
C.By setting the object to Nothing
D.None of the above
ANS:C
B.With Close keyword
C.By setting the object to Nothing
D.None of the above
ANS:C
A.Using
NEW keyword
B.Using CREATEOBJECT keyword
C.Using GETOBJECT keyword
D.Both A & B
ANS:A
B.Using CREATEOBJECT keyword
C.Using GETOBJECT keyword
D.Both A & B
ANS:A
A.Using
B.Package
C.Imports
D.None of the above
ANS:C
B.Package
C.Imports
D.None of the above
ANS:C
A.My.Computer.CurrentFolder
B.My.Application.CurrentFolder
C.My.System.CurrentFolder
D.All the above
ANS:B
B.My.Application.CurrentFolder
C.My.System.CurrentFolder
D.All the above
ANS:B
A.Applog.Log
B.Application.Log
C.assemblyname.log
D.None of these
ANS:C
B.Application.Log
C.assemblyname.log
D.None of these
ANS:C
A.AssemblyInfo
B.manifest
C.AssemblyData
D.None of these
ANS:B
B.manifest
C.AssemblyData
D.None of these
ANS:B
A.System.FileObjects
B.System.FileSystem
C.System.IO
D.System.Input/Output
ANS:C
B.System.FileSystem
C.System.IO
D.System.Input/Output
ANS:C
A.A
field always has Get and Set Methods
B.A property always has Get and Set Methods
C.Both 1 and 2
D.None of the above
ANS:B
B.A property always has Get and Set Methods
C.Both 1 and 2
D.None of the above
ANS:B
A.VB.NET
B.C#
C.Both of them will run equally fast.
D.None of these
ANS:B
B.C#
C.Both of them will run equally fast.
D.None of these
ANS:B
A.ildasm
B.clr
C.ilasm
D.All the above
ANS:C
B.clr
C.ilasm
D.All the above
ANS:C
A.IL
Code
B.Native code
C.Byte Code
D.None of these
ANS:A
B.Native code
C.Byte Code
D.None of these
ANS:A
A.No,
a toolbar can only display images
B.No, a toolbar can only display text
C.Yes, a toolbar can display text, images, or both.
D.None of these
ANS:C
B.No, a toolbar can only display text
C.Yes, a toolbar can display text, images, or both.
D.None of these
ANS:C
A.Only
Toolbar control
B.ImageList and Toolbar control
C.Both 1 and 2
D.All the above
ANS:B
B.ImageList and Toolbar control
C.Both 1 and 2
D.All the above
ANS:B
65.This programming
language model is used sparingly in VB 6 but is one of the cornerstones of
VB.NET. Knowing the ins and outs of it will make an application migration
project easier and also prepare you for additional work in VB.NET. What is the
model ?
A.Modular
programming
B.Aspect-oriented programming
C.Reflective programming
D.Object-oriented programming
ANS:D
B.Aspect-oriented programming
C.Reflective programming
D.Object-oriented programming
ANS:D
64.The Visual Basic
Upgrade Wizard will convert all the code in your VB 6 application to VB.NET
code for you?
A.False
B.True
C.Not always
D.Can't say
ANS:A
B.True
C.Not always
D.Can't say
ANS:A
63. Some bits of a
Visual Basic 6 application, like most APIs, can be easily migrated to VB.NET;
other parts are not so straightforward. Which of the following will NOT have to
be re-architected during a VB 6-to-VB.NET migration ?
A.DHTML pages
B.ADO to ADO via Interop
C.ActiveX documents
D.OLE controls
ANS:B
B.ADO to ADO via Interop
C.ActiveX documents
D.OLE controls
ANS:B
62. If you know
want to migrate your Visual Basic 6 application to VB.NET, what is the first
thing you should do ?
A.Schedule meetings with end users to see what features they want
to add to the app.
B.Open the Visual Basic Upgrade Wizard, get a cup of coffee and watch it run.
C.Assess the VB 6 application; find out what controls it uses, what projects are in there and so on.
D.Cancel all social plans for the next couple months and start rewriting the app in .NET.
ANS:C
B.Open the Visual Basic Upgrade Wizard, get a cup of coffee and watch it run.
C.Assess the VB 6 application; find out what controls it uses, what projects are in there and so on.
D.Cancel all social plans for the next couple months and start rewriting the app in .NET.
ANS:C
A. True
B. False
Ans:A
A. Assert( )
B. Open()
C. Flush( )
Ans:B
A. True
B. False
Ans:A
A. Parent
B. MyBase
C. Super
Ans:B
A. Me
B. This
C. Super
Ans:A
A. Add keyword to Method signature
B. Add [WebMethod] on top of the Method Signature
C. Add {WebMethod} on top of the Method Signature
Ans:A
A. Regsvr32
B. Regasm
C. ILDASM
D. Regedit
Ans:B
A. Showdialog( )
B. Activate ( )
C. Loaddialog()
D. Show( )
Ans:A
A. Connection
B. Command
C. DataReader
Ans:B
A. Data Set
B. Typed Data Set
C. DataReader
Ans:C
A. DataReader
B. Dataset
C. DataAdapter
Ans:B
A. Loadxml ( )
B. Load( )
C. Save ( )
Ans:A
A. System.Runtime.Interopservices
B. System.XML
C. System. Data
Ans:A
A. Using Inherits Keyword
B. Private interfaces can not be implemented
C. Using Implements Keyword
Ans:B
A. Using Inherits Keyword
B. Private interfaces can not be implemented
C. Using Implements Keyword
Ans:B
A. Directly invoking the method name
B. Invoking the method through the instance of that class
C. None of the above
Ans:B
A. Idestructor
B. Icleanup
C. Idisposable
Ans:B
A. Class_Load
B. Class_Terminate
C. Class_Initialize
Ans:C
A. Using Only Get..EndGet with in property definition
B. Using Only Set..EndSet with in property definition
C. Using both Get and Set
Ans:A
A. Exit
B. Close Sub
C. Exit Sub
D. Kill
Ans: C
A. Constructors
B. Interrogative methods
C. Imperative methods
Ans: B
A. Private
B. Protected
C. Friend
D. Global
Ans:A
A. ArrayList
B. Queue
C. DictionaryList
D. Stack
Ans:C
A.
Specifies that any variable name is declared (with type) before use
B. Specifies whether strings should be compared as binary
C. Specifies that variables should be initialized before use
Ans:A
B. Specifies whether strings should be compared as binary
C. Specifies that variables should be initialized before use
Ans:A
A. Value Type
B. Reference Type
C. None
Ans:A
A. System .Object
B. System .Type
C. System .Data
Ans:A
A. .config
B. .vb
C. .cs
Ans: B
A. True
B. False
Ans: A
A. One
B. Two
C. Three
Ans:B
33. Which of the
following namespaces is used to access "computer name" and its IP
address in VB.NET?
A. System.NET.DNS
B. System.Diagnostics.Process
C. System.Data.Common
D. None of the Above
Ans:A
A. Process
B. Application
C. Exe
D. Execute
Ans:A
A. .NET Compact Framework
B. .NET Small Framework
C. .NET Smartclient Framwork
Ans:A
A. By setting the object to Null
B. By setting the object to Nothing
C. With Close keyword
D. None of the above
Ans:B
A. Public
B. Private
C. Friend
D. Protected
E. Protected Friend
Ans:C
A. IsDdNull( )
B. IsEmpty( )
C. ISNull( )
Ans:A
A. Trace
B. Debug
C. Listeners
D. None
Ans:C
A. True
B. False
Ans:A
A. Used to call any procedure
B. Used to call the procedure through Delegate variable
C. Both
D. None
Ans:B
A. System.XML
B. System.Assembler
C. System.Reflection
D. System.IO
Ans:C
A. Dim statement is used to create a variable that represents a value type
B. Data associated with a value type is allocated on the stack
C. Reference types must be instantiated after declaration
D. Data associated with a reference type is allocated on the stack
Ans:D
A. -1
B. 0
C. 2
D. 3
Ans:B
A. CLR
B. Assembly
C.Namespace
D. None of the Above
Ans:B
20. Which of the
following namespace provides support for obtaining information and dynamic
creation of types at runtime?
A. System.IO
B. System.ComponentModel
C. System.Reflection
D. System.Data
Ans:D
A. VB Allows non-type template parameters
B. VB supports explicit specialization
C. VB allows the type parameters to be used as the base class for the generic type
D. VB allows a generic type parameter itself to to be a generic
E. VB enforces that all codes are valid for all types of parametrs
Ans: E
A. Public
B. Private
C. Friend
D. Protected
Ans:A
A. Shared members belong to the type but not to any instance of a type
B. They can be accessed without creating an instance of the type.
C. They can be accessed using the type name
D. They are accessed using instance name
Ans:D
A. PictureBox
B. LablControl
C. ListBox
D. TabControl control
Ans:A
A. Command
B. Connection
C. DataReader
Ans:A
A. GroupBox
B. TabPage
C. Panel
D. All of the above
Ans:D
A.
BitArray
B. Enum
C. Queue
D. Stack
Ans:B
B. Enum
C. Queue
D. Stack
Ans:B
A. A delegate is a strongly type function pointer
B. It is a type-safe function pointer
C. Delegates are used to create associations between events and event handlers in VB.NET
D. All of the above statements are correct for a delegate
Ans:D
A.Yes
B. No
Ans:B
A. Option Strict On
B. Option Strict=1
C. Options Strict True
D. Option Strict off
Ans:A
A.True
B.False
Ans:A
8. The methods
declared with the following modifiers are not accessible out side the current
VB.NET project
A. Public
B. Protected
C. Friend
Ans:C
A. System.Runtime.Interopservices
B. System.XML
C. System. Data
Ans:A
6. ________is used
to step through each line of code as it executes, including calls to other
function?
A.
Step Out
B. Step Over
C. Step Into
D. Run to Cursor
E. Set Next Statement
Ans:C
B. Step Over
C. Step Into
D. Run to Cursor
E. Set Next Statement
Ans:C
A. Assert( )
B. Flush( )
C. Open( )
Ans:C
A. Role-based security
B. Code-based security
Ans:B
3. Which of the
following is the best to retrieve Read-Only, Forward-only stream of data from
database?
A.Data Set
B.Typed Data Set
C.DataReader
Ans:C
A.True
B.False
Ans:A
A.
Files
B. Identity
C. Security Permissions
D. All of the above
Ans:D
B. Identity
C. Security Permissions
D. All of the above
Ans:D
---------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------
A.The
Params and Forms collection of the HTTPRequest class are exactly same and
theForms collection has been provided only for
backward compatibility
B.The HTTPRequest class does include the Params collection
C.The HTTPRequest class does include the Forms collection
D.The difference between the Params and Forms collection of the HTTPRequest class is that the Params collection also represents QueryStrings, ServerVariables, andCookies
Ans:D
B.The HTTPRequest class does include the Params collection
C.The HTTPRequest class does include the Forms collection
D.The difference between the Params and Forms collection of the HTTPRequest class is that the Params collection also represents QueryStrings, ServerVariables, andCookies
Ans:D
Q. In a ASP.NET page, which is the best way to find if the
contents of a TextBox has changed after the form containing the TextBox has
been posted back to the server
A.By
comparing the old value with the new value
B.By checking the NewValue property of the TextBox control
C.By handling the TextBox control's TextChanged event
D.By checking the HasChanged property of the TextBox
Ans:C
B.By checking the NewValue property of the TextBox control
C.By handling the TextBox control's TextChanged event
D.By checking the HasChanged property of the TextBox
Ans:C
A.EnableViewState
B.MaintainValue
C.SaveValue
D.AutoPostBack
Ans:A
B.MaintainValue
C.SaveValue
D.AutoPostBack
Ans:A
A.
GET
B. POST
C. SOAP
D. SMTP
Ans:B
B. POST
C. SOAP
D. SMTP
Ans:B
Q. When you have a complex control, like DataGrid, writing
an event processing routine for each object (cell, button, row, etc.) is quite
tedious. The controls can ______ their eventhandlers, allowing the main
DataGrid event handler to take care of its constituents.
A.
invoke event
B.raise event
C. bubble event
D.instantiate event
Ans:C
B.raise event
C. bubble event
D.instantiate event
Ans:C
Q. You need to store state data that is accessible to any
user who connects to your Web application. Which object should you use?
A.
Session
B. Application
C. Response.Cookies
D. Response.ViewState
Ans: B
B. Application
C. Response.Cookies
D. Response.ViewState
Ans: B
A. Application Object
B. Session Object
C. Response Object
D. Request Object
Ans: B
Q. You are developing a web application that is retrieving
historical library information from database server and displays it to the
users of your application. What cache strategy will give you the best
performance?
A.
Use the output cache
B. Use a cache object
C. Use the ASP.NET central cache
D. Use the client cache
Ans: B
B. Use a cache object
C. Use the ASP.NET central cache
D. Use the client cache
Ans: B
A.
Infinite
B. 0 seconds
C. None of these
Ans:B
B. 0 seconds
C. None of these
Ans:B
A.
Inproc
B. StateServer
C. SQLServer
D. None
B. StateServer
C. SQLServer
D. None
Ans:A
Q. While writing code in Visual Studio 2005 you creates a
new instance of a ASP.NET TextBox server control, what do you need to do to get
the TextBox to display on the Web page?
A. Call the ShowControl method on the TextBox.
B. Set the VisibleControl to true on the TextBox.
C. Add the TextBox instance to the form1.Controls collection.
D. Execute the AddControl method on the Web page.
Ans:C.
Q. In the Design view in Visual Studio 2005 of an ASP.NET
web page, what is the easiest way to create an event handler for the default
event of a ASP.NET server control?
A. Open the code-behind page and write the code.
B. Right-click the control and select Create Handler.
C. Drag an event handler from the ToolBox to the desired control.
D. Double-click the control.
Ans: D
A. Include the authentication element.
B. Include the authorization element.
C. Include the identity element.
D. Include the deny element.
Ans: B.
Q. While developing ASP.NET 2.0 web application you want to
display a list of parts in a master/detail scenario where the user can select a
part number using a list that takes a minimum amount of space on the Web page.
When the part is selected, a DetailsView control displays all the information
about the part and allows the user to edit the part. Which Web control is the
best choice to display the part number list for this scenario?
A. The DropDownList control
B.The RadioButtonList control
C.The FormView control
D.The TextBox control
Ans: A
Q.While developing ASP.NET 2.0 web application you have a
DataSet containing a Customer DataTable and an Order DataTable. You want to
easily navigate from an Order DataRow to the Customer who placed the order.
What object will allow you to easily navigate from the Order to the Customer?
A. The DataColumn object
B. The DataTable object
C. The DataRow object
D. The DataRelation object
Ans: D
Q. In your ASP.NET web application you want to display a
list of clients on a Web page. The client list displays 10 clients at a time,
and you require the ability to edit the clients. Which Web control is the best
choice for this scenario?
A. The DetailsView control
B.The Table control
C.The GridView control
D.The FormView control
Ans: C
Q. You are writing ASP.NET 2.0 Web site that collects lots
of data from users, and the data collection forms spreads over multiple ASP.NET
Web pages. When the user reaches the last page, you need to gather all of data,
validate the data, and save the data to the SQL Server database. You have
noticed that it can be rather difficult to gather the data that is spread over
multiple pages and you want to simplify this application. What is the easiest
control to implement that can be used to collect the data on a single Web page?
A. The View control
B.The TextBox control
C.The Wizard control
D.The DataCollection control
Ans: C
A. BeginExecute=true
B.MultiThreaded=true
C.MultipleActiveResultSets=true
D.Asynchronous=true
Ans: D
Q. For separating server-side code from client-side code on
a ASP.NET page, what programming model should you use?
A. Separation model
B.Code-Behind model
C.In-Line model
D.ClientServer model
Ans: B
Q. What is the name of the property of ASP.NET page that you
can query to determine that a ASP.NET page is being requested not data being
submitted to web server?
A.FirstGet
B.Initialized
C.IncludesData
D.IsPostBack
Ans: D
A. Page_Init
B.Page_Load
C.Control events
D.Page_Unload events
Ans: B
A. Config files
B.Database text file
C. session
Ans: A
A. Anonymous
B.Basic
C.Digest
D.Integrated Windows authentication
Ans: A and D
A. aspnet_isapi.dll
B. aspnet_wp.exe
C. inetinfo.exe
Ans: C
A. boolean
B. int
C. object
D. string
Ans: A
A.ISerializable
B.ISingleCall
C. IUnknown
D.IMarshalByValue
Ans: A
Q. ________ method(s) are used with Application object to
ensure only one process accesses a variable at a time.
A. Synchronize
B. ThreadLock
C. Sychronize()
D. Lock() and UnLock()
Ans: D
A. Satellite
B. Shared
C. Hub
D. localized
Ans: A
A. Server object
B. Request object
C. Response object
D. Session object
Ans: D
A.
When application is running low of memory
B. It runs random
C. When application is running for more than 15 minutes
D. None of the above
B. It runs random
C. When application is running for more than 15 minutes
D. None of the above
Ans: A
A. Concat method of the String object
B. Append method of the StringBuilder object
C. Plus sign operator to concatenate the strings
D. Substring method of the String object
Ans: B
A. System.Web.Control
B. System.Web.RootBuilder
C. System.Web.UserControl
D. System.Web.UI.Page
Ans: D
A. PreRender()
B. Load()
C. Unload()
D. Init()
Ans: D
A. Performance Counters
B. Data Performance Counters
C. Web Performance Counters
D. Data Readers
Ans: A
A. ValidationExpression
B. InitialValue
C. ValueToCompare
D. ControlToCompare
E. ControlToValidate
Ans: E
A. Window class
B. Web class
C. Form class
D. Page class
Ans: D
A. Page_Load
B. Event Handling
C. Page_Init
D. Validate
E. Page_Unload
Ans: E
A. Cookies
B. Cache
C. Database
D. Global variable
Ans: A
Q. Which of the following is used to cache multiple
responses for a single web form based on HTTP POST parameter or query string?
A. VaryByParams
B. VaryByHeaders
C. SetCacheability
D. SetVaryByCustom
Ans: A
A. Regression tests
B. Integration tests
C. Unit tests
D. Load test
Ans: B
A. Yes
B. No
Ans: A
A. DLLImport Attributes
B. ComVisible attributes
C. COM Interop
D. All
Ans: B
A. Windows
B. Form
C. User
D. All
Ans: A
A. < credential>
B. < authorization>
C. < Identity>
D. < authentication>
Ans: A
A. < Credential>
B. < authorization>
C. < identity>
D. < authentiation>
Ans: B
Q. The _____ property affects how the .Net Framework handles
dates, currencies, sorting and formatting issues.
A. CurrentUICulture
B. CurrentCulture
Ans: B
A. MMC Event viewers
B. Performance logs
C. Alerts Snap-ins
D. ALL
Ans: D
A. SQLDataReader
B. Data Set
Ans: A
A. requestQueue limit
B. maxWorkerThreads
C. maxIdThreads
D. All
Ans: D
A. /bin
B. GAC
C. Root
Ans: B
A. < credential> element
B. < authentication> element
C. < authorization> element
D. < identity> element
Ans: D
A. Yes
B. No
Ans: A
A. View state
B. Cookies
C. Hidden fields
D. Request object
Ans: D
A. InProc
B. StateServer
C. SQL Server
D. All of the above
Ans: D
A. RegularExpressionValidator
B. CompareValidator
C. equals() method
D. RequiredFieldValidator
Ans: B
Q. Which of the following object is used along with
application object in order to ensure that only one process accesses a variable
at a time?
A. Synchronize
B. Synchronize()
C. ThreadLock
D. Lock()
Ans: B
A. Session object
B. Application object
C. Response object
D. Server object
Ans: A
A. Application object
B. Session object
C. Response object
D. Server object
Ans: A
A. Request.QueryString
B. Request.Form
C. Response.write
D. Response.writeln
Ans: B
A. EcmaScript
B. VBScript
C. PERL
D.JavaScript
Ans: B
A. StateServer
B. Session Object
C. InProcess
D. all of the above
Ans: C
A. SQLISAPI.dll
B. SQLXML.dll
C. LISXML.dll
D. SQLIIS.dll
Ans: A
A. ExecuteScalar
B. ExecuteStream
C. Open
D. ExecuteReader
Ans: C
A. Declare Global variables
B. Implement application and session level events
C. No use
Ans:B
A. asp:label
B. asp:listitem
C. asp:button
Ans:A
A. .Web
B. .ASP
C. .ASPX
D. None of the above
Ans:B
A.
Extended expressions
B. Basic expressions
C. Regular expressions
D. Irregular expressions
Ans: C
B. Basic expressions
C. Regular expressions
D. Irregular expressions
Ans: C
A.
Output Caching
B. DataCaching
C. A and B
D. none of the above
Ans: C
B. DataCaching
C. A and B
D. none of the above
Ans: C
A.
ControlToValidate
B. ControlToBind
C. ValidateControl
D. Validate
Ans: A
B. ControlToBind
C. ValidateControl
D. Validate
Ans: A
A.
Session Objects
B. Application Objects
C. Viewstate
D. All of the above
B. Application Objects
C. Viewstate
D. All of the above
Ans: D
A.
System.Web.UI.Page
B. System.Web.UI.Form
C. System.Web.GUI.Page
D. System.Web.Form
B. System.Web.UI.Form
C. System.Web.GUI.Page
D. System.Web.Form
Ans: A
A.
RegSvr.exe
B. GacUtil.exe
C. GacSvr32.exe
D. GacMgr.exe
B. GacUtil.exe
C. GacSvr32.exe
D. GacMgr.exe
Ans: B
A.
Server.CreateObject("Scripting.FileSystemObject")
B. Create("FileSystemObject")
C. Create Object:"Scripting.FileSystemObject"
D. Server.CreateObject("FileSystemObject")
B. Create("FileSystemObject")
C. Create Object:"Scripting.FileSystemObject"
D. Server.CreateObject("FileSystemObject")
Ans:A
A.
The Paint() method
B. The Control_Build() method
C. The default constructor
D.The Render() method
B. The Control_Build() method
C. The default constructor
D.The Render() method
Ans: D
A.
Response.Output.Write() allows you to buffer output
B. Response.Output.Write() allows you to write formatted output
C. Response.Output.Write() allows you to flush output
D. Response.Output.Write() allows you to stream output
B. Response.Output.Write() allows you to write formatted output
C. Response.Output.Write() allows you to flush output
D. Response.Output.Write() allows you to stream output
Ans: B
A.
Page_Init()
B. Page_Load()
C. Page_click()
Ans: A
B. Page_Load()
C. Page_click()
Ans: A
A.
LinkCounter
B. Counter
C. AdRotator
D. File Access
B. Counter
C. AdRotator
D. File Access
Ans: A
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
B. To store the global information and variable definitions for the application
C. To configure the web server
D. To configure the web browser
Ans: B
A.
HTMLForms
B. Webforms
C.Winforms
B. Webforms
C.Winforms
Ans: B
0 comments:
Post a Comment